@salemcobalt/ui 0.2.0-rc.24 → 0.2.0-rc.26
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 +2 -2
- package/dist/index.d.ts +19 -6
- package/dist/index.js +68 -19
- package/dist/index.js.map +1 -1
- package/dist/styles.css +14 -1
- package/package.json +3 -3
package/dist/styles.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @salemcobalt/ui 0.2.0-rc.
|
|
1
|
+
/* @salemcobalt/ui 0.2.0-rc.26 — requires @salemcobalt/tokens/css. */
|
|
2
2
|
@layer sc {
|
|
3
3
|
/* ---- base.css ---- */
|
|
4
4
|
/* Shared: focus ring, reduced motion. Component files follow. */
|
|
@@ -1328,6 +1328,14 @@
|
|
|
1328
1328
|
grid-column: 2;
|
|
1329
1329
|
min-inline-size: 0;
|
|
1330
1330
|
}
|
|
1331
|
+
/* A second line under the label; the icon and trailing text stay on the label's line. */
|
|
1332
|
+
.sc-menu__description {
|
|
1333
|
+
grid-column: 2;
|
|
1334
|
+
grid-row: 2;
|
|
1335
|
+
min-inline-size: 0;
|
|
1336
|
+
color: var(--sc-color-text-muted);
|
|
1337
|
+
font-size: var(--sc-font-size-xs);
|
|
1338
|
+
}
|
|
1331
1339
|
.sc-menu__trailing {
|
|
1332
1340
|
grid-column: 3;
|
|
1333
1341
|
display: inline-flex;
|
|
@@ -2272,6 +2280,11 @@
|
|
|
2272
2280
|
z-index: var(--sc-z-dropdown);
|
|
2273
2281
|
outline: 0;
|
|
2274
2282
|
}
|
|
2283
|
+
/* A Dialog opened from inside the popover (Base UI nests its portal next to this positioner) stacks above it: while
|
|
2284
|
+
one is open the popover drops to the backdrop layer, and the dialog's own scrim, later in the DOM, covers it. */
|
|
2285
|
+
.sc-popover__positioner:has(~ * .sc-dialog__popup) {
|
|
2286
|
+
z-index: var(--sc-z-backdrop);
|
|
2287
|
+
}
|
|
2275
2288
|
/* Menu's surface: raised background, hairline border, large radius, elevation 2. */
|
|
2276
2289
|
.sc-popover {
|
|
2277
2290
|
position: relative;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salemcobalt/ui",
|
|
3
|
-
"version": "0.2.0-rc.
|
|
3
|
+
"version": "0.2.0-rc.26",
|
|
4
4
|
"description": "React components for the Salem Cobalt design system: Button, IconButton, Icon set, BroomIcon, Badge, Card, Stack, Inline, Kbd, Dialog, FullScreenFlow, Tooltip, Menu, Popover, PriorityNav, Toolbar, Banner, Spinner, Progress, Tabs, Input, Textarea, Select, FileInput, Checkbox, Switch, Heading, Text, Table, Stat, Chip, Disclosure, EmptyState, Skeleton, Score, ReasonList, WordDiff, Quote; TextEditor (CodeMirror 6, inline word diffs) at @salemcobalt/ui/editor.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"diff": "^8.0.4",
|
|
47
47
|
"react": "^19.0.0",
|
|
48
48
|
"react-dom": "^19.0.0",
|
|
49
|
-
"@salemcobalt/tokens": "^0.2.0-rc.
|
|
49
|
+
"@salemcobalt/tokens": "^0.2.0-rc.26"
|
|
50
50
|
},
|
|
51
51
|
"peerDependenciesMeta": {
|
|
52
52
|
"@codemirror/commands": {
|
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
"tsup": "^9.0.0",
|
|
110
110
|
"typescript": "^5.9.3",
|
|
111
111
|
"vitest": "^5.0.5",
|
|
112
|
-
"@salemcobalt/tokens": "^0.2.0-rc.
|
|
112
|
+
"@salemcobalt/tokens": "^0.2.0-rc.26"
|
|
113
113
|
},
|
|
114
114
|
"publishConfig": {
|
|
115
115
|
"access": "public"
|