@visns-studio/visns-components 6.32.1 → 6.32.2
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/README.md
CHANGED
|
@@ -9,6 +9,18 @@ A comprehensive React component library used by the VISNS Studio team for CRM an
|
|
|
9
9
|
|
|
10
10
|
VISNS Components is a React-based UI component library that provides a set of reusable, consistent, and customizable components for building web applications. It includes components for authentication, data grids, forms, navigation, and more, designed to work seamlessly together.
|
|
11
11
|
|
|
12
|
+
## Recent Updates (v6.32.2)
|
|
13
|
+
|
|
14
|
+
### Boxed overview: no panel around the cards
|
|
15
|
+
|
|
16
|
+
Follow-up to 6.32.1. With every section drawn as its own card, the tab-body
|
|
17
|
+
panel around them was a card holding cards — a white frame with its own
|
|
18
|
+
border and shadow around five framed sections. In boxed mode the panel is now
|
|
19
|
+
transparent and the section cards sit directly on the page, flush with the
|
|
20
|
+
tab strip (CSS only: `.grid__subcontent:has(.gridtxt--boxed)` and
|
|
21
|
+
`.grid__full:has(.gridtxt--boxed)` drop their surface and padding). Plain
|
|
22
|
+
mode keeps its panel; nothing changes for apps that did not opt in.
|
|
23
|
+
|
|
12
24
|
## Recent Updates (v6.32.1)
|
|
13
25
|
|
|
14
26
|
### Boxed overview: one card per section, no note accent
|
package/package.json
CHANGED
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
"react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0"
|
|
94
94
|
},
|
|
95
95
|
"name": "@visns-studio/visns-components",
|
|
96
|
-
"version": "6.32.
|
|
96
|
+
"version": "6.32.2",
|
|
97
97
|
"description": "Various packages to assist in the development of our Custom Applications.",
|
|
98
98
|
"main": "src/index.js",
|
|
99
99
|
"files": [
|
|
@@ -521,10 +521,35 @@
|
|
|
521
521
|
/* The panel's own inset is dialled back once the sections are cards: the tab
|
|
522
522
|
card already pads, and `.gridtxt`'s 1rem/1.5rem on top of a card border on
|
|
523
523
|
top of the `<ul>`'s 0.85rem stacked three insets between the panel edge and
|
|
524
|
-
the first field.
|
|
525
|
-
|
|
524
|
+
the first field. Zero: the panel around the boxed overview is transparent
|
|
525
|
+
(next rule), so the section cards ARE the surface and there is no panel
|
|
526
|
+
border to sit off. */
|
|
526
527
|
.gridtxt.gridtxt--boxed {
|
|
527
|
-
padding:
|
|
528
|
+
padding: 0;
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
/* The tab-body panel is a card (`card-surface`). Around a boxed overview that
|
|
532
|
+
is a card holding cards — a white frame with its own border and shadow drawn
|
|
533
|
+
around five framed sections — so the panel gives up its surface and the
|
|
534
|
+
section cards sit directly on the page. Same `:has()` device the DataGrid
|
|
535
|
+
repair below uses; `:has` is the only way this file can reach an ancestor
|
|
536
|
+
from the modifier the JSX sets on the overview. Plain mode never carries
|
|
537
|
+
`.gridtxt--boxed`, so it keeps its panel.
|
|
538
|
+
|
|
539
|
+
Both panels are named: `.grid__subcontent` is the tab-body column that
|
|
540
|
+
actually frames the overview in the stacked layout, and `.grid__full` is
|
|
541
|
+
the card the older rail layout and the stage-bar branch wrap it in. The
|
|
542
|
+
padding goes with the frame — with nothing drawn around them the cards
|
|
543
|
+
align to the tab strip's own edge — and overflow is released so the last
|
|
544
|
+
card's shadow is not clipped. */
|
|
545
|
+
.grid__subcontent:has(.gridtxt--boxed),
|
|
546
|
+
.grid__full:has(.gridtxt--boxed) {
|
|
547
|
+
background: transparent;
|
|
548
|
+
border: 0;
|
|
549
|
+
box-shadow: none;
|
|
550
|
+
border-radius: 0;
|
|
551
|
+
padding: 0;
|
|
552
|
+
overflow: visible;
|
|
528
553
|
}
|
|
529
554
|
|
|
530
555
|
/* One section, one card. `overflow: hidden` is what lets the square heading
|