@things-factory/board-ui 10.1.156 → 10.1.158
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-client/pages/board-create-wizard-page.js +1 -1
- package/dist-client/pages/board-create-wizard-page.js.map +1 -1
- package/dist-client/pages/board-list-page.js +1 -1
- package/dist-client/pages/board-list-page.js.map +1 -1
- package/dist-client/pages/board-template/board-template-list-page.js +1 -1
- package/dist-client/pages/board-template/board-template-list-page.js.map +1 -1
- package/dist-client/pages/font-list-page.js +2 -1
- package/dist-client/pages/font-list-page.js.map +1 -1
- package/dist-client/pages/play-list-page.js +1 -1
- package/dist-client/pages/play-list-page.js.map +1 -1
- package/dist-client/styles/board-card-styles.d.ts +1 -1
- package/dist-client/styles/board-card-styles.js +5 -36
- package/dist-client/styles/board-card-styles.js.map +1 -1
- package/dist-client/tsconfig.tsbuildinfo +1 -1
- package/package.json +7 -7
- package/translations/en.json +6 -3
- package/translations/es.json +7 -4
- package/translations/ja.json +6 -3
- package/translations/ko.json +6 -3
- package/translations/ms.json +6 -3
- package/translations/zh.json +5 -2
|
@@ -1,15 +1,19 @@
|
|
|
1
1
|
import { css } from 'lit';
|
|
2
|
+
import { FabStyles } from '@operato/styles';
|
|
2
3
|
/**
|
|
3
4
|
* The one card look for every board catalog - board list, play list, template list.
|
|
4
5
|
*
|
|
5
6
|
* Each page hosts an `ox-grist` in CARD mode and sets the card by `--data-card-*` variables. The
|
|
6
7
|
* three pages used to carry the same forty lines apiece (2026-09-23); a drift between them is
|
|
7
8
|
* exactly the "why does this page look different" complaint this suite keeps hearing, so the
|
|
8
|
-
* tokens now live once, here, and a page adds only what is its own (a FAB
|
|
9
|
+
* tokens now live once, here, and a page adds only what is its own (a chip strip). The FAB is the suite's (`FabStyles`).
|
|
9
10
|
*
|
|
10
11
|
* Sized and typed after figure-ui's figure-list-page.ts, so board and figure read as one product.
|
|
11
12
|
*/
|
|
12
13
|
export const BoardCardStyles = css `
|
|
14
|
+
/* The page's one primary action: the suite's card-page FAB. */
|
|
15
|
+
${FabStyles}
|
|
16
|
+
|
|
13
17
|
:host {
|
|
14
18
|
/* The frame (WorkSurfacePageStyles) lays the page out; this only anchors the FAB. */
|
|
15
19
|
position: relative;
|
|
@@ -33,9 +37,6 @@ export const BoardCardStyles = css `
|
|
|
33
37
|
/* The second line under the name is a side note, not a rival to it. */
|
|
34
38
|
--data-card-item-disc-font: normal 0.72rem/1.2 var(--theme-font, 'Roboto');
|
|
35
39
|
--data-card-item-disc-color: var(--md-sys-color-on-surface-variant, var(--md-sys-color-on-surface));
|
|
36
|
-
/* A page's own FAB and the grid's scroll-to-top FAB share the bottom-right corner by default;
|
|
37
|
-
* push the scroll button up so the two never collide. */
|
|
38
|
-
--data-card-fab-position-vertical: 64px;
|
|
39
40
|
/* record-card.ts reads these two with no fallback - unset means no hover feedback at all. */
|
|
40
41
|
--data-card-record-card-border-hover: 1px solid var(--md-sys-color-outline-variant);
|
|
41
42
|
--data-card-record-card-boxshadow-hover: 0 2px 8px rgba(0, 0, 0, 0.16);
|
|
@@ -51,37 +52,5 @@ export const BoardCardStyles = css `
|
|
|
51
52
|
|
|
52
53
|
/* .page-fill is WorkSurfacePageStyles' own class (flex: 1; min-height: 0) - the min-height half
|
|
53
54
|
* is what lets ox-grist's internal scroller, not the page, be the thing that scrolls. */
|
|
54
|
-
|
|
55
|
-
/* The extended FAB every catalog uses for its one primary action - a pill with an icon and a
|
|
56
|
-
* label, not a bare circle, so a first-time visitor does not have to guess what the + makes. */
|
|
57
|
-
button[fab] {
|
|
58
|
-
position: absolute;
|
|
59
|
-
right: var(--spacing-large, 12px);
|
|
60
|
-
bottom: var(--spacing-large, 12px);
|
|
61
|
-
z-index: 10;
|
|
62
|
-
|
|
63
|
-
display: flex;
|
|
64
|
-
align-items: center;
|
|
65
|
-
gap: 6px;
|
|
66
|
-
padding: 10px 18px 10px 14px;
|
|
67
|
-
font: var(--label-font, inherit);
|
|
68
|
-
font-size: 0.82rem;
|
|
69
|
-
font-weight: 600;
|
|
70
|
-
color: var(--md-sys-color-on-primary-container);
|
|
71
|
-
background-color: var(--md-sys-color-primary-container);
|
|
72
|
-
border: none;
|
|
73
|
-
border-radius: var(--md-sys-shape-corner-full, 999px);
|
|
74
|
-
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
|
|
75
|
-
cursor: pointer;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
button[fab]:hover {
|
|
79
|
-
color: var(--md-sys-color-on-primary, #fff);
|
|
80
|
-
background-color: var(--md-sys-color-primary);
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
button[fab] md-icon {
|
|
84
|
-
--md-icon-size: 20px;
|
|
85
|
-
}
|
|
86
55
|
`;
|
|
87
56
|
//# sourceMappingURL=board-card-styles.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"board-card-styles.js","sourceRoot":"","sources":["../../client/styles/board-card-styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AAEzB;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"board-card-styles.js","sourceRoot":"","sources":["../../client/styles/board-card-styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AAEzB,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAE3C;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,GAAG,CAAA;;IAE9B,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwCZ,CAAA","sourcesContent":["import { css } from 'lit'\n\nimport { FabStyles } from '@operato/styles'\n\n/**\n * The one card look for every board catalog - board list, play list, template list.\n *\n * Each page hosts an `ox-grist` in CARD mode and sets the card by `--data-card-*` variables. The\n * three pages used to carry the same forty lines apiece (2026-09-23); a drift between them is\n * exactly the \"why does this page look different\" complaint this suite keeps hearing, so the\n * tokens now live once, here, and a page adds only what is its own (a chip strip). The FAB is the suite's (`FabStyles`).\n *\n * Sized and typed after figure-ui's figure-list-page.ts, so board and figure read as one product.\n */\nexport const BoardCardStyles = css`\n /* The page's one primary action: the suite's card-page FAB. */\n ${FabStyles}\n\n :host {\n /* The frame (WorkSurfacePageStyles) lays the page out; this only anchors the FAB. */\n position: relative;\n\n --data-card-min-width: 240px;\n --data-card-record-card-border-radius: 6px;\n --data-card-record-card-padding: 0;\n --data-card-thumbnail-aspect: 16 / 9;\n --data-card-thumbnail-padding: 0;\n --data-card-thumbnail-radius: 6px 6px 0 0;\n /* The card's two surfaces. The theme raises both in dark (--board-card-surface / -plate in\n * operato-board's board-accent.css): the light defaults - white card, light plate - become\n * black on black there, and a card that does not lift off its page is not a card. */\n --data-card-record-card-background-color: var(--board-card-surface, var(--md-sys-color-surface-container-lowest));\n --data-card-thumbnail-background: var(--board-card-plate, var(--md-sys-color-surface-container));\n /* The right margin clears the corner where the action icons sit (below). */\n --data-card-item-margin: 10px 52px 10px 12px;\n --data-card-item-name-font: 500 0.9rem/1.35 var(--theme-font, 'Roboto');\n --data-card-item-name-color: var(--md-sys-color-on-surface);\n --data-card-item-etc-font: normal 0.72rem/1.2 var(--theme-font, 'Roboto');\n /* The second line under the name is a side note, not a rival to it. */\n --data-card-item-disc-font: normal 0.72rem/1.2 var(--theme-font, 'Roboto');\n --data-card-item-disc-color: var(--md-sys-color-on-surface-variant, var(--md-sys-color-on-surface));\n /* record-card.ts reads these two with no fallback - unset means no hover feedback at all. */\n --data-card-record-card-border-hover: 1px solid var(--md-sys-color-outline-variant);\n --data-card-record-card-boxshadow-hover: 0 2px 8px rgba(0, 0, 0, 0.16);\n /* Card actions are secondary to the picture and the name: small, in the quiet outline tone. */\n --data-card-gutter-icon-size: 16px;\n --data-card-gutter-icon-color: var(--md-sys-color-outline);\n /* One or two small icons do not deserve a row of their own under the text: park them in the\n * bottom-right corner, level with the meta line, so the information area stays two lines tall. */\n --data-card-gutters-position: absolute;\n --data-card-gutters-inset: auto 8px 9px auto;\n --data-card-gutters-margin: 0;\n }\n\n /* .page-fill is WorkSurfacePageStyles' own class (flex: 1; min-height: 0) - the min-height half\n * is what lets ox-grist's internal scroller, not the page, be the thing that scrolls. */\n`\n"]}
|