@12-apps/ui 6.57.0 → 6.58.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/_internal/components/data-display/Avatar/Avatar.js +2 -2
- package/dist/_internal/components/data-display/Badge/Badge.js +2 -2
- package/dist/_internal/components/data-display/Carousel/Carousel.js +2 -2
- package/dist/_internal/components/data-display/Chart/Chart.js +4 -4
- package/dist/_internal/components/data-display/Chart/SpecChart.js +6 -6
- package/dist/_internal/components/data-display/Chart/chart-context.js +2 -2
- package/dist/_internal/components/data-display/Chart/chart-renderers.js +3 -3
- package/dist/_internal/components/data-display/DataGrid/DataGrid.js +2 -2
- package/dist/_internal/components/data-display/DataViews/DataViewsGrid.js +18 -18
- package/dist/_internal/components/data-display/DataViews/DataViewsTableBase.js +20 -19
- package/dist/_internal/components/data-display/DataViews/base-list-card-geometry.js +5 -3
- package/dist/_internal/components/data-display/DataViews/base-list-card-layout.js +45 -0
- package/dist/_internal/components/data-display/DataViews/base-list-card-layout.js.map +1 -0
- package/dist/_internal/components/data-display/DataViews/base-list-card-slots.js +2 -2
- package/dist/_internal/components/data-display/DataViews/base-list-card.js +5 -4
- package/dist/_internal/components/data-display/DataViews/data-views-category-pill.js +1 -1
- package/dist/_internal/components/data-display/DataViews/data-views-filter-panel.js +4 -4
- package/dist/_internal/components/data-display/DataViews/data-views-grid-bodies.js +4 -4
- package/dist/_internal/components/data-display/DataViews/data-views-grid-parts.js +17 -17
- package/dist/_internal/components/data-display/DataViews/data-views-inline-bar.js +6 -6
- package/dist/_internal/components/data-display/DataViews/data-views-more-fields.js +4 -4
- package/dist/_internal/components/data-display/DataViews/data-views-more-filters.js +5 -5
- package/dist/_internal/components/data-display/DataViews/data-views-range-pill.js +2 -2
- package/dist/_internal/components/data-display/DataViews/data-views-selection-extra.js +3 -1
- package/dist/_internal/components/data-display/DataViews/data-views-shell-toolbar.js +3 -3
- package/dist/_internal/components/data-display/DataViews/data-views-table-parts.js +1 -1
- package/dist/_internal/components/data-display/DataViews/data-views-toolbar.js +2 -2
- package/dist/_internal/components/data-display/DataViews/data-views-url-echo.js +13 -0
- package/dist/_internal/components/data-display/DataViews/data-views-url-echo.js.map +1 -0
- package/dist/_internal/components/data-display/DataViews/list-card-rails.js +1 -1
- package/dist/_internal/components/data-display/FleetMap/FleetMap.fixtures.js +1 -1
- package/dist/_internal/components/data-display/index.js +14 -14
- package/dist/_internal/components/index.js +22 -22
- package/dist/_internal/components/layout/ContentToolbar/ContentToolbar.js +1 -1
- package/dist/_internal/components/layout/index.js +1 -1
- package/dist/_internal/components/navigation/SectionNav/SectionNav.bar.js +6 -6
- package/dist/_internal/components/navigation/SectionNav/SectionNav.js +9 -9
- package/dist/_internal/components/navigation/SectionNav/SectionNav.parts.js +3 -3
- package/dist/_internal/components/navigation/SectionNav/SectionNav.primary.js +4 -4
- package/dist/_internal/components/navigation/SectionNav/SectionNav.rail.js +5 -5
- package/dist/_internal/components/navigation/SectionNav/SectionNav.railCreate.js +4 -4
- package/dist/_internal/components/navigation/SectionNav/SectionNav.sheet.js +4 -4
- package/dist/_internal/components/navigation/index.js +9 -9
- package/dist/_internal/en-US.data-display.js +1 -1
- package/dist/_internal/pt-BR.data-display.js +1 -1
- package/dist/_internal/user-avatar/user-avatar.js +3 -3
- package/dist/charts.js +6 -6
- package/dist/{chunk-MKAA3YIJ.js → chunk-3K7WN2PO.js} +3 -3
- package/dist/{chunk-573XC4HK.js → chunk-4QKS5Y35.js} +2 -2
- package/dist/{chunk-KX75HM5U.js → chunk-5YDS6HO3.js} +7 -2
- package/dist/{chunk-KX75HM5U.js.map → chunk-5YDS6HO3.js.map} +1 -1
- package/dist/{chunk-N4MR4EMC.js → chunk-6D2PFC5C.js} +2 -2
- package/dist/{chunk-LJKWWXZD.js → chunk-6OSUK2C7.js} +28 -22
- package/dist/chunk-6OSUK2C7.js.map +1 -0
- package/dist/{chunk-ICSXPZXT.js → chunk-6QBT5TPS.js} +2 -2
- package/dist/{chunk-C67FDYG7.js → chunk-7CWZI6MQ.js} +5 -5
- package/dist/{chunk-JL77BSOL.js → chunk-AQI3UK6P.js} +2 -2
- package/dist/{chunk-A6EUQDRK.js → chunk-ARJIKW56.js} +4 -2
- package/dist/chunk-ARJIKW56.js.map +1 -0
- package/dist/{chunk-GI24X7XA.js → chunk-DZIRCD2W.js} +2 -2
- package/dist/{chunk-53ACGKBW.js → chunk-EDBP62WG.js} +3 -3
- package/dist/{chunk-YXIVQFNW.js → chunk-EWIKSTJV.js} +4 -4
- package/dist/{chunk-LWZ2K225.js → chunk-FXZUVZON.js} +6 -6
- package/dist/chunk-G6EJLEVV.js +75 -0
- package/dist/chunk-G6EJLEVV.js.map +1 -0
- package/dist/{chunk-IK2ZVV3M.js → chunk-GK7JNSMK.js} +2 -2
- package/dist/{chunk-HFBQCJNP.js → chunk-HCYRCU4W.js} +2 -2
- package/dist/{chunk-BJMNAPKH.js → chunk-HH7PM5HT.js} +10 -22
- package/dist/chunk-HH7PM5HT.js.map +1 -0
- package/dist/{chunk-7AAJYWC3.js → chunk-HPO7PB4F.js} +2 -2
- package/dist/{chunk-WF3P7GE5.js → chunk-I3CQBEKS.js} +2 -2
- package/dist/{chunk-RREWYOKS.js → chunk-IL4FCC54.js} +2 -2
- package/dist/{chunk-7M3DRP7Q.js → chunk-ILNO4ZJ6.js} +3 -3
- package/dist/{chunk-2CJZLL5Y.js → chunk-NHVL2QPG.js} +2 -1
- package/dist/{chunk-2CJZLL5Y.js.map → chunk-NHVL2QPG.js.map} +1 -1
- package/dist/{chunk-45PGSVOH.js → chunk-NTJUAPJM.js} +10 -8
- package/dist/chunk-NTJUAPJM.js.map +1 -0
- package/dist/{chunk-EUPUEMFX.js → chunk-PC4H5LVB.js} +7 -7
- package/dist/{chunk-KEKOPD43.js → chunk-PQ7RWH7L.js} +4 -2
- package/dist/chunk-PQ7RWH7L.js.map +1 -0
- package/dist/{chunk-HRMB72E4.js → chunk-QHP5PZNC.js} +2 -1
- package/dist/{chunk-HRMB72E4.js.map → chunk-QHP5PZNC.js.map} +1 -1
- package/dist/{chunk-GNBCSTXF.js → chunk-QKAYXAQE.js} +6 -6
- package/dist/{chunk-GNBCSTXF.js.map → chunk-QKAYXAQE.js.map} +1 -1
- package/dist/{chunk-TZFBJ47T.js → chunk-SFLNHCA2.js} +39 -15
- package/dist/chunk-SFLNHCA2.js.map +1 -0
- package/dist/{chunk-OBMPE6PW.js → chunk-SSDYEOU4.js} +5 -5
- package/dist/{chunk-I6ESCBY3.js → chunk-TF27Z27K.js} +2 -2
- package/dist/{chunk-JF5LQOGB.js → chunk-U47KRLEW.js} +57 -45
- package/dist/chunk-U47KRLEW.js.map +1 -0
- package/dist/{chunk-RBHBJDOZ.js → chunk-UEU5NSIG.js} +4 -4
- package/dist/chunk-V4V2N6YJ.js +55 -0
- package/dist/chunk-V4V2N6YJ.js.map +1 -0
- package/dist/{chunk-G76BNXWE.js → chunk-XW5SEW3H.js} +6 -6
- package/dist/{chunk-46ZATLQV.js → chunk-YIKFYWKD.js} +3 -3
- package/dist/{chunk-4JBS6NOT.js → chunk-ZWBGQYVO.js} +35 -6
- package/dist/chunk-ZWBGQYVO.js.map +1 -0
- package/dist/{chunk-VWW2EXH7.js → chunk-ZYJZHXFU.js} +4 -4
- package/dist/data-display/Avatar.js +2 -2
- package/dist/data-display/Badge.js +2 -2
- package/dist/data-display/CardKit.js +10 -10
- package/dist/data-display/Carousel.js +2 -2
- package/dist/data-display/Chart.js +6 -6
- package/dist/data-display/DataGrid.js +2 -2
- package/dist/data-display/DataViews.js +25 -23
- package/dist/en-US.js +1 -1
- package/dist/layout/ContentToolbar.js +1 -1
- package/dist/locales.js +2 -2
- package/dist/navigation/SectionNav.js +9 -9
- package/dist/pt-BR.js +1 -1
- package/dist/types/components/data-display/DataViews/DataViewsTableBase.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/base-list-card-geometry.d.ts +29 -1
- package/dist/types/components/data-display/DataViews/base-list-card-geometry.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/base-list-card-layout.d.ts +46 -0
- package/dist/types/components/data-display/DataViews/base-list-card-layout.d.ts.map +1 -0
- package/dist/types/components/data-display/DataViews/base-list-card-slots.d.ts +5 -2
- package/dist/types/components/data-display/DataViews/base-list-card-slots.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/base-list-card.d.ts +10 -1
- package/dist/types/components/data-display/DataViews/base-list-card.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/data-views-copy.d.ts +7 -0
- package/dist/types/components/data-display/DataViews/data-views-copy.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/data-views-grid-parts.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/data-views-selection-extra.d.ts +2 -0
- package/dist/types/components/data-display/DataViews/data-views-selection-extra.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/data-views-shell-toolbar.d.ts +3 -1
- package/dist/types/components/data-display/DataViews/data-views-shell-toolbar.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/data-views-toolbar.d.ts +2 -0
- package/dist/types/components/data-display/DataViews/data-views-toolbar.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/data-views-url-echo.d.ts +47 -0
- package/dist/types/components/data-display/DataViews/data-views-url-echo.d.ts.map +1 -0
- package/dist/types/components/data-display/DataViews/list-card-rails.d.ts +17 -2
- package/dist/types/components/data-display/DataViews/list-card-rails.d.ts.map +1 -1
- package/dist/types/components/layout/ContentToolbar/ContentToolbar.d.ts +3 -2
- package/dist/types/components/layout/ContentToolbar/ContentToolbar.d.ts.map +1 -1
- package/dist/types/components/layout/ContentToolbar/ContentToolbar.types.d.ts +14 -0
- package/dist/types/components/layout/ContentToolbar/ContentToolbar.types.d.ts.map +1 -1
- package/dist/types/en-US.data-display.d.ts.map +1 -1
- package/dist/types/pt-BR.data-display.d.ts.map +1 -1
- package/dist/user-avatar.js +3 -3
- package/package.json +1 -1
- package/src/components/data-display/DataViews/DataViewsTableBase.tsx +7 -36
- package/src/components/data-display/DataViews/base-list-card-geometry.tsx +114 -40
- package/src/components/data-display/DataViews/base-list-card-layout.tsx +104 -0
- package/src/components/data-display/DataViews/base-list-card-slots.tsx +47 -3
- package/src/components/data-display/DataViews/base-list-card.tsx +65 -68
- package/src/components/data-display/DataViews/data-views-copy.ts +7 -0
- package/src/components/data-display/DataViews/data-views-grid-parts.tsx +2 -1
- package/src/components/data-display/DataViews/data-views-selection-extra.ts +10 -1
- package/src/components/data-display/DataViews/data-views-shell-toolbar.tsx +4 -0
- package/src/components/data-display/DataViews/data-views-toolbar.tsx +4 -0
- package/src/components/data-display/DataViews/data-views-url-echo.ts +134 -0
- package/src/components/data-display/DataViews/list-card-rails.tsx +22 -6
- package/src/components/layout/ContentToolbar/ContentToolbar.md +5 -2
- package/src/components/layout/ContentToolbar/ContentToolbar.tsx +51 -10
- package/src/components/layout/ContentToolbar/ContentToolbar.types.ts +14 -0
- package/src/en-US.data-display.ts +1 -0
- package/src/pt-BR.data-display.ts +1 -0
- package/dist/chunk-45PGSVOH.js.map +0 -1
- package/dist/chunk-4JBS6NOT.js.map +0 -1
- package/dist/chunk-A6EUQDRK.js.map +0 -1
- package/dist/chunk-BJMNAPKH.js.map +0 -1
- package/dist/chunk-JF5LQOGB.js.map +0 -1
- package/dist/chunk-KEKOPD43.js.map +0 -1
- package/dist/chunk-LJKWWXZD.js.map +0 -1
- package/dist/chunk-TZFBJ47T.js.map +0 -1
- /package/dist/{chunk-MKAA3YIJ.js.map → chunk-3K7WN2PO.js.map} +0 -0
- /package/dist/{chunk-573XC4HK.js.map → chunk-4QKS5Y35.js.map} +0 -0
- /package/dist/{chunk-N4MR4EMC.js.map → chunk-6D2PFC5C.js.map} +0 -0
- /package/dist/{chunk-ICSXPZXT.js.map → chunk-6QBT5TPS.js.map} +0 -0
- /package/dist/{chunk-C67FDYG7.js.map → chunk-7CWZI6MQ.js.map} +0 -0
- /package/dist/{chunk-JL77BSOL.js.map → chunk-AQI3UK6P.js.map} +0 -0
- /package/dist/{chunk-GI24X7XA.js.map → chunk-DZIRCD2W.js.map} +0 -0
- /package/dist/{chunk-53ACGKBW.js.map → chunk-EDBP62WG.js.map} +0 -0
- /package/dist/{chunk-YXIVQFNW.js.map → chunk-EWIKSTJV.js.map} +0 -0
- /package/dist/{chunk-LWZ2K225.js.map → chunk-FXZUVZON.js.map} +0 -0
- /package/dist/{chunk-IK2ZVV3M.js.map → chunk-GK7JNSMK.js.map} +0 -0
- /package/dist/{chunk-HFBQCJNP.js.map → chunk-HCYRCU4W.js.map} +0 -0
- /package/dist/{chunk-7AAJYWC3.js.map → chunk-HPO7PB4F.js.map} +0 -0
- /package/dist/{chunk-WF3P7GE5.js.map → chunk-I3CQBEKS.js.map} +0 -0
- /package/dist/{chunk-RREWYOKS.js.map → chunk-IL4FCC54.js.map} +0 -0
- /package/dist/{chunk-7M3DRP7Q.js.map → chunk-ILNO4ZJ6.js.map} +0 -0
- /package/dist/{chunk-EUPUEMFX.js.map → chunk-PC4H5LVB.js.map} +0 -0
- /package/dist/{chunk-OBMPE6PW.js.map → chunk-SSDYEOU4.js.map} +0 -0
- /package/dist/{chunk-I6ESCBY3.js.map → chunk-TF27Z27K.js.map} +0 -0
- /package/dist/{chunk-RBHBJDOZ.js.map → chunk-UEU5NSIG.js.map} +0 -0
- /package/dist/{chunk-G76BNXWE.js.map → chunk-XW5SEW3H.js.map} +0 -0
- /package/dist/{chunk-46ZATLQV.js.map → chunk-YIKFYWKD.js.map} +0 -0
- /package/dist/{chunk-VWW2EXH7.js.map → chunk-ZYJZHXFU.js.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RAIL_GAP_PX
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-QKAYXAQE.js";
|
|
4
4
|
import {
|
|
5
5
|
DescriptionItem
|
|
6
6
|
} from "./chunk-UMICTXMP.js";
|
|
@@ -16,6 +16,7 @@ import {
|
|
|
16
16
|
} from "./chunk-YKCAJ2TN.js";
|
|
17
17
|
|
|
18
18
|
// src/components/data-display/DataViews/base-list-card-slots.tsx
|
|
19
|
+
import KeyboardArrowRightIcon from "@mui/icons-material/KeyboardArrowRight";
|
|
19
20
|
import { Fragment } from "react";
|
|
20
21
|
import { Fragment as Fragment2, jsx, jsxs } from "react/jsx-runtime";
|
|
21
22
|
var META_BREAK = 520;
|
|
@@ -149,16 +150,29 @@ function ListCardActions({
|
|
|
149
150
|
actions,
|
|
150
151
|
alwaysVisible,
|
|
151
152
|
menu,
|
|
153
|
+
opens = false,
|
|
152
154
|
testId
|
|
153
155
|
}) {
|
|
154
|
-
if (actions == null && menu == null) return null;
|
|
156
|
+
if (actions == null && menu == null && !opens) return null;
|
|
155
157
|
return (
|
|
156
|
-
// z-index 1: above the stretched link, so these stay clickable.
|
|
158
|
+
// z-index 1: above the stretched link, so these stay clickable. The box
|
|
159
|
+
// itself lets clicks through (`pointer-events: none`, re-enabled on its
|
|
160
|
+
// children): only the controls inside it are meant to catch one, and the
|
|
161
|
+
// chevron, which re-disables it, must hand its click to the row or link
|
|
162
|
+
// underneath rather than swallow it.
|
|
157
163
|
/* @__PURE__ */ jsxs(
|
|
158
164
|
default2,
|
|
159
165
|
{
|
|
160
166
|
"data-slot": "actions",
|
|
161
|
-
sx: {
|
|
167
|
+
sx: {
|
|
168
|
+
display: "flex",
|
|
169
|
+
alignItems: "center",
|
|
170
|
+
gap: 0.5,
|
|
171
|
+
position: "relative",
|
|
172
|
+
zIndex: 1,
|
|
173
|
+
pointerEvents: "none",
|
|
174
|
+
"& > *": { pointerEvents: "auto" }
|
|
175
|
+
},
|
|
162
176
|
children: [
|
|
163
177
|
actions && /* @__PURE__ */ jsx(
|
|
164
178
|
default2,
|
|
@@ -179,18 +193,32 @@ function ListCardActions({
|
|
|
179
193
|
children: actions
|
|
180
194
|
}
|
|
181
195
|
),
|
|
182
|
-
menu && /* @__PURE__ */ jsx(default2, { "data-testid": testId("menu"), onClick: (event) => event.stopPropagation(), children: menu })
|
|
196
|
+
menu && /* @__PURE__ */ jsx(default2, { "data-testid": testId("menu"), onClick: (event) => event.stopPropagation(), children: menu }),
|
|
197
|
+
opens && /* @__PURE__ */ jsx(OpenChevron, { testId: testId("open") })
|
|
183
198
|
]
|
|
184
199
|
}
|
|
185
200
|
)
|
|
186
201
|
);
|
|
187
202
|
}
|
|
203
|
+
function OpenChevron({ testId }) {
|
|
204
|
+
return /* @__PURE__ */ jsx(
|
|
205
|
+
default2,
|
|
206
|
+
{
|
|
207
|
+
component: "span",
|
|
208
|
+
"aria-hidden": true,
|
|
209
|
+
"data-testid": testId,
|
|
210
|
+
sx: { display: "flex", alignItems: "center", color: "text.secondary", pointerEvents: "none !important" },
|
|
211
|
+
children: /* @__PURE__ */ jsx(KeyboardArrowRightIcon, { fontSize: "small" })
|
|
212
|
+
}
|
|
213
|
+
);
|
|
214
|
+
}
|
|
188
215
|
function ListCardTail({
|
|
189
216
|
value,
|
|
190
217
|
separated,
|
|
191
218
|
actions,
|
|
192
219
|
actionsAlwaysVisible,
|
|
193
220
|
menu,
|
|
221
|
+
opens,
|
|
194
222
|
testId
|
|
195
223
|
}) {
|
|
196
224
|
return /* @__PURE__ */ jsxs(Fragment2, { children: [
|
|
@@ -212,6 +240,7 @@ function ListCardTail({
|
|
|
212
240
|
actions,
|
|
213
241
|
alwaysVisible: actionsAlwaysVisible,
|
|
214
242
|
menu,
|
|
243
|
+
opens,
|
|
215
244
|
testId
|
|
216
245
|
}
|
|
217
246
|
)
|
|
@@ -226,4 +255,4 @@ export {
|
|
|
226
255
|
ListCardActions,
|
|
227
256
|
ListCardTail
|
|
228
257
|
};
|
|
229
|
-
//# sourceMappingURL=chunk-
|
|
258
|
+
//# sourceMappingURL=chunk-ZWBGQYVO.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/data-display/DataViews/base-list-card-slots.tsx"],"sourcesContent":["\"use client\";\n\nimport KeyboardArrowRightIcon from \"@mui/icons-material/KeyboardArrowRight\";\nimport { Fragment, type ReactNode } from \"react\";\n\nimport { DescriptionItem, type DescriptionItemProps } from \"../DescriptionItem\";\nimport { RAIL_GAP_PX } from \"./list-card-rails\";\nimport { Box } from \"../../../mui/Box\";\nimport { Text } from \"../../typography/Text\";\nimport type { Theme } from \"@mui/material/styles/index.js\";\n\nimport { rem, sxRem } from \"../../../tokens/relative\";\n\n/**\n * WHAT SITS IN EACH RAIL.\n *\n * Split from `base-list-card` at the size gate: that module is the shell, the\n * rails and the states; this is the content of each column.\n */\n\n/** Below this the row drops its middle columns. */\nexport const META_BREAK = 520;\n/** …and below this it leaves the shared rails and goes two-line. */\nexport const STACK_BREAK = 360;\n\n/** Money and dates line up only if their digits are the same width. */\nconst TABULAR = { fontVariantNumeric: \"tabular-nums\" } as const;\n\nconst CLAMP = {\n overflow: \"hidden\",\n textOverflow: \"ellipsis\",\n whiteSpace: \"nowrap\",\n} as const;\n\n/**\n * Title over subtitle — and, when the row navigates, the anchor that covers it.\n *\n * The link is a real `<a>` stretched by `::after` over the whole card rather\n * than a click handler on a `<div>`. That buys cmd-click, middle-click, \"copy\n * link address\", the status bar preview and correct tab order, and it stops the\n * buttons elsewhere in the row from being interactive elements nested inside a\n * clickable one.\n */\nexport function ListCardCaption({\n title,\n subtitle,\n href,\n target,\n testId,\n}: {\n title?: ReactNode;\n subtitle?: ReactNode;\n href?: string;\n target?: string;\n testId?: string;\n}): React.JSX.Element {\n return (\n <Box data-slot=\"caption\" sx={{ minWidth: 0 }}>\n {title != null && (\n <Text variant=\"heading\" size=\"sm\" weight=\"bold\" as=\"p\">\n <Box\n {...(href ? { component: \"a\", href, target } : { component: \"span\" })}\n data-testid={testId}\n sx={{\n display: \"block\",\n lineHeight: 1.2,\n fontSize: sxRem(14.4),\n color: \"inherit\",\n textDecoration: \"none\",\n ...CLAMP,\n ...(href\n ? {\n \"&::after\": {\n content: '\"\"',\n position: \"absolute\",\n inset: 0,\n // Under the checkbox, drag grip, actions and menu, which\n // all raise themselves to 1.\n zIndex: 0,\n },\n \"&:hover\": { textDecoration: \"underline\" },\n }\n : {}),\n }}\n >\n {title}\n </Box>\n </Text>\n )}\n {subtitle != null && (\n <Text variant=\"caption\" size=\"xs\" color=\"secondary\" as=\"p\">\n <Box component=\"span\" sx={{ display: \"block\", ...CLAMP }}>\n {subtitle}\n </Box>\n </Text>\n )}\n </Box>\n );\n}\n\n/** One rule between two columns. Shared, so every gap gets the same mark. */\nfunction MetaRule(): React.JSX.Element {\n return (\n <Box\n aria-hidden\n sx={{\n flex: \"0 0 auto\",\n color: \"text.disabled\",\n opacity: 0.5,\n userSelect: \"none\",\n fontSize: sxRem(14),\n // A cancelled row strikes the whole meta cluster, and a struck `|` is a\n // dagger. The rule is punctuation, not data — nothing to void.\n textDecoration: \"none\",\n }}\n >\n |\n </Box>\n );\n}\n\n/**\n * The middle columns: stacked label-over-value pairs, separated by a rule.\n *\n * Stacked rather than side by side because `DATA 05/08/2026` inline spends the\n * horizontal room the value rail needs, and the separator is what stops two\n * adjacent pairs reading as one four-word phrase.\n *\n * EVEN GAPS, NOT EVEN BOXES. The rail takes a share of the row's spare width\n * per pair (see `metaRail`), and the obvious way to spend it — give every pair\n * an equal-width box and centre its content — puts the separator on the BOX\n * boundary, which is only the visual midpoint when both pairs are the same\n * width. They never are: `05/08/2026, 13:45` reaches almost to the edge of its\n * box while `PIX` stops well short of its own, so the rule ends up crowded\n * against the date and adrift from the method.\n *\n * So the pairs are sized to their content and the SPARE space is what gets\n * divided evenly. `space-evenly` gives every gap — including the two either\n * side of each separator — the same width, which puts each rule exactly halfway\n * between the two labels it separates, whatever they happen to say.\n */\nexport function ListCardMeta({\n meta,\n metaSlot,\n trailingRule,\n}: {\n meta?: DescriptionItemProps[];\n metaSlot?: ReactNode;\n /** Close the run with a rule, dividing the last pair from the value. */\n trailingRule?: boolean;\n}): React.JSX.Element {\n const items = meta ?? [];\n return (\n <Box\n data-slot=\"meta\"\n sx={(theme) => ({\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"space-evenly\",\n // A FLOOR, not the spacing itself: `space-evenly` supplies the rest, and\n // this is only what keeps a rail with no room to spare from running the\n // date straight into the rule.\n gap: 1,\n whiteSpace: \"nowrap\",\n ...TABULAR,\n // Rung 1 of the ladder.\n [`@container (max-width: ${rem(theme, META_BREAK)})`]: { display: \"none\" },\n })}\n >\n {items.map((item, index) => (\n <Fragment key={`${item.label}-${index}`}>\n {/* ITS OWN ITEM, not the first child of the pair that follows it.\n Nested inside, the rule travelled with that pair's centred content\n and came to rest nearer one label than the other — a separator\n visibly closer to MÉTODO than to DATA reads as belonging to it. */}\n {index > 0 && <MetaRule />}\n {/* Centred: a stacked pair sitting in its own column reads as one\n unit only when the label is over the value rather than flush left\n of a value shorter than it — `MÉTODO` above `PIX` was visibly\n unhinged from it. Overridable per item. */}\n <Box\n sx={{\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n minWidth: 0,\n // Sized to the pair, so the gaps either side of it are free space\n // that `space-evenly` can equalise.\n flex: \"0 0 auto\",\n }}\n >\n <DescriptionItem orientation=\"vertical\" align=\"center\" {...item} />\n </Box>\n </Fragment>\n ))}\n {metaSlot}\n {trailingRule && items.length > 0 && <MetaRule />}\n </Box>\n );\n}\n\n/**\n * The value sits flush against the meta rail, with no gap of its own.\n *\n * Its divider is now the LAST ITEM OF THE META CLUSTER, placed by the same\n * `space-evenly` that places the rules between the pairs — so it is equidistant\n * from `PIX` and from `R$ 13,90` for free, which a rule centred in the rail gap\n * could never be: the cluster's content stops well short of the rail's right\n * edge, leaving that rule 150px from the method and 12px from the money.\n *\n * Cancelling this one gap is what makes the two distances equal. Below\n * `META_BREAK` the cluster (and its rule) are gone, so the gap comes back —\n * otherwise the value would sit straight against the title.\n */\nconst valueFlush = (theme: Theme) => ({\n marginLeft: rem(theme, -RAIL_GAP_PX),\n [`@container (max-width: ${rem(theme, META_BREAK)})`]: { marginLeft: 0 },\n});\n\n/** The value, on its own rail, never truncated and never shunted by the chip. */\nfunction ListCardValue({ value }: { value: ReactNode }): React.JSX.Element {\n return (\n <Text variant=\"body\" size=\"sm\" weight=\"medium\" as=\"span\">\n <Box\n component=\"span\"\n sx={{ fontSize: sxRem(14), whiteSpace: \"nowrap\", ...TABULAR }}\n >\n {value}\n </Box>\n </Text>\n );\n}\n\n/**\n * The actions and the menu, at the end of the row.\n *\n * Actions are revealed on hover and `:focus-within` — always-visible buttons on\n * every row of fifty is a lot of chrome for something used on one of them.\n * `:focus-within` is what keeps them reachable by keyboard, and `visibility`\n * rather than `display` keeps their space reserved so nothing shifts.\n */\nexport function ListCardActions({\n actions,\n alwaysVisible,\n menu,\n opens = false,\n testId,\n}: {\n actions?: ReactNode;\n alwaysVisible?: boolean;\n menu?: ReactNode;\n /** End the row with the \"this opens\" chevron. */\n opens?: boolean;\n testId: (slot: string) => string | undefined;\n}): React.JSX.Element | null {\n if (actions == null && menu == null && !opens) return null;\n return (\n // z-index 1: above the stretched link, so these stay clickable. The box\n // itself lets clicks through (`pointer-events: none`, re-enabled on its\n // children): only the controls inside it are meant to catch one, and the\n // chevron, which re-disables it, must hand its click to the row or link\n // underneath rather than swallow it.\n <Box\n data-slot=\"actions\"\n sx={{\n display: \"flex\",\n alignItems: \"center\",\n gap: 0.5,\n position: \"relative\",\n zIndex: 1,\n pointerEvents: \"none\",\n \"& > *\": { pointerEvents: \"auto\" },\n }}\n >\n {actions && (\n <Box\n data-testid={testId(\"actions\")}\n onClick={(event) => event.stopPropagation()}\n sx={{\n display: \"flex\",\n alignItems: \"center\",\n gap: 0.5,\n ...(alwaysVisible\n ? {}\n : {\n visibility: \"hidden\",\n \".MuiPaper-root:hover &, .MuiPaper-root:focus-within &\": {\n visibility: \"visible\",\n },\n }),\n }}\n >\n {actions}\n </Box>\n )}\n {menu && (\n <Box data-testid={testId(\"menu\")} onClick={(event) => event.stopPropagation()}>\n {menu}\n </Box>\n )}\n {opens && <OpenChevron testId={testId(\"open\")} />}\n </Box>\n );\n}\n\n/**\n * THE \"THIS OPENS\" CHEVRON, at the end of a row that leads somewhere.\n *\n * A row that navigates or opens a record looked exactly like a row that does\n * nothing until a pointer hovered it, and a phone has no hover. Always visible —\n * unlike `actions`, it is a statement about the row, not a control to reveal.\n *\n * Decorative to assistive tech (`aria-hidden`): the row itself is the button or\n * the link, and already says so. It takes no click of its own for the same\n * reason; the click falls through to the row.\n */\nfunction OpenChevron({ testId }: { testId?: string }): React.JSX.Element {\n return (\n <Box\n component=\"span\"\n aria-hidden\n data-testid={testId}\n sx={{ display: \"flex\", alignItems: \"center\", color: \"text.secondary\", pointerEvents: \"none !important\" }}\n >\n <KeyboardArrowRightIcon fontSize=\"small\" />\n </Box>\n );\n}\n\n/** Value and actions — separate rails, not one flex run. */\nexport function ListCardTail({\n value,\n separated,\n actions,\n actionsAlwaysVisible,\n menu,\n opens,\n testId,\n}: {\n value?: ReactNode;\n /** Whether a meta cluster precedes the value and wants dividing from it. */\n separated?: boolean;\n actions?: ReactNode;\n actionsAlwaysVisible?: boolean;\n menu?: ReactNode;\n opens?: boolean;\n testId: (slot: string) => string | undefined;\n}): React.JSX.Element {\n return (\n <>\n <Box\n data-slot=\"value\"\n sx={(theme) => ({\n textAlign: \"right\",\n ...(separated && value != null ? valueFlush(theme) : {}),\n })}\n data-testid={testId(\"value\")}\n >\n {value != null && <ListCardValue value={value} />}\n </Box>\n <ListCardActions\n actions={actions}\n alwaysVisible={actionsAlwaysVisible}\n menu={menu}\n opens={opens}\n testId={testId}\n />\n </>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAEA,OAAO,4BAA4B;AACnC,SAAS,gBAAgC;AAsDrC,SAoSA,YAAAA,WAjSM,KAHN;AApCG,IAAM,aAAa;AAEnB,IAAM,cAAc;AAG3B,IAAM,UAAU,EAAE,oBAAoB,eAAe;AAErD,IAAM,QAAQ;AAAA,EACZ,UAAU;AAAA,EACV,cAAc;AAAA,EACd,YAAY;AACd;AAWO,SAAS,gBAAgB;AA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;AAAA;AAAA,EAC3C;AAEJ;AAGO,SAAS,aAAa;AAAA,EAC3B;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,GASsB;AACpB,SACE,qBAAAD,WAAA,EACE;AAAA;AAAA,MAACC;AAAA,MAAA;AAAA,QACC,aAAU;AAAA,QACV,IAAI,CAAC,WAAW;AAAA,UACd,WAAW;AAAA,UACX,GAAI,aAAa,SAAS,OAAO,WAAW,KAAK,IAAI,CAAC;AAAA,QACxD;AAAA,QACA,eAAa,OAAO,OAAO;AAAA,QAE1B,mBAAS,QAAQ,oBAAC,iBAAc,OAAc;AAAA;AAAA,IACjD;AAAA,IACA;AAAA,MAAC;AAAA;AAAA,QACC;AAAA,QACA,eAAe;AAAA,QACf;AAAA,QACA;AAAA,QACA;AAAA;AAAA,IACF;AAAA,KACF;AAEJ;","names":["Fragment","default"]}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RaisedActionButton
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-HPO7PB4F.js";
|
|
4
4
|
import {
|
|
5
5
|
SectionNavSheet
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-I3CQBEKS.js";
|
|
7
7
|
import {
|
|
8
8
|
Box,
|
|
9
9
|
CONTROL_RESET,
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
controlProps,
|
|
14
14
|
destinationControl,
|
|
15
15
|
focusRing
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-GK7JNSMK.js";
|
|
17
17
|
import {
|
|
18
18
|
barSlots,
|
|
19
19
|
destinationState,
|
|
@@ -291,4 +291,4 @@ export {
|
|
|
291
291
|
sectionNavBarInset,
|
|
292
292
|
SectionNavBar
|
|
293
293
|
};
|
|
294
|
-
//# sourceMappingURL=chunk-
|
|
294
|
+
//# sourceMappingURL=chunk-ZYJZHXFU.js.map
|
|
@@ -2,10 +2,10 @@ import "../chunk-UDQSIRAP.js";
|
|
|
2
2
|
import {
|
|
3
3
|
Avatar,
|
|
4
4
|
AvatarGroup
|
|
5
|
-
} from "../chunk-
|
|
6
|
-
import "../chunk-3ZVUNSFF.js";
|
|
5
|
+
} from "../chunk-XW5SEW3H.js";
|
|
7
6
|
import "../chunk-GYDUXL3D.js";
|
|
8
7
|
import "../chunk-6ZZGK5DT.js";
|
|
8
|
+
import "../chunk-3ZVUNSFF.js";
|
|
9
9
|
import "../chunk-MTEQEPNY.js";
|
|
10
10
|
import "../chunk-SSX5ITPM.js";
|
|
11
11
|
import "../chunk-F5H2ZXST.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "../chunk-5AK2EZG5.js";
|
|
2
2
|
import {
|
|
3
3
|
Badge
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-6C5D6O3D.js";
|
|
4
|
+
} from "../chunk-PC4H5LVB.js";
|
|
6
5
|
import "../chunk-H6XOWGQV.js";
|
|
7
6
|
import "../chunk-OEMZFRLF.js";
|
|
8
7
|
import "../chunk-O23DG4VH.js";
|
|
8
|
+
import "../chunk-6C5D6O3D.js";
|
|
9
9
|
import "../chunk-3UIDKLML.js";
|
|
10
10
|
import "../chunk-PYC4CWCQ.js";
|
|
11
11
|
import "../chunk-TYJR4GOF.js";
|
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
import {
|
|
2
|
+
rowActionsToMenuItems
|
|
3
|
+
} from "../chunk-ZBXG6RVJ.js";
|
|
4
|
+
import {
|
|
5
|
+
BodyHeading,
|
|
6
|
+
DetailColumns,
|
|
7
|
+
Fact,
|
|
8
|
+
Ledger,
|
|
9
|
+
TagList
|
|
10
|
+
} from "../chunk-JOKWTRWL.js";
|
|
1
11
|
import {
|
|
2
12
|
CardKebab
|
|
3
13
|
} from "../chunk-XGIJGIN3.js";
|
|
@@ -11,16 +21,6 @@ import {
|
|
|
11
21
|
CardActionsProvider,
|
|
12
22
|
useCardActions
|
|
13
23
|
} from "../chunk-UZANFXCK.js";
|
|
14
|
-
import {
|
|
15
|
-
rowActionsToMenuItems
|
|
16
|
-
} from "../chunk-ZBXG6RVJ.js";
|
|
17
|
-
import {
|
|
18
|
-
BodyHeading,
|
|
19
|
-
DetailColumns,
|
|
20
|
-
Fact,
|
|
21
|
-
Ledger,
|
|
22
|
-
TagList
|
|
23
|
-
} from "../chunk-JOKWTRWL.js";
|
|
24
24
|
import "../chunk-WVML3ENZ.js";
|
|
25
25
|
import "../chunk-2X2G75MV.js";
|
|
26
26
|
import "../chunk-XCBQXSTR.js";
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import "../chunk-62FET2BM.js";
|
|
2
2
|
import {
|
|
3
3
|
Carousel
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-SSDYEOU4.js";
|
|
5
|
+
import "../chunk-Z64TMGYT.js";
|
|
5
6
|
import "../chunk-EMNDJ57M.js";
|
|
6
7
|
import "../chunk-RUIV5TVA.js";
|
|
7
8
|
import "../chunk-QCTG7LIX.js";
|
|
@@ -10,7 +11,6 @@ import {
|
|
|
10
11
|
CarouselIndicators,
|
|
11
12
|
CarouselThumbnails
|
|
12
13
|
} from "../chunk-7GWRSYUS.js";
|
|
13
|
-
import "../chunk-Z64TMGYT.js";
|
|
14
14
|
import "../chunk-HPK33ACY.js";
|
|
15
15
|
import "../chunk-B7ZHEOQQ.js";
|
|
16
16
|
import "../chunk-BRHRK7BK.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "../chunk-5KLSLD72.js";
|
|
2
2
|
import {
|
|
3
3
|
SpecChart
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-DZIRCD2W.js";
|
|
5
5
|
import {
|
|
6
6
|
Chart
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-AQI3UK6P.js";
|
|
8
8
|
import {
|
|
9
9
|
CHART_SEMANTIC_COLORS,
|
|
10
10
|
ChartSpecError,
|
|
@@ -16,7 +16,9 @@ import {
|
|
|
16
16
|
getRegisteredChartSpecTypes,
|
|
17
17
|
registerChartSpecRenderer
|
|
18
18
|
} from "../chunk-WKUA6P3W.js";
|
|
19
|
-
import "../chunk-
|
|
19
|
+
import "../chunk-UEU5NSIG.js";
|
|
20
|
+
import "../chunk-7CWZI6MQ.js";
|
|
21
|
+
import "../chunk-SOHQPPYJ.js";
|
|
20
22
|
import {
|
|
21
23
|
ChartContainer,
|
|
22
24
|
ChartLegend,
|
|
@@ -24,13 +26,11 @@ import {
|
|
|
24
26
|
ChartTooltip,
|
|
25
27
|
ChartTooltipContent
|
|
26
28
|
} from "../chunk-RIRTW5EU.js";
|
|
29
|
+
import "../chunk-FIMSPRKX.js";
|
|
27
30
|
import {
|
|
28
31
|
chartValueFormatter,
|
|
29
32
|
formatChartValue
|
|
30
33
|
} from "../chunk-QVWNK4JO.js";
|
|
31
|
-
import "../chunk-C67FDYG7.js";
|
|
32
|
-
import "../chunk-FIMSPRKX.js";
|
|
33
|
-
import "../chunk-SOHQPPYJ.js";
|
|
34
34
|
import "../chunk-B7ZHEOQQ.js";
|
|
35
35
|
import "../chunk-BRHRK7BK.js";
|
|
36
36
|
import "../chunk-25MSGLNU.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "../chunk-L5CPOEDP.js";
|
|
2
2
|
import {
|
|
3
3
|
DataGrid
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-FXZUVZON.js";
|
|
5
|
+
import "../chunk-EARWC6PD.js";
|
|
5
6
|
import "../chunk-LDROG4QI.js";
|
|
6
7
|
import "../chunk-ZFXTRPQO.js";
|
|
7
8
|
import "../chunk-ICDAYOJ6.js";
|
|
8
|
-
import "../chunk-EARWC6PD.js";
|
|
9
9
|
import "../chunk-G3E66C6J.js";
|
|
10
10
|
import "../chunk-YKCAJ2TN.js";
|
|
11
11
|
import "../chunk-PZ5AY32C.js";
|
|
@@ -1,64 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DataViewsTableBase
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-HH7PM5HT.js";
|
|
4
4
|
import "../chunk-H7R6UKOE.js";
|
|
5
5
|
import {
|
|
6
6
|
DataViewsGrid
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-6QBT5TPS.js";
|
|
8
8
|
import {
|
|
9
9
|
BaseListCard
|
|
10
|
-
} from "../chunk-
|
|
10
|
+
} from "../chunk-6OSUK2C7.js";
|
|
11
|
+
import "../chunk-V4V2N6YJ.js";
|
|
11
12
|
import "../chunk-PIIPEXRM.js";
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
13
|
+
import "../chunk-U47KRLEW.js";
|
|
14
|
+
import "../chunk-ZWBGQYVO.js";
|
|
14
15
|
import "../chunk-2JCRNWHE.js";
|
|
15
16
|
import {
|
|
16
17
|
BaseCard
|
|
17
18
|
} from "../chunk-35IEACIJ.js";
|
|
18
19
|
import "../chunk-EUGF43BX.js";
|
|
20
|
+
import "../chunk-ZOLAYP2D.js";
|
|
19
21
|
import {
|
|
20
22
|
DragContainerProvider,
|
|
21
23
|
DropIndicator,
|
|
22
24
|
useDragItem
|
|
23
25
|
} from "../chunk-K4EKTMTC.js";
|
|
24
|
-
import "../chunk-
|
|
25
|
-
import "../chunk-
|
|
26
|
-
import "../chunk-N4MR4EMC.js";
|
|
26
|
+
import "../chunk-NTJUAPJM.js";
|
|
27
|
+
import "../chunk-6D2PFC5C.js";
|
|
27
28
|
import "../chunk-6NWFX2XJ.js";
|
|
28
|
-
import "../chunk-
|
|
29
|
+
import "../chunk-3K7WN2PO.js";
|
|
29
30
|
import "../chunk-QLJU7UUI.js";
|
|
31
|
+
import "../chunk-HCYRCU4W.js";
|
|
32
|
+
import "../chunk-4QKS5Y35.js";
|
|
33
|
+
import "../chunk-GWUJIO6Z.js";
|
|
30
34
|
import "../chunk-X3AFXHY5.js";
|
|
31
|
-
import "../chunk-
|
|
35
|
+
import "../chunk-ILNO4ZJ6.js";
|
|
32
36
|
import {
|
|
33
37
|
DataViewsBoard
|
|
34
38
|
} from "../chunk-NHHWNA5W.js";
|
|
39
|
+
import "../chunk-EWIKSTJV.js";
|
|
40
|
+
import "../chunk-7D7CJRL7.js";
|
|
41
|
+
import "../chunk-CBOB5AV6.js";
|
|
35
42
|
import "../chunk-K6WY2CHG.js";
|
|
36
43
|
import "../chunk-6QYKZMEE.js";
|
|
37
44
|
import "../chunk-DNT5PZLF.js";
|
|
38
|
-
import "../chunk-HFBQCJNP.js";
|
|
39
|
-
import "../chunk-573XC4HK.js";
|
|
40
|
-
import "../chunk-GWUJIO6Z.js";
|
|
41
|
-
import "../chunk-YXIVQFNW.js";
|
|
42
|
-
import "../chunk-7D7CJRL7.js";
|
|
43
45
|
import "../chunk-FJ3UZ4RC.js";
|
|
46
|
+
import "../chunk-5YDS6HO3.js";
|
|
44
47
|
import "../chunk-CFAIMOFE.js";
|
|
45
48
|
import "../chunk-ACBHZG3Z.js";
|
|
46
49
|
import "../chunk-5JWCNQSI.js";
|
|
47
50
|
import "../chunk-O5UGAL2V.js";
|
|
48
51
|
import "../chunk-GCZJH4XL.js";
|
|
49
|
-
import "../chunk-
|
|
52
|
+
import "../chunk-G6EJLEVV.js";
|
|
50
53
|
import "../chunk-X7HCS3HP.js";
|
|
51
54
|
import "../chunk-6J27G2HT.js";
|
|
52
55
|
import "../chunk-GRRW5NSR.js";
|
|
53
56
|
import "../chunk-5M4TYFR3.js";
|
|
54
|
-
import "../chunk-
|
|
55
|
-
import "../chunk-
|
|
57
|
+
import "../chunk-ARJIKW56.js";
|
|
58
|
+
import "../chunk-PQ7RWH7L.js";
|
|
56
59
|
import "../chunk-CMBZ3J6I.js";
|
|
57
60
|
import "../chunk-CTIMTEH7.js";
|
|
58
61
|
import "../chunk-WSAUWJFO.js";
|
|
59
62
|
import "../chunk-TTIZUZ57.js";
|
|
60
63
|
import "../chunk-YLGY3D52.js";
|
|
61
|
-
import "../chunk-KX75HM5U.js";
|
|
62
64
|
import "../chunk-HR7YTBR7.js";
|
|
63
65
|
import "../chunk-DZEC6RFM.js";
|
|
64
66
|
import "../chunk-2W2MWEP2.js";
|
|
@@ -77,7 +79,7 @@ import {
|
|
|
77
79
|
DEFAULT_RAILS,
|
|
78
80
|
ListCardGroup,
|
|
79
81
|
RAIL_COUNT
|
|
80
|
-
} from "../chunk-
|
|
82
|
+
} from "../chunk-QKAYXAQE.js";
|
|
81
83
|
import {
|
|
82
84
|
cardMinWidthForZoom,
|
|
83
85
|
cardScaleForZoom
|
|
@@ -109,7 +111,7 @@ import "../chunk-4NS4PJJH.js";
|
|
|
109
111
|
import "../chunk-7LOCLC24.js";
|
|
110
112
|
import "../chunk-7AIL2F5E.js";
|
|
111
113
|
import "../chunk-MOLQGQEQ.js";
|
|
112
|
-
import "../chunk-
|
|
114
|
+
import "../chunk-SFLNHCA2.js";
|
|
113
115
|
import "../chunk-6E4L53DF.js";
|
|
114
116
|
import "../chunk-3Y7LSMGV.js";
|
|
115
117
|
import "../chunk-7TKQIZ3K.js";
|
|
@@ -177,11 +179,11 @@ import "../chunk-JZRSHDNY.js";
|
|
|
177
179
|
import "../chunk-2KGYTJCN.js";
|
|
178
180
|
import "../chunk-NEHCU3EZ.js";
|
|
179
181
|
import "../chunk-L5CPOEDP.js";
|
|
180
|
-
import "../chunk-
|
|
182
|
+
import "../chunk-FXZUVZON.js";
|
|
183
|
+
import "../chunk-EARWC6PD.js";
|
|
181
184
|
import "../chunk-LDROG4QI.js";
|
|
182
185
|
import "../chunk-ZFXTRPQO.js";
|
|
183
186
|
import "../chunk-ICDAYOJ6.js";
|
|
184
|
-
import "../chunk-EARWC6PD.js";
|
|
185
187
|
import "../chunk-G3E66C6J.js";
|
|
186
188
|
import "../chunk-SNCSGLJ6.js";
|
|
187
189
|
import "../chunk-UMICTXMP.js";
|
package/dist/en-US.js
CHANGED
package/dist/locales.js
CHANGED
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
EN_US_LIGHTBOX_COPY,
|
|
8
8
|
EN_US_MAP_PREVIEW_COPY,
|
|
9
9
|
EN_US_TIMING_DIAGRAM_COPY
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-NHVL2QPG.js";
|
|
11
11
|
import {
|
|
12
12
|
EN_US_INSTALL_PROMPT_COPY,
|
|
13
13
|
EN_US_USER_AVATAR_COPY
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
PT_BR_LIGHTBOX_COPY,
|
|
47
47
|
PT_BR_MAP_PREVIEW_COPY,
|
|
48
48
|
PT_BR_TIMING_DIAGRAM_COPY
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-QHP5PZNC.js";
|
|
50
50
|
import {
|
|
51
51
|
PT_BR_INSTALL_PROMPT_COPY,
|
|
52
52
|
PT_BR_USER_AVATAR_COPY
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import "../chunk-R26KYJHK.js";
|
|
2
2
|
import {
|
|
3
3
|
SectionNav
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-YIKFYWKD.js";
|
|
5
|
+
import "../chunk-EDBP62WG.js";
|
|
6
|
+
import "../chunk-IL4FCC54.js";
|
|
7
7
|
import {
|
|
8
8
|
sectionNavBarInset
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-ZYJZHXFU.js";
|
|
10
10
|
import {
|
|
11
11
|
RaisedActionButton
|
|
12
|
-
} from "../chunk-
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
12
|
+
} from "../chunk-HPO7PB4F.js";
|
|
13
|
+
import "../chunk-I3CQBEKS.js";
|
|
14
|
+
import "../chunk-GK7JNSMK.js";
|
|
15
15
|
import "../chunk-P3GBXE73.js";
|
|
16
16
|
import "../chunk-TMSWLFL4.js";
|
|
17
17
|
import "../chunk-UYCFHV2S.js";
|
|
18
18
|
import "../chunk-5AK2EZG5.js";
|
|
19
|
-
import "../chunk-
|
|
20
|
-
import "../chunk-6C5D6O3D.js";
|
|
19
|
+
import "../chunk-PC4H5LVB.js";
|
|
21
20
|
import "../chunk-H6XOWGQV.js";
|
|
22
21
|
import "../chunk-OEMZFRLF.js";
|
|
23
22
|
import "../chunk-O23DG4VH.js";
|
|
23
|
+
import "../chunk-6C5D6O3D.js";
|
|
24
24
|
import "../chunk-3UIDKLML.js";
|
|
25
25
|
import "../chunk-PYC4CWCQ.js";
|
|
26
26
|
import "../chunk-TYJR4GOF.js";
|
package/dist/pt-BR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataViewsTableBase.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-display/DataViews/DataViewsTableBase.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAIvE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AACzE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAIzD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"DataViewsTableBase.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-display/DataViews/DataViewsTableBase.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAIvE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AACzE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAIzD,OAAO,KAA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AK,CAAC,SAAS,CAAC;IAC9E,sFAAsF;IACtF,SAAS,CAAC,EAAE,eAAe,CAAC,CAAC,CAAC,CAAC;IAC/B,sFAAsF;IACtF,MAAM,CAAC,EAAE,WAAW,EAAE,CAAC;IACvB,8FAA8F;IAC9F,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,8FAA8F;IAC9F,aAAa,CAAC,EAAE,eAAe,CAAC;IAChC;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,mGAAmG;IACnG,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,iFAAiF;IACjF,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,gGAAgG;IAChG,MAAM,CAAC,EAAE,cAAc,CAAC;IACxB,sGAAsG;IACtG,YAAY,CAAC,EAAE,aAAa,CAAC;CAC9B;AAwGD;;;;;;;;GAQG;AACH,wBAAgB,kBAAkB,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAClE,KAAK,EAAE,uBAAuB,CAAC,CAAC,CAAC,GAChC,KAAK,CAAC,GAAG,CAAC,OAAO,CAkEnB"}
|
|
@@ -35,6 +35,22 @@ interface RowSxOptions {
|
|
|
35
35
|
divider: boolean;
|
|
36
36
|
interactive: boolean;
|
|
37
37
|
draggable: boolean;
|
|
38
|
+
/** What the two-line layout below `STACK_BREAK` has to place by name. */
|
|
39
|
+
stack: StackPlacement;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* The slots the stacked row places that the named-slot rules cannot know about.
|
|
43
|
+
*
|
|
44
|
+
* For a CONFIGURED row, `firstCell` is the cell that takes the title's place and
|
|
45
|
+
* `valueCell` the one that takes the value's (null for a named-slot row, or for
|
|
46
|
+
* a one-cell row with no value to show). `expandable` decides whether the
|
|
47
|
+
* disclosure button gets a place or, when it is only a reserved empty gutter,
|
|
48
|
+
* none at all.
|
|
49
|
+
*/
|
|
50
|
+
export interface StackPlacement {
|
|
51
|
+
firstCell: string | null;
|
|
52
|
+
valueCell: string | null;
|
|
53
|
+
expandable: boolean;
|
|
38
54
|
}
|
|
39
55
|
/**
|
|
40
56
|
* DIVIDER COMPOSES WITH THE VARIANT — it changes the row's SHAPE, not its
|
|
@@ -90,6 +106,18 @@ export declare function actionProps(onClick: (() => void) | undefined): {
|
|
|
90
106
|
onClick: () => void;
|
|
91
107
|
onKeyDown: (event: React.KeyboardEvent) => void;
|
|
92
108
|
};
|
|
93
|
-
|
|
109
|
+
/**
|
|
110
|
+
* Which head gutters this row renders: the ones it uses, or all three when its
|
|
111
|
+
* group reserves them. The template is built from this; the three gutter slots
|
|
112
|
+
* (`base-list-card-gutters.tsx`) apply the SAME conditions on their own — keep
|
|
113
|
+
* the two in step, because a template that disagrees with the slots is exactly
|
|
114
|
+
* how cells slid two tracks.
|
|
115
|
+
*/
|
|
116
|
+
export declare function rowGutters(props: BaseListCardProps, shell: ReturnType<typeof useRowShell>): {
|
|
117
|
+
disclose: boolean;
|
|
118
|
+
drag: boolean;
|
|
119
|
+
select: boolean;
|
|
120
|
+
};
|
|
121
|
+
export declare function rowStyles(props: BaseListCardProps, shell: ReturnType<typeof useRowShell>, cellTemplate: string | null, stack: StackPlacement): Record<string, unknown>;
|
|
94
122
|
export {};
|
|
95
123
|
//# sourceMappingURL=base-list-card-geometry.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base-list-card-geometry.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-display/DataViews/base-list-card-geometry.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAY,KAAK,KAAK,EAAE,MAAM,+BAA+B,CAAC;AAarE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AA8B1D;;;;;;;;;;;;;;;;;GAiBG;AACH,kEAAkE;AAClE,UAAU,YAAY;IACpB,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,OAAO,EAAE;QAAE,QAAQ,EAAE,OAAO,CAAC;QAAC,IAAI,EAAE,OAAO,CAAC;QAAC,MAAM,EAAE,OAAO,CAAA;KAAE,CAAC;IAC/D,WAAW,EAAE,MAAM,CAAC;IACpB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,OAAO,CAAC;IACjB,WAAW,EAAE,OAAO,CAAC;IACrB,SAAS,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"base-list-card-geometry.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-display/DataViews/base-list-card-geometry.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAY,KAAK,KAAK,EAAE,MAAM,+BAA+B,CAAC;AAarE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AA8B1D;;;;;;;;;;;;;;;;;GAiBG;AACH,kEAAkE;AAClE,UAAU,YAAY;IACpB,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,OAAO,EAAE;QAAE,QAAQ,EAAE,OAAO,CAAC;QAAC,IAAI,EAAE,OAAO,CAAC;QAAC,MAAM,EAAE,OAAO,CAAA;KAAE,CAAC;IAC/D,WAAW,EAAE,MAAM,CAAC;IACpB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,OAAO,CAAC;IACjB,WAAW,EAAE,OAAO,CAAC;IACrB,SAAS,EAAE,OAAO,CAAC;IACnB,yEAAyE;IACzE,KAAK,EAAE,cAAc,CAAC;CACvB;AAED;;;;;;;;GAQG;AACH,MAAM,WAAW,cAAc;IAC7B,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,UAAU,EAAE,OAAO,CAAC;CACrB;AAmED;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,KAAK,GAAI,OAAO,KAAK,EAAE,MAAM,YAAY,KAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CA6C9E,CAAC;AAuBF;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,KAAK,EAAE,iBAAiB,GAAG;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,OAAO,CAAA;CAAE,CAGzF;AAED;;;GAGG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,iBAAiB;;;;;;;;;;;;;;;;;;EA2BnD;AAED,8EAA8E;AAC9E,wBAAgB,WAAW,CAAC,OAAO,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,SAAS;;;;uBAxP5C,KAAK,CAAC,aAAa,KAAG,IAAI;EAkQ1C;AAyBD;;;;;;GAMG;AACH,wBAAgB,UAAU,CACxB,KAAK,EAAE,iBAAiB,EACxB,KAAK,EAAE,UAAU,CAAC,OAAO,WAAW,CAAC,GACpC;IAAE,QAAQ,EAAE,OAAO,CAAC;IAAC,IAAI,EAAE,OAAO,CAAC;IAAC,MAAM,EAAE,OAAO,CAAA;CAAE,CAOvD;AAED,wBAAgB,SAAS,CACvB,KAAK,EAAE,iBAAiB,EACxB,KAAK,EAAE,UAAU,CAAC,OAAO,WAAW,CAAC,EACrC,YAAY,EAAE,MAAM,GAAG,IAAI,EAC3B,KAAK,EAAE,cAAc,GACpB,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAmBzB"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { type ReactNode } from "react";
|
|
2
|
+
import type { BaseListCardProps } from "./base-list-card";
|
|
3
|
+
import { type StackPlacement, type useRowShell } from "./base-list-card-geometry";
|
|
4
|
+
import { type ListCardCellConfig } from "./list-card-cells";
|
|
5
|
+
/**
|
|
6
|
+
* WHAT SHAPE A ROW TAKES, resolved once: its cells and their template, whether
|
|
7
|
+
* it ends in the "this opens" chevron, and what its two-line form keeps.
|
|
8
|
+
*
|
|
9
|
+
* Split from the card at the file-size gate. Everything here decides; nothing
|
|
10
|
+
* here renders but the standalone container.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Which cell config applies, and whether this row resolves its own tracks.
|
|
14
|
+
*
|
|
15
|
+
* The list's config wins over the card's: one declaration of the list's shape is
|
|
16
|
+
* the point, so a row inside a group cannot introduce a column of its own. And
|
|
17
|
+
* the template is standalone-only — inside a group the GROUP owns it and the row
|
|
18
|
+
* is subgrid over it, because a row resolving its own tracks is exactly what
|
|
19
|
+
* stops a list from lining up.
|
|
20
|
+
*/
|
|
21
|
+
declare function useResolvedCells(props: BaseListCardProps, inGroup: boolean, gutters: {
|
|
22
|
+
disclose: boolean;
|
|
23
|
+
drag: boolean;
|
|
24
|
+
select: boolean;
|
|
25
|
+
}): {
|
|
26
|
+
cells: readonly ListCardCellConfig<never>[] | null;
|
|
27
|
+
configured: boolean;
|
|
28
|
+
cellTemplate: string | null;
|
|
29
|
+
};
|
|
30
|
+
/** Everything the row's shape depends on, resolved once. */
|
|
31
|
+
export declare function useRowLayout(props: BaseListCardProps, shell: ReturnType<typeof useRowShell>, expandable: boolean): ReturnType<typeof useResolvedCells> & {
|
|
32
|
+
opens: boolean;
|
|
33
|
+
stack: StackPlacement;
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* A standalone row's QUERY CONTAINER. A container query matches an ancestor,
|
|
37
|
+
* never the element itself, so the row cannot be the container its own
|
|
38
|
+
* two-line template asks about. In a group the group is the container, and the
|
|
39
|
+
* row must stay its direct child for subgrid, so no wrapper there.
|
|
40
|
+
*/
|
|
41
|
+
export declare function StandaloneContainer({ inGroup, children }: {
|
|
42
|
+
inGroup: boolean;
|
|
43
|
+
children: ReactNode;
|
|
44
|
+
}): React.JSX.Element;
|
|
45
|
+
export {};
|
|
46
|
+
//# sourceMappingURL=base-list-card-layout.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base-list-card-layout.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-display/DataViews/base-list-card-layout.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAC1D,OAAO,EAAc,KAAK,cAAc,EAAE,KAAK,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAE9F,OAAO,EAA6B,KAAK,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAEvF;;;;;;GAMG;AAEH;;;;;;;;GAQG;AACH,iBAAS,gBAAgB,CACvB,KAAK,EAAE,iBAAiB,EACxB,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE;IAAE,QAAQ,EAAE,OAAO,CAAC;IAAC,IAAI,EAAE,OAAO,CAAC;IAAC,MAAM,EAAE,OAAO,CAAA;CAAE,GAC7D;IACD,KAAK,EAAE,SAAS,kBAAkB,CAAC,KAAK,CAAC,EAAE,GAAG,IAAI,CAAC;IACnD,UAAU,EAAE,OAAO,CAAC;IACpB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;CAC7B,CAMA;AAkCD,4DAA4D;AAC5D,wBAAgB,YAAY,CAC1B,KAAK,EAAE,iBAAiB,EACxB,KAAK,EAAE,UAAU,CAAC,OAAO,WAAW,CAAC,EACrC,UAAU,EAAE,OAAO,GAClB,UAAU,CAAC,OAAO,gBAAgB,CAAC,GAAG;IAAE,KAAK,EAAE,OAAO,CAAC;IAAC,KAAK,EAAE,cAAc,CAAA;CAAE,CAYjF;AAED;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE;IAAE,OAAO,EAAE,OAAO,CAAC;IAAC,QAAQ,EAAE,SAAS,CAAA;CAAE,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAGvH"}
|
|
@@ -60,20 +60,23 @@ export declare function ListCardMeta({ meta, metaSlot, trailingRule, }: {
|
|
|
60
60
|
* `:focus-within` is what keeps them reachable by keyboard, and `visibility`
|
|
61
61
|
* rather than `display` keeps their space reserved so nothing shifts.
|
|
62
62
|
*/
|
|
63
|
-
export declare function ListCardActions({ actions, alwaysVisible, menu, testId, }: {
|
|
63
|
+
export declare function ListCardActions({ actions, alwaysVisible, menu, opens, testId, }: {
|
|
64
64
|
actions?: ReactNode;
|
|
65
65
|
alwaysVisible?: boolean;
|
|
66
66
|
menu?: ReactNode;
|
|
67
|
+
/** End the row with the "this opens" chevron. */
|
|
68
|
+
opens?: boolean;
|
|
67
69
|
testId: (slot: string) => string | undefined;
|
|
68
70
|
}): React.JSX.Element | null;
|
|
69
71
|
/** Value and actions — separate rails, not one flex run. */
|
|
70
|
-
export declare function ListCardTail({ value, separated, actions, actionsAlwaysVisible, menu, testId, }: {
|
|
72
|
+
export declare function ListCardTail({ value, separated, actions, actionsAlwaysVisible, menu, opens, testId, }: {
|
|
71
73
|
value?: ReactNode;
|
|
72
74
|
/** Whether a meta cluster precedes the value and wants dividing from it. */
|
|
73
75
|
separated?: boolean;
|
|
74
76
|
actions?: ReactNode;
|
|
75
77
|
actionsAlwaysVisible?: boolean;
|
|
76
78
|
menu?: ReactNode;
|
|
79
|
+
opens?: boolean;
|
|
77
80
|
testId: (slot: string) => string | undefined;
|
|
78
81
|
}): React.JSX.Element;
|
|
79
82
|
//# sourceMappingURL=base-list-card-slots.d.ts.map
|