@salemcobalt/ui 0.2.0-rc.17 → 0.2.0-rc.19

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/styles.css CHANGED
@@ -1,4 +1,4 @@
1
- /* @salemcobalt/ui 0.2.0-rc.17 — requires @salemcobalt/tokens/css. */
1
+ /* @salemcobalt/ui 0.2.0-rc.19 — requires @salemcobalt/tokens/css. */
2
2
  @layer sc {
3
3
  /* ---- base.css ---- */
4
4
  /* Shared: focus ring, reduced motion. Component files follow. */
@@ -5601,10 +5601,15 @@
5601
5601
  .sc-word-diff[data-size='md'] {
5602
5602
  font-size: var(--sc-font-size-md);
5603
5603
  }
5604
- p.sc-word-diff,
5605
- div.sc-word-diff {
5604
+ p.sc-word-diff:not([data-family='mono']),
5605
+ div.sc-word-diff:not([data-family='mono']) {
5606
5606
  max-inline-size: var(--sc-font-measure);
5607
5607
  }
5608
+ /* Code and structured text: the mono face, full width, tabs as two columns. */
5609
+ .sc-word-diff[data-family='mono'] {
5610
+ font-family: var(--sc-font-family-mono);
5611
+ tab-size: 2;
5612
+ }
5608
5613
  .sc-word-diff__added,
5609
5614
  .sc-word-diff__removed {
5610
5615
  padding-inline: var(--sc-spacing-3xs);
@@ -5626,6 +5631,11 @@
5626
5631
  text-decoration-line: line-through;
5627
5632
  text-decoration-color: var(--sc-color-diff-removed-stroke);
5628
5633
  }
5634
+ /* In mono, side padding would push every later character off its column. */
5635
+ .sc-word-diff[data-family='mono'] .sc-word-diff__added,
5636
+ .sc-word-diff[data-family='mono'] .sc-word-diff__removed {
5637
+ padding-inline: 0;
5638
+ }
5629
5639
 
5630
5640
  /* ---- quote.css ---- */
5631
5641
  /* ---- Quote ----------------------------------------------------------------- */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salemcobalt/ui",
3
- "version": "0.2.0-rc.17",
3
+ "version": "0.2.0-rc.19",
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.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -33,7 +33,7 @@
33
33
  "peerDependencies": {
34
34
  "react": "^19.0.0",
35
35
  "react-dom": "^19.0.0",
36
- "@salemcobalt/tokens": "^0.2.0-rc.17"
36
+ "@salemcobalt/tokens": "^0.2.0-rc.19"
37
37
  },
38
38
  "dependencies": {
39
39
  "@base-ui/react": "^1.9.0",
@@ -57,7 +57,7 @@
57
57
  "tsup": "^9.0.0",
58
58
  "typescript": "^5.9.3",
59
59
  "vitest": "^5.0.5",
60
- "@salemcobalt/tokens": "^0.2.0-rc.17"
60
+ "@salemcobalt/tokens": "^0.2.0-rc.19"
61
61
  },
62
62
  "publishConfig": {
63
63
  "access": "public"