@alphakits/ui 2.0.10 → 2.0.11
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/filter-tag/index.module.css +1 -1
- package/dist/header-search/component.d.ts +1 -0
- package/dist/header-search/component.js +20 -18
- package/dist/header-search/component.js.map +1 -1
- package/dist/header-search/index.module.css +1 -1
- package/dist/header-search/index.module.css.js +6 -4
- package/dist/header-search/index.module.css.js.map +1 -1
- package/dist/status/index.module.css +1 -1
- package/dist/table/columns.js +1 -1
- package/dist/table/columns.js.map +1 -1
- package/dist/table/components/cell/component.d.ts +1 -0
- package/dist/table/components/cell/component.js +22 -21
- package/dist/table/components/cell/component.js.map +1 -1
- package/dist/table/components/cell/index.module.css +1 -1
- package/dist/table/components/cell/index.module.css.js +14 -12
- package/dist/table/components/cell/index.module.css.js.map +1 -1
- package/dist/table/components/cells/index.d.ts +2 -1
- package/dist/table/components/cells/index.js +19 -18
- package/dist/table/components/cells/index.js.map +1 -1
- package/dist/table/components/cells/index.module.css +1 -1
- package/dist/table/components/cells/index.module.css.js +14 -12
- package/dist/table/components/cells/index.module.css.js.map +1 -1
- package/dist/table/components/pagination/index.d.ts +1 -0
- package/dist/table/components/pagination/index.js +94 -75
- package/dist/table/components/pagination/index.js.map +1 -1
- package/dist/table/components/pagination/index.module.css +1 -1
- package/dist/table/components/pagination/index.module.css.js +24 -18
- package/dist/table/components/pagination/index.module.css.js.map +1 -1
- package/dist/table/components/table-header/index.d.ts +1 -0
- package/dist/table/components/table-header/index.js +45 -43
- package/dist/table/components/table-header/index.js.map +1 -1
- package/dist/table/components/table-header/index.module.css +1 -1
- package/dist/table/components/table-header/index.module.css.js +2 -4
- package/dist/table/components/table-header/index.module.css.js.map +1 -1
- package/dist/table/index.module.css +1 -1
- package/dist/table/index.module.css.js +9 -7
- package/dist/table/index.module.css.js.map +1 -1
- package/dist/table/table.d.ts +3 -1
- package/dist/table/table.js +114 -109
- package/dist/table/table.js.map +1 -1
- package/dist/table/utils/prepare-rows.d.ts +2 -1
- package/dist/table/utils/prepare-rows.js +8 -6
- package/dist/table/utils/prepare-rows.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
.component_1UiS{--filter-tag-tone: var(--color-graphic-accent);--filter-tag-bg: var(--color-bg-primary);--filter-tag-border: color-mix(in srgb, var(--color-border-secondary), transparent 45%);--filter-tag-badge-bg: color-mix(in srgb, var(--filter-tag-tone) 18%, transparent);display:inline-flex;align-items:center;gap:var(--gap-xs);height:36px;padding:0 var(--gap-s);border-radius:var(--radius-s);border:1px solid var(--filter-tag-border);background:var(--filter-tag-bg);color:var(--filter-tag-tone);white-space:nowrap;cursor:pointer;box-sizing:border-box;transition:border-color .15s ease-in-out,background-color .15s ease-in-out,box-shadow .15s ease-in-out}.component_1UiS:hover{background:color-mix(in srgb,var(--filter-tag-bg),var(--filter-tag-tone) 3%)}.label_v7es{font-size:
|
|
1
|
+
.component_1UiS{--filter-tag-tone: var(--color-graphic-accent);--filter-tag-bg: var(--color-bg-primary);--filter-tag-border: color-mix(in srgb, var(--color-border-secondary), transparent 45%);--filter-tag-badge-bg: color-mix(in srgb, var(--filter-tag-tone) 18%, transparent);display:inline-flex;align-items:center;gap:var(--gap-xs);height:36px;padding:0 var(--gap-s);border-radius:var(--radius-s);border:1px solid var(--filter-tag-border);background:var(--filter-tag-bg);color:var(--filter-tag-tone);white-space:nowrap;cursor:pointer;box-sizing:border-box;transition:border-color .15s ease-in-out,background-color .15s ease-in-out,box-shadow .15s ease-in-out}.component_1UiS:hover{background:color-mix(in srgb,var(--filter-tag-bg),var(--filter-tag-tone) 3%)}.label_v7es{font-size:13px;line-height:20px;font-weight:500;letter-spacing:0}.badge_OoFI{background:var(--filter-tag-badge-bg)!important;color:var(--filter-tag-tone)!important;font-weight:600}.active_psQR{--filter-tag-bg: color-mix(in srgb, var(--filter-tag-tone) 13%, var(--color-bg-primary));--filter-tag-border: color-mix(in srgb, var(--filter-tag-tone) 62%, transparent);--filter-tag-badge-bg: color-mix(in srgb, var(--filter-tag-tone) 23%, transparent);box-shadow:0 0 0 1px color-mix(in srgb,var(--filter-tag-tone) 22%,transparent)}.green_PTzr{--filter-tag-tone: var(--color-graphic-positive)}.orange_UyUe{--filter-tag-tone: var(--color-graphic-attention)}.red_Vd6j{--filter-tag-tone: var(--color-graphic-negative)}.blue_L0Zl{--filter-tag-tone: var(--color-graphic-accent)}.grey_23r0{--filter-tag-tone: var(--color-graphic-secondary)}.teal_nwCD{--filter-tag-tone: var(--color-status-teal)}.purple_LawE{--filter-tag-tone: var(--color-status-purple)}
|
|
@@ -1,36 +1,38 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
|
|
1
|
+
import { jsxs as s, jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import c from "@alphakits/icons/dist/CloseS";
|
|
3
|
+
import a from "@alphakits/icons/dist/SearchM";
|
|
4
|
+
import f from "classnames";
|
|
5
|
+
import { Button as h } from "../button/component.js";
|
|
6
|
+
import r from "./index.module.css.js";
|
|
7
|
+
const _ = ({
|
|
7
8
|
value: t,
|
|
8
|
-
placeholder:
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
placeholder: e,
|
|
10
|
+
v2: n,
|
|
11
|
+
onChange: m,
|
|
12
|
+
onClear: i
|
|
13
|
+
}) => /* @__PURE__ */ s("div", { className: f(r.input, { [r.input_v2]: n }), children: [
|
|
14
|
+
/* @__PURE__ */ o(a, {}),
|
|
13
15
|
/* @__PURE__ */ o(
|
|
14
16
|
"input",
|
|
15
17
|
{
|
|
16
18
|
autoComplete: "none",
|
|
17
19
|
value: t,
|
|
18
|
-
onChange: (
|
|
19
|
-
placeholder:
|
|
20
|
+
onChange: (p) => m(p.target.value),
|
|
21
|
+
placeholder: e,
|
|
20
22
|
type: "text"
|
|
21
23
|
}
|
|
22
24
|
),
|
|
23
25
|
!!(t != null && t.length) && /* @__PURE__ */ o(
|
|
24
|
-
|
|
26
|
+
h,
|
|
25
27
|
{
|
|
26
|
-
className:
|
|
27
|
-
leftAddons: /* @__PURE__ */ o(
|
|
28
|
+
className: r.input_clear_btn,
|
|
29
|
+
leftAddons: /* @__PURE__ */ o(c, {}),
|
|
28
30
|
view: "ghost",
|
|
29
|
-
onClick: () =>
|
|
31
|
+
onClick: () => i()
|
|
30
32
|
}
|
|
31
33
|
)
|
|
32
34
|
] });
|
|
33
35
|
export {
|
|
34
|
-
|
|
36
|
+
_ as HeaderSearch
|
|
35
37
|
};
|
|
36
38
|
//# sourceMappingURL=component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.js","sources":["../../src/header-search/component.tsx"],"sourcesContent":["import React from 'react';\nimport CloseS from '@alphakits/icons/dist/CloseS';\nimport SearchM from '@alphakits/icons/dist/SearchM';\n\nimport { Button } from '../button';\n\nimport styles from './index.module.css';\n\nexport type Props = {\n placeholder: string;\n value?: string;\n onChange: (value: string) => void;\n onClear: () => void;\n};\n\nexport const HeaderSearch: React.FC<Props> = ({\n value, placeholder, onChange, onClear,\n}) => (\n <div className={ styles.input }>\n\n <SearchM />\n\n <input\n autoComplete=\"none\"\n value={ value }\n onChange={ (e) => onChange(e.target.value) }\n placeholder={ placeholder }\n type=\"text\"\n />\n\n { !!value?.length && (\n <Button\n className={ styles.input_clear_btn }\n leftAddons={ <CloseS /> }\n view=\"ghost\"\n onClick={ () => onClear() }\n />\n ) }\n </div>\n);\n"],"names":["HeaderSearch","value","placeholder","onChange","onClear","jsxs","styles","jsx","SearchM","e","Button","CloseS"],"mappings":"
|
|
1
|
+
{"version":3,"file":"component.js","sources":["../../src/header-search/component.tsx"],"sourcesContent":["import React from 'react';\nimport CloseS from '@alphakits/icons/dist/CloseS';\nimport SearchM from '@alphakits/icons/dist/SearchM';\nimport cn from 'classnames';\n\nimport { Button } from '../button';\n\nimport styles from './index.module.css';\n\nexport type Props = {\n placeholder: string;\n value?: string;\n v2?: boolean;\n onChange: (value: string) => void;\n onClear: () => void;\n};\n\nexport const HeaderSearch: React.FC<Props> = ({\n value, placeholder, v2, onChange, onClear,\n}) => (\n <div className={ cn(styles.input, { [styles.input_v2]: v2 }) }>\n\n <SearchM />\n\n <input\n autoComplete=\"none\"\n value={ value }\n onChange={ (e) => onChange(e.target.value) }\n placeholder={ placeholder }\n type=\"text\"\n />\n\n { !!value?.length && (\n <Button\n className={ styles.input_clear_btn }\n leftAddons={ <CloseS /> }\n view=\"ghost\"\n onClick={ () => onClear() }\n />\n ) }\n </div>\n);\n"],"names":["HeaderSearch","value","placeholder","v2","onChange","onClear","jsxs","cn","styles","jsx","SearchM","e","Button","CloseS"],"mappings":";;;;;;AAiBO,MAAMA,IAAgC,CAAC;AAAA,EAC1C,OAAAC;AAAA,EAAO,aAAAC;AAAA,EAAa,IAAAC;AAAA,EAAI,UAAAC;AAAA,EAAU,SAAAC;AACtC,MACI,gBAAAC,EAAC,OAAA,EAAI,WAAYC,EAAGC,EAAO,OAAO,EAAE,CAACA,EAAO,QAAQ,GAAGL,EAAA,CAAI,GAEvD,UAAA;AAAA,EAAA,gBAAAM,EAACC,GAAA,EAAQ;AAAA,EAET,gBAAAD;AAAA,IAAC;AAAA,IAAA;AAAA,MACG,cAAa;AAAA,MACb,OAAAR;AAAA,MACA,UAAW,CAACU,MAAMP,EAASO,EAAE,OAAO,KAAK;AAAA,MACzC,aAAAT;AAAA,MACA,MAAK;AAAA,IAAA;AAAA,EAAA;AAAA,EAGP,CAAC,EAACD,KAAA,QAAAA,EAAO,WACP,gBAAAQ;AAAA,IAACG;AAAA,IAAA;AAAA,MACG,WAAYJ,EAAO;AAAA,MACnB,8BAAcK,GAAA,EAAO;AAAA,MACrB,MAAK;AAAA,MACL,SAAU,MAAMR,EAAA;AAAA,IAAQ;AAAA,EAAA;AAC5B,EAAA,CAER;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.input_GzLW{display:flex;align-items:center;position:relative;width:328px}.input_GzLW input{border:none;outline:none;padding-left:32px;height:32px;width:100%;background:transparent;color:var(--color-text-primary)}.input_GzLW input::placeholder{font-size:12px;font-weight:500;color:var(--color-graphic-thirdly)}.input_GzLW svg{position:absolute;pointer-events:none;color:var(--color-graphic-thirdly)}.input_GzLW::placeholder{color:var(--color-graphic-thirdly);opacity:1}.input_GzLW::-ms-input-placeholder{color:var(--color-graphic-thirdly)}.input_clear_btn_5EYN{position:absolute;right:24px;width:24px!important;height:24px!important}
|
|
1
|
+
.input_GzLW{display:flex;align-items:center;position:relative;width:328px}.input_GzLW input{border:none;outline:none;padding-left:32px;height:32px;width:100%;background:transparent;color:var(--color-text-primary)}.input_GzLW input::placeholder{font-size:12px;font-weight:500;color:var(--color-graphic-thirdly)}.input_GzLW svg{position:absolute;pointer-events:none;color:var(--color-graphic-thirdly)}.input_GzLW::placeholder{color:var(--color-graphic-thirdly);opacity:1}.input_GzLW::-ms-input-placeholder{color:var(--color-graphic-thirdly)}.input_clear_btn_5EYN{position:absolute;right:24px;width:24px!important;height:24px!important}.input_v2_mKLY{height:36px;padding:0 12px 0 36px;border:1px solid var(--color-border-secondary);border-radius:8px;background:var(--color-bg-primary);box-sizing:border-box;transition:border-color .15s ease,box-shadow .15s ease}.input_v2_mKLY:focus-within{border-color:var(--color-border-link, var(--color-graphic-accent));box-shadow:0 0 0 3px color-mix(in srgb,var(--color-graphic-accent) 16%,transparent)}.input_v2_mKLY input{padding:0;height:100%;font-size:14px}.input_v2_mKLY input::placeholder{font-size:13px}.input_v2_mKLY svg{left:12px;width:16px}.input_v2_mKLY .input_clear_btn_5EYN{right:8px;min-width:24px!important}
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import './index.module.css';
|
|
2
|
-
const t = "input_GzLW", n = "input_clear_btn_5EYN", _ = {
|
|
2
|
+
const t = "input_GzLW", n = "input_clear_btn_5EYN", _ = "input_v2_mKLY", p = {
|
|
3
3
|
input: t,
|
|
4
|
-
input_clear_btn: n
|
|
4
|
+
input_clear_btn: n,
|
|
5
|
+
input_v2: _
|
|
5
6
|
};
|
|
6
7
|
export {
|
|
7
|
-
|
|
8
|
+
p as default,
|
|
8
9
|
t as input,
|
|
9
|
-
n as input_clear_btn
|
|
10
|
+
n as input_clear_btn,
|
|
11
|
+
_ as input_v2
|
|
10
12
|
};
|
|
11
13
|
//# sourceMappingURL=index.module.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--text-primary-color: var(--color-text-primary);--text-secondary-color: var(--color-text-secondary);--text-tertiary-color: var(--color-text-tertiary);--border-radius: 4px;--focus-color: var(--color-border-link);--font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, sans-serif;--disabled-cursor: not-allowed;--arrow-transform: rotate(180deg)}.component_ow7A{font-size:13px;line-height:20px;font-weight:500;font-family:var(--font-family);display:inline-flex;align-items:center;justify-content:center;min-width:20px;padding:0 var(--gap-s);border-radius:4px;text-align:center;white-space:nowrap}.component_ow7A:empty{padding:0;border-radius:var(--radius-circle)}.upper_case_qm11{text-transform:uppercase}.m_oJfG{height:36px;gap:8px}.s_caYR{gap:4px;height:22px!important;padding:0 8px!important}.s_caYR svg{width:12px}.soft_BdoF{display:inline-flex;align-items:center;justify-content:center;letter-spacing:.2px;
|
|
1
|
+
:root{--text-primary-color: var(--color-text-primary);--text-secondary-color: var(--color-text-secondary);--text-tertiary-color: var(--color-text-tertiary);--border-radius: 4px;--focus-color: var(--color-border-link);--font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, sans-serif;--disabled-cursor: not-allowed;--arrow-transform: rotate(180deg)}.component_ow7A{font-size:13px;line-height:20px;font-weight:500;font-family:var(--font-family);display:inline-flex;align-items:center;justify-content:center;min-width:20px;padding:0 var(--gap-s);border-radius:4px;text-align:center;white-space:nowrap}.component_ow7A:empty{padding:0;border-radius:var(--radius-circle)}.upper_case_qm11{text-transform:uppercase}.m_oJfG{height:36px;gap:8px}.s_caYR{gap:4px;height:22px!important;padding:0 8px!important}.s_caYR svg{width:12px}.soft_BdoF{display:inline-flex;align-items:center;justify-content:center;letter-spacing:.2px;padding:0 var(--gap-s);border:1px solid transparent;color:var(--soft-fg, currentColor);background:var(--soft-bg, transparent)}.soft_BdoF svg{margin-left:-2px}.soft_BdoF.green_KVuF{--soft-fg: var(--color-graphic-positive);--soft-bg: color-mix(in srgb, var(--color-graphic-positive) 12%, transparent);border-color:color-mix(in srgb,var(--color-graphic-positive) 28%,transparent)}.soft_BdoF.orange_RhVj{--soft-fg: var(--color-graphic-attention);--soft-bg: color-mix(in srgb, var(--color-graphic-attention) 12%, transparent);border-color:color-mix(in srgb,var(--color-graphic-attention) 28%,transparent)}.soft_BdoF.red_tLzK{--soft-fg: var(--color-graphic-negative);--soft-bg: color-mix(in srgb, var(--color-graphic-negative) 12%, transparent);border-color:color-mix(in srgb,var(--color-graphic-negative) 28%,transparent)}.soft_BdoF.blue_Z-Cc{--soft-fg: var(--color-graphic-accent);--soft-bg: color-mix(in srgb, var(--color-graphic-accent) 12%, transparent);border-color:color-mix(in srgb,var(--color-graphic-accent) 28%,transparent)}.soft_BdoF.grey_0taE{--soft-fg: var(--color-graphic-secondary);--soft-bg: color-mix(in srgb, var(--color-graphic-secondary) 12%, transparent);border-color:color-mix(in srgb,var(--color-graphic-secondary) 28%,transparent)}.soft_BdoF.teal_wjFj{--soft-fg: var(--color-status-teal);--soft-bg: color-mix(in srgb, var(--color-status-teal) 12%, transparent);border-color:color-mix(in srgb,var(--color-status-teal) 28%,transparent)}.soft_BdoF.purple_xJsv{--soft-fg: var(--color-status-purple);--soft-bg: color-mix(in srgb, var(--color-status-purple) 12%, transparent);border-color:color-mix(in srgb,var(--color-status-purple) 28%,transparent)}@supports not (background: color-mix(in srgb,white 10%,black)){.soft_BdoF.green_KVuF{background:rgba(var(--rgb-positive, 22, 101, 52),.12);border-color:rgba(var(--rgb-positive, 22,101,52),.28)}.soft_BdoF.orange_RhVj{background:rgba(var(--rgb-attention, 161, 98, 7),.12);border-color:rgba(var(--rgb-attention,161,98,7),.28)}.soft_BdoF.red_tLzK{background:rgba(var(--rgb-negative, 220, 38, 38),.12);border-color:rgba(var(--rgb-negative,220,38,38),.28)}.soft_BdoF.blue_Z-Cc{background:rgba(var(--rgb-accent, 30, 64, 175),.12);border-color:rgba(var(--rgb-accent,30,64,175),.28)}.soft_BdoF.grey_0taE{background:rgba(var(--rgb-secondary, 107, 114, 128),.12);border-color:rgba(var(--rgb-secondary,107,114,128),.28)}.soft_BdoF.teal_wjFj{background:rgba(var(--rgb-teal, 13, 148, 136),.12);border-color:rgba(var(--rgb-teal,13,148,136),.28)}.soft_BdoF.purple_xJsv{background:rgba(var(--rgb-purple, 107, 33, 168),.12);border-color:rgba(var(--rgb-purple,107,33,168),.28)}}.contrast_Y6fK{color:#fff}.contrast_Y6fK.green_KVuF{background:var(--color-graphic-positive)}.contrast_Y6fK.orange_RhVj{background:var(--color-graphic-attention)}.contrast_Y6fK.red_tLzK{background:var(--color-graphic-negative)}.contrast_Y6fK.blue_Z-Cc{background:var(--color-graphic-accent)}.contrast_Y6fK.grey_0taE{background:var(--color-graphic-secondary)}.contrast_Y6fK.teal_wjFj{background:var(--color-status-teal)}.contrast_Y6fK.purple_xJsv{background:var(--color-status-purple)}
|
package/dist/table/columns.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"columns.js","sources":["../../src/table/columns.tsx"],"sourcesContent":["import React from 'react';\n\nimport { TableColumns } from './types';\n\ntype Row = {\n title: string;\n photo: string;\n};\n\nexport const NewColumns = (): TableColumns<Row> => [\n {\n header: 'Title',\n accessor: 'title',\n sort: true,\n row: {\n image: () => 'https://via.placeholder.com/150',\n subtitle: 'title',\n },\n },\n {\n header: 'Photo',\n accessor: 'photo',\n sort: true,\n row: {\n title: ({ row }) => `${row.title}awdawd`,\n image: ({ row }) => row.photo,\n },\n },\n // ,{\n // header: 'Brakin photo',\n // sort: true,\n // row: {\n // image: ({ row }) => row.title,\n // },\n // },{\n // header: 'No photo',\n // sort: true,\n // row: {\n // image: () => '',\n // },\n // },\n // {\n // header: 'icon',\n // row: {\n // icon: () => <ChevronForwardS />,\n // },\n // },\n {\n header: '
|
|
1
|
+
{"version":3,"file":"columns.js","sources":["../../src/table/columns.tsx"],"sourcesContent":["import React from 'react';\n\nimport { TableColumns } from './types';\n\ntype Row = {\n title: string;\n photo: string;\n};\n\nexport const NewColumns = (): TableColumns<Row> => [\n {\n header: 'Title',\n accessor: 'title',\n sort: true,\n row: {\n image: () => 'https://via.placeholder.com/150',\n subtitle: 'title',\n },\n },\n {\n header: 'Photo',\n accessor: 'photo',\n sort: true,\n row: {\n title: ({ row }) => `${row.title}awdawd`,\n image: ({ row }) => row.photo,\n },\n },\n // ,{\n // header: 'Brakin photo',\n // sort: true,\n // row: {\n // image: ({ row }) => row.title,\n // },\n // },{\n // header: 'No photo',\n // sort: true,\n // row: {\n // image: () => '',\n // },\n // },\n // {\n // header: 'icon',\n // row: {\n // icon: () => <ChevronForwardS />,\n // },\n // },\n {\n header: '',\n row: {\n icon: () => '',\n },\n },\n {\n header: 'Button',\n align: 'right',\n width: '200px',\n row: {\n customAddon: ({ row }) => <div style={ { background: 'red' } }>{ row.title.length }</div>,\n },\n },\n // {\n // header: 'Button',\n // width: '50px',\n // row: {\n // title: null,\n // },\n // },\n];\n"],"names":["NewColumns","row","jsx"],"mappings":";AASO,MAAMA,IAAa,MAAyB;AAAA,EAC/C;AAAA,IACI,QAAQ;AAAA,IACR,UAAU;AAAA,IACV,MAAM;AAAA,IACN,KAAK;AAAA,MACD,OAAO,MAAM;AAAA,MACb,UAAU;AAAA,IAAA;AAAA,EACd;AAAA,EAEJ;AAAA,IACI,QAAQ;AAAA,IACR,UAAU;AAAA,IACV,MAAM;AAAA,IACN,KAAK;AAAA,MACD,OAAO,CAAC,EAAE,KAAAC,QAAU,GAAGA,EAAI,KAAK;AAAA,MAChC,OAAO,CAAC,EAAE,KAAAA,EAAA,MAAUA,EAAI;AAAA,IAAA;AAAA,EAC5B;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAqBJ;AAAA,IACI,QAAQ;AAAA,IACR,KAAK;AAAA,MACD,MAAM,MAAM;AAAA,IAAA;AAAA,EAChB;AAAA,EAEJ;AAAA,IACI,QAAQ;AAAA,IACR,OAAO;AAAA,IACP,OAAO;AAAA,IACP,KAAK;AAAA,MACD,aAAa,CAAC,EAAE,KAAAA,EAAA,MAAU,gBAAAC,EAAC,OAAA,EAAI,OAAQ,EAAE,YAAY,MAAA,GAAY,UAAAD,EAAI,MAAM,OAAA,CAAQ;AAAA,IAAA;AAAA,EACvF;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AASR;"}
|
|
@@ -1,43 +1,44 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import d from "classnames";
|
|
3
|
-
import { Cell as
|
|
3
|
+
import { Cell as _ } from "../../../cell/component.js";
|
|
4
4
|
import e from "./index.module.css.js";
|
|
5
|
-
const
|
|
6
|
-
dataTestID:
|
|
5
|
+
const y = ({
|
|
6
|
+
dataTestID: o,
|
|
7
7
|
className: a,
|
|
8
|
-
children:
|
|
9
|
-
title:
|
|
8
|
+
children: l,
|
|
9
|
+
title: m,
|
|
10
10
|
subtitle: h,
|
|
11
|
-
tableProps:
|
|
11
|
+
tableProps: v,
|
|
12
12
|
cellProps: i,
|
|
13
|
-
addon:
|
|
13
|
+
addon: c,
|
|
14
14
|
align: r,
|
|
15
15
|
compact: t,
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
v2: f,
|
|
17
|
+
width: T,
|
|
18
|
+
tag: n = "td"
|
|
18
19
|
}) => /* @__PURE__ */ s(
|
|
19
|
-
|
|
20
|
+
n,
|
|
20
21
|
{
|
|
21
|
-
"data-test-id":
|
|
22
|
-
className: d(e.cell, a, {
|
|
23
|
-
[e.is_div]:
|
|
22
|
+
"data-test-id": o,
|
|
23
|
+
className: d(f ? e.cell_v2 : e.cell, a, {
|
|
24
|
+
[e.is_div]: n === "div",
|
|
24
25
|
[e.compact_cell]: t
|
|
25
26
|
}),
|
|
26
|
-
style: { width:
|
|
27
|
-
...
|
|
28
|
-
children:
|
|
27
|
+
style: { width: T },
|
|
28
|
+
...v,
|
|
29
|
+
children: l ? /* @__PURE__ */ s(
|
|
29
30
|
"div",
|
|
30
31
|
{
|
|
31
32
|
className: d(e.children, {
|
|
32
33
|
[e.center]: r === "center",
|
|
33
34
|
[e.right]: r === "right"
|
|
34
35
|
}),
|
|
35
|
-
children:
|
|
36
|
+
children: l
|
|
36
37
|
}
|
|
37
38
|
) : /* @__PURE__ */ s(
|
|
38
|
-
|
|
39
|
+
_.Base,
|
|
39
40
|
{
|
|
40
|
-
title:
|
|
41
|
+
title: m === void 0 ? "-" : m,
|
|
41
42
|
subtitle: h,
|
|
42
43
|
size: (i == null ? void 0 : i.size) || (t ? "s" : "m"),
|
|
43
44
|
compactAddon: t,
|
|
@@ -48,13 +49,13 @@ const x = ({
|
|
|
48
49
|
[e.right]: r === "right",
|
|
49
50
|
[e.compact_content]: t
|
|
50
51
|
}),
|
|
51
|
-
addon:
|
|
52
|
+
addon: c,
|
|
52
53
|
...i
|
|
53
54
|
}
|
|
54
55
|
)
|
|
55
56
|
}
|
|
56
57
|
);
|
|
57
58
|
export {
|
|
58
|
-
|
|
59
|
+
y as TableCell
|
|
59
60
|
};
|
|
60
61
|
//# sourceMappingURL=component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.js","sources":["../../../../src/table/components/cell/component.tsx"],"sourcesContent":["import React from 'react';\nimport cn from 'classnames';\n\nimport { Cell as BaseCell } from '../../../cell';\nimport { BaseProps } from '../../../cell/base/component';\n\nimport styles from './index.module.css';\n\nexport type CellProps = {\n className?: string;\n dataTestID?: string;\n title?: BaseProps['title'];\n subtitle?: BaseProps['subtitle'];\n cellProps?: Omit<BaseProps, 'title' | 'subtitle'>;\n tableProps?: React.TdHTMLAttributes<any>;\n addon?: React.ReactNode;\n children?: React.ReactNode;\n width?: string;\n align?: 'left' | 'right' | 'center';\n compact?: boolean;\n\n /**\n * HTML тег\n */\n tag?: 'td' | 'div';\n};\n\nexport const TableCell: React.FC<CellProps> = ({\n dataTestID,\n className,\n children,\n title,\n subtitle,\n tableProps,\n cellProps,\n addon,\n align,\n compact,\n width,\n tag: Component = 'td',\n}) => (\n <Component\n data-test-id={ dataTestID }\n className={ cn(styles.cell, className, {\n [styles.is_div]: Component === 'div',\n [styles.compact_cell]: compact,\n }) }\n style={ { width } }\n { ...tableProps }\n >\n { children ? (\n <div\n className={ cn(styles.children, {\n [styles.center]: align === 'center',\n [styles.right]: align === 'right',\n }) }\n >\n { children }\n </div>\n ) : (\n <BaseCell.Base\n title={ title === undefined ? '-' : title }\n subtitle={ subtitle }\n size={ cellProps?.size || (compact ? 's' : 'm') }\n compactAddon={ compact }\n singleLineTitle={ compact }\n showTitleTooltipOnOverflow={ compact }\n className={ cn({\n [styles.center]: align === 'center',\n [styles.right]: align === 'right',\n [styles.compact_content]: compact,\n }) }\n addon={ addon }\n { ...cellProps }\n />\n ) }\n </Component>\n);\n"],"names":["TableCell","dataTestID","className","children","title","subtitle","tableProps","cellProps","addon","align","compact","width","Component","jsx","cn","styles","BaseCell"],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"component.js","sources":["../../../../src/table/components/cell/component.tsx"],"sourcesContent":["import React from 'react';\nimport cn from 'classnames';\n\nimport { Cell as BaseCell } from '../../../cell';\nimport { BaseProps } from '../../../cell/base/component';\n\nimport styles from './index.module.css';\n\nexport type CellProps = {\n className?: string;\n dataTestID?: string;\n title?: BaseProps['title'];\n subtitle?: BaseProps['subtitle'];\n cellProps?: Omit<BaseProps, 'title' | 'subtitle'>;\n tableProps?: React.TdHTMLAttributes<any>;\n addon?: React.ReactNode;\n children?: React.ReactNode;\n width?: string;\n align?: 'left' | 'right' | 'center';\n compact?: boolean;\n v2?: boolean;\n\n /**\n * HTML тег\n */\n tag?: 'td' | 'div';\n};\n\nexport const TableCell: React.FC<CellProps> = ({\n dataTestID,\n className,\n children,\n title,\n subtitle,\n tableProps,\n cellProps,\n addon,\n align,\n compact,\n v2,\n width,\n tag: Component = 'td',\n}) => (\n <Component\n data-test-id={ dataTestID }\n className={ cn(v2 ? styles.cell_v2 : styles.cell, className, {\n [styles.is_div]: Component === 'div',\n [styles.compact_cell]: compact,\n }) }\n style={ { width } }\n { ...tableProps }\n >\n { children ? (\n <div\n className={ cn(styles.children, {\n [styles.center]: align === 'center',\n [styles.right]: align === 'right',\n }) }\n >\n { children }\n </div>\n ) : (\n <BaseCell.Base\n title={ title === undefined ? '-' : title }\n subtitle={ subtitle }\n size={ cellProps?.size || (compact ? 's' : 'm') }\n compactAddon={ compact }\n singleLineTitle={ compact }\n showTitleTooltipOnOverflow={ compact }\n className={ cn({\n [styles.center]: align === 'center',\n [styles.right]: align === 'right',\n [styles.compact_content]: compact,\n }) }\n addon={ addon }\n { ...cellProps }\n />\n ) }\n </Component>\n);\n"],"names":["TableCell","dataTestID","className","children","title","subtitle","tableProps","cellProps","addon","align","compact","v2","width","Component","jsx","cn","styles","BaseCell"],"mappings":";;;;AA4BO,MAAMA,IAAiC,CAAC;AAAA,EAC3C,YAAAC;AAAA,EACA,WAAAC;AAAA,EACA,UAAAC;AAAA,EACA,OAAAC;AAAA,EACA,UAAAC;AAAA,EACA,YAAAC;AAAA,EACA,WAAAC;AAAA,EACA,OAAAC;AAAA,EACA,OAAAC;AAAA,EACA,SAAAC;AAAA,EACA,IAAAC;AAAA,EACA,OAAAC;AAAA,EACA,KAAKC,IAAY;AACrB,MACI,gBAAAC;AAAA,EAACD;AAAA,EAAA;AAAA,IACG,gBAAeZ;AAAA,IACf,WAAYc,EAAGJ,IAAKK,EAAO,UAAUA,EAAO,MAAMd,GAAW;AAAA,MACzD,CAACc,EAAO,MAAM,GAAGH,MAAc;AAAA,MAC/B,CAACG,EAAO,YAAY,GAAGN;AAAA,IAAA,CAC1B;AAAA,IACD,OAAQ,EAAE,OAAAE,EAAA;AAAA,IACR,GAAGN;AAAA,IAEH,UAAAH,IACE,gBAAAW;AAAA,MAAC;AAAA,MAAA;AAAA,QACG,WAAYC,EAAGC,EAAO,UAAU;AAAA,UAC5B,CAACA,EAAO,MAAM,GAAGP,MAAU;AAAA,UAC3B,CAACO,EAAO,KAAK,GAAGP,MAAU;AAAA,QAAA,CAC7B;AAAA,QAEC,UAAAN;AAAA,MAAA;AAAA,IAAA,IAGN,gBAAAW;AAAA,MAACG,EAAS;AAAA,MAAT;AAAA,QACG,OAAQb,MAAU,SAAY,MAAMA;AAAA,QACpC,UAAAC;AAAA,QACA,OAAOE,KAAA,gBAAAA,EAAW,UAASG,IAAU,MAAM;AAAA,QAC3C,cAAeA;AAAA,QACf,iBAAkBA;AAAA,QAClB,4BAA6BA;AAAA,QAC7B,WAAYK,EAAG;AAAA,UACX,CAACC,EAAO,MAAM,GAAGP,MAAU;AAAA,UAC3B,CAACO,EAAO,KAAK,GAAGP,MAAU;AAAA,UAC1B,CAACO,EAAO,eAAe,GAAGN;AAAA,QAAA,CAC7B;AAAA,QACD,OAAAF;AAAA,QACE,GAAGD;AAAA,MAAA;AAAA,IAAA;AAAA,EACT;AAER;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
table tr:last-child .cell_SVZP{border-bottom:0!important}.cell_SVZP{padding:0 16px;border-bottom:1px solid var(--color-border-secondary);position:relative;height:68px}.compact_cell_zSJH{height:44px;padding:
|
|
1
|
+
table tr:last-child .cell_SVZP,table tr:last-child .cell_v2_i3Fs{border-bottom:0!important}.cell_SVZP{padding:0 16px;border-bottom:1px solid var(--color-border-secondary);position:relative;height:68px}.cell_v2_i3Fs{padding:8px 16px;border-bottom:1px solid var(--color-border-secondary);position:relative;min-height:56px;box-sizing:border-box;vertical-align:middle}.compact_cell_zSJH{min-height:44px;padding:8px 12px}.right_30pJ{justify-content:flex-end}.children_X057{width:100%;display:flex;align-items:center}.compact_content_bjnq{gap:0 6px!important;min-height:40px!important}.is_div_XHlH{min-height:68px;display:flex;align-items:center}.cell_v2_i3Fs.is_div_XHlH{min-height:56px;padding-top:12px;padding-bottom:12px}.compact_cell_zSJH.is_div_XHlH{min-height:44px}
|
|
@@ -1,19 +1,21 @@
|
|
|
1
1
|
import './index.module.css';
|
|
2
|
-
const c = "cell_SVZP", t = "
|
|
2
|
+
const c = "cell_SVZP", t = "cell_v2_i3Fs", l = "compact_cell_zSJH", _ = "right_30pJ", e = "children_X057", n = "compact_content_bjnq", o = "is_div_XHlH", s = {
|
|
3
3
|
cell: c,
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
cell_v2: t,
|
|
5
|
+
compact_cell: l,
|
|
6
|
+
right: _,
|
|
7
|
+
children: e,
|
|
8
|
+
compact_content: n,
|
|
9
|
+
is_div: o
|
|
9
10
|
};
|
|
10
11
|
export {
|
|
11
12
|
c as cell,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
13
|
+
t as cell_v2,
|
|
14
|
+
e as children,
|
|
15
|
+
l as compact_cell,
|
|
16
|
+
n as compact_content,
|
|
17
|
+
s as default,
|
|
18
|
+
o as is_div,
|
|
19
|
+
_ as right
|
|
18
20
|
};
|
|
19
21
|
//# sourceMappingURL=index.module.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;"}
|
|
@@ -5,6 +5,7 @@ type Props<T extends object> = {
|
|
|
5
5
|
order: QueryDTO['order'];
|
|
6
6
|
addParam: ({ sort, order }: Pick<Query, 'order' | 'sort'>) => void;
|
|
7
7
|
compact?: boolean;
|
|
8
|
+
v2?: boolean;
|
|
8
9
|
};
|
|
9
|
-
export declare function Cells<T extends object>({ columns, sort, order, addParam, compact, }: Props<T>): JSX.Element;
|
|
10
|
+
export declare function Cells<T extends object>({ columns, sort, order, addParam, compact, v2, }: Props<T>): JSX.Element;
|
|
10
11
|
export {};
|
|
@@ -1,32 +1,33 @@
|
|
|
1
|
-
import { jsx as a, jsxs as
|
|
2
|
-
import
|
|
1
|
+
import { jsx as a, jsxs as n } from "react/jsx-runtime";
|
|
2
|
+
import f from "@alphakits/icons/dist/ChevronForwardS";
|
|
3
3
|
import o from "classnames";
|
|
4
4
|
import { Typography as m } from "../../../typography/component.js";
|
|
5
5
|
import e from "./index.module.css.js";
|
|
6
|
-
function
|
|
7
|
-
columns:
|
|
8
|
-
sort:
|
|
9
|
-
order:
|
|
6
|
+
function v({
|
|
7
|
+
columns: c,
|
|
8
|
+
sort: d,
|
|
9
|
+
order: l,
|
|
10
10
|
addParam: h,
|
|
11
|
-
compact:
|
|
11
|
+
compact: p = !1,
|
|
12
|
+
v2: s = !1
|
|
12
13
|
}) {
|
|
13
|
-
return /* @__PURE__ */ a("thead", { children: /* @__PURE__ */ a("tr", { className: e.header_row, children:
|
|
14
|
-
const
|
|
14
|
+
return /* @__PURE__ */ a("thead", { children: /* @__PURE__ */ a("tr", { className: e.header_row, children: c.map((r) => {
|
|
15
|
+
const t = r.accessor && d === r.accessor, i = t && l === "ASC" ? "DESC" : "ASC";
|
|
15
16
|
return /* @__PURE__ */ a(
|
|
16
17
|
"th",
|
|
17
18
|
{
|
|
18
|
-
className: o(e.cell, {
|
|
19
|
+
className: o(s ? e.cell_v2 : e.cell, {
|
|
19
20
|
[e.clickable]: r.sort,
|
|
20
|
-
[e.headerCellCompact]:
|
|
21
|
+
[e.headerCellCompact]: p
|
|
21
22
|
}),
|
|
22
23
|
align: r.align,
|
|
23
24
|
style: { width: r.width || "auto" },
|
|
24
|
-
onClick: r.sort ? () => h({ order:
|
|
25
|
-
children: /* @__PURE__ */
|
|
25
|
+
onClick: r.sort ? () => h({ order: i, sort: r.accessor }) : void 0,
|
|
26
|
+
children: /* @__PURE__ */ n(
|
|
26
27
|
m.Text,
|
|
27
28
|
{
|
|
28
29
|
className: e.head_wrapper,
|
|
29
|
-
view: "caps",
|
|
30
|
+
view: s ? "title" : "caps",
|
|
30
31
|
tag: "div",
|
|
31
32
|
color: "secondary",
|
|
32
33
|
weight: "medium",
|
|
@@ -35,10 +36,10 @@ function y({
|
|
|
35
36
|
r.sort && /* @__PURE__ */ a(
|
|
36
37
|
"span",
|
|
37
38
|
{
|
|
38
|
-
className: o(e.arrow, e[
|
|
39
|
-
[e.accent]:
|
|
39
|
+
className: o(e.arrow, e[i], {
|
|
40
|
+
[e.accent]: t
|
|
40
41
|
}),
|
|
41
|
-
children: /* @__PURE__ */ a(
|
|
42
|
+
children: /* @__PURE__ */ a(f, {})
|
|
42
43
|
}
|
|
43
44
|
)
|
|
44
45
|
]
|
|
@@ -50,6 +51,6 @@ function y({
|
|
|
50
51
|
}) }) });
|
|
51
52
|
}
|
|
52
53
|
export {
|
|
53
|
-
|
|
54
|
+
v as Cells
|
|
54
55
|
};
|
|
55
56
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../src/table/components/cells/index.tsx"],"sourcesContent":["/* eslint-disable @typescript-eslint/ban-types */\nimport React from 'react';\nimport ChevronForwardS from '@alphakits/icons/dist/ChevronForwardS';\nimport cn from 'classnames';\n\nimport { Typography } from '../../../typography';\nimport { Query, QueryDTO, TableColumns } from '../../types';\n\nimport styles from './index.module.css';\n\ntype Props<T extends object> = {\n columns: TableColumns<T>;\n sort: QueryDTO['sort'];\n order: QueryDTO['order'];\n addParam: ({ sort, order }: Pick<Query, 'order' | 'sort'>) => void;\n compact?: boolean;\n};\n\nexport function Cells<T extends object>({\n columns, sort, order, addParam, compact = false,\n}: Props<T>) {\n return (\n <thead>\n <tr className={ styles.header_row }>\n { columns.map((column) => {\n const isSorted = column.accessor && sort === column.accessor;\n const direction: QueryDTO['order'] =\n isSorted && order === 'ASC' ? 'DESC' : 'ASC';\n\n return (\n <th\n key={ String(column.accessor || column.header) }\n className={ cn(styles.cell, {\n [styles.clickable]: column.sort,\n [styles.headerCellCompact]: compact,\n }) }\n align={ column.align }\n style={ { width: column.width || 'auto' } }\n onClick={\n column.sort\n ? () => addParam({ order: direction, sort: column.accessor })\n : undefined\n }\n >\n <Typography.Text\n className={ styles.head_wrapper }\n view
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/table/components/cells/index.tsx"],"sourcesContent":["/* eslint-disable @typescript-eslint/ban-types */\nimport React from 'react';\nimport ChevronForwardS from '@alphakits/icons/dist/ChevronForwardS';\nimport cn from 'classnames';\n\nimport { Typography } from '../../../typography';\nimport { Query, QueryDTO, TableColumns } from '../../types';\n\nimport styles from './index.module.css';\n\ntype Props<T extends object> = {\n columns: TableColumns<T>;\n sort: QueryDTO['sort'];\n order: QueryDTO['order'];\n addParam: ({ sort, order }: Pick<Query, 'order' | 'sort'>) => void;\n compact?: boolean;\n v2?: boolean;\n};\n\nexport function Cells<T extends object>({\n columns, sort, order, addParam, compact = false, v2 = false,\n}: Props<T>) {\n return (\n <thead>\n <tr className={ styles.header_row }>\n { columns.map((column) => {\n const isSorted = column.accessor && sort === column.accessor;\n const direction: QueryDTO['order'] =\n isSorted && order === 'ASC' ? 'DESC' : 'ASC';\n\n return (\n <th\n key={ String(column.accessor || column.header) }\n className={ cn(v2 ? styles.cell_v2 : styles.cell, {\n [styles.clickable]: column.sort,\n [styles.headerCellCompact]: compact,\n }) }\n align={ column.align }\n style={ { width: column.width || 'auto' } }\n onClick={\n column.sort\n ? () => addParam({ order: direction, sort: column.accessor })\n : undefined\n }\n >\n <Typography.Text\n className={ styles.head_wrapper }\n view={ v2 ? 'title' : 'caps' }\n tag=\"div\"\n color=\"secondary\"\n weight=\"medium\"\n >\n { column.header }\n\n { column.sort && (\n <span\n className={ cn(styles.arrow, styles[direction], {\n [styles.accent]: isSorted,\n }) }\n >\n <ChevronForwardS />\n </span>\n ) }\n </Typography.Text>\n </th>\n );\n }) }\n </tr>\n </thead>\n );\n}\n"],"names":["Cells","columns","sort","order","addParam","compact","v2","jsx","styles","column","isSorted","direction","cn","jsxs","Typography","ChevronForwardS"],"mappings":";;;;;AAmBO,SAASA,EAAwB;AAAA,EACpC,SAAAC;AAAA,EAAS,MAAAC;AAAA,EAAM,OAAAC;AAAA,EAAO,UAAAC;AAAA,EAAU,SAAAC,IAAU;AAAA,EAAO,IAAAC,IAAK;AAC1D,GAAa;AACT,SACI,gBAAAC,EAAC,SAAA,EACG,UAAA,gBAAAA,EAAC,MAAA,EAAG,WAAYC,EAAO,YACjB,UAAAP,EAAQ,IAAI,CAACQ,MAAW;AACtB,UAAMC,IAAWD,EAAO,YAAYP,MAASO,EAAO,UAC9CE,IACFD,KAAYP,MAAU,QAAQ,SAAS;AAE3C,WACI,gBAAAI;AAAA,MAAC;AAAA,MAAA;AAAA,QAEG,WAAYK,EAAGN,IAAKE,EAAO,UAAUA,EAAO,MAAM;AAAA,UAC9C,CAACA,EAAO,SAAS,GAAGC,EAAO;AAAA,UAC3B,CAACD,EAAO,iBAAiB,GAAGH;AAAA,QAAA,CAC/B;AAAA,QACD,OAAQI,EAAO;AAAA,QACf,OAAQ,EAAE,OAAOA,EAAO,SAAS,OAAA;AAAA,QACjC,SACIA,EAAO,OACD,MAAML,EAAS,EAAE,OAAOO,GAAW,MAAMF,EAAO,SAAA,CAAU,IAC1D;AAAA,QAGV,UAAA,gBAAAI;AAAA,UAACC,EAAW;AAAA,UAAX;AAAA,YACG,WAAYN,EAAO;AAAA,YACnB,MAAOF,IAAK,UAAU;AAAA,YACtB,KAAI;AAAA,YACJ,OAAM;AAAA,YACN,QAAO;AAAA,YAEL,UAAA;AAAA,cAAAG,EAAO;AAAA,cAEPA,EAAO,QACL,gBAAAF;AAAA,gBAAC;AAAA,gBAAA;AAAA,kBACG,WAAYK,EAAGJ,EAAO,OAAOA,EAAOG,CAAS,GAAG;AAAA,oBAC5C,CAACH,EAAO,MAAM,GAAGE;AAAA,kBAAA,CACpB;AAAA,kBAED,4BAACK,GAAA,CAAA,CAAgB;AAAA,gBAAA;AAAA,cAAA;AAAA,YACrB;AAAA,UAAA;AAAA,QAAA;AAAA,MAER;AAAA,MA/BM,OAAON,EAAO,YAAYA,EAAO,MAAM;AAAA,IAAA;AAAA,EAkCzD,CAAC,GACL,GACJ;AAER;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.header_row_-IYY{overflow:hidden}.header_row_-IYY
|
|
1
|
+
.header_row_-IYY{overflow:hidden}.header_row_-IYY .cell_c2wS:only-child{border-radius:8px!important}.header_row_-IYY .cell_c2wS:first-child{border-radius:8px 0 0 8px}.header_row_-IYY .cell_c2wS:last-child{border-radius:0 8px 8px 0}.cell_c2wS{height:48px;padding:4px 16px;box-sizing:border-box;background:var(--color-bg-secondary);position:sticky;top:0;z-index:9}.cell_v2_BPIz{height:44px;padding:10px 16px;box-sizing:border-box;background:var(--color-bg-primary);border-bottom:1px solid var(--color-border-secondary);position:sticky;top:0;z-index:9}th.cell_v2_BPIz{background:var(--color-bg-special-big-objects)}.headerCellCompact_i56i{height:40px;padding:8px 12px}.clickable_uhII{cursor:pointer}.head_wrapper_WjtN{display:flex;align-items:center}.arrow_svnk{height:16px;width:16px;margin-left:12px;display:flex;flex-direction:column;color:var(--color-graphic-thirdly);opacity:.4}.cell_v2_BPIz .arrow_svnk{height:14px;width:14px;margin-left:6px;opacity:.55}.headerCellCompact_i56i .arrow_svnk{margin-left:8px}.accent_5Dn8{color:var(--color-graphic-primary)}.DESC_p2eV{transform:rotate(-90deg)}.ASC_fIiQ{transform:rotate(90deg)}
|
|
@@ -1,25 +1,27 @@
|
|
|
1
1
|
import './index.module.css';
|
|
2
|
-
const e = "header_row_-IYY", c = "cell_c2wS", a = "headerCellCompact_i56i", r = "clickable_uhII",
|
|
2
|
+
const e = "header_row_-IYY", c = "cell_c2wS", a = "cell_v2_BPIz", l = "headerCellCompact_i56i", r = "clickable_uhII", o = "head_wrapper_WjtN", t = "arrow_svnk", _ = "accent_5Dn8", n = "DESC_p2eV", s = "ASC_fIiQ", C = {
|
|
3
3
|
header_row: e,
|
|
4
4
|
cell: c,
|
|
5
|
-
|
|
5
|
+
cell_v2: a,
|
|
6
|
+
headerCellCompact: l,
|
|
6
7
|
clickable: r,
|
|
7
|
-
head_wrapper:
|
|
8
|
-
arrow:
|
|
9
|
-
accent:
|
|
8
|
+
head_wrapper: o,
|
|
9
|
+
arrow: t,
|
|
10
|
+
accent: _,
|
|
10
11
|
DESC: n,
|
|
11
|
-
ASC:
|
|
12
|
+
ASC: s
|
|
12
13
|
};
|
|
13
14
|
export {
|
|
14
|
-
|
|
15
|
+
s as ASC,
|
|
15
16
|
n as DESC,
|
|
16
|
-
|
|
17
|
-
|
|
17
|
+
_ as accent,
|
|
18
|
+
t as arrow,
|
|
18
19
|
c as cell,
|
|
20
|
+
a as cell_v2,
|
|
19
21
|
r as clickable,
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
22
|
+
C as default,
|
|
23
|
+
o as head_wrapper,
|
|
24
|
+
l as headerCellCompact,
|
|
23
25
|
e as header_row
|
|
24
26
|
};
|
|
25
27
|
//# sourceMappingURL=index.module.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;"}
|