@crewlethq/ui 0.79.0 → 0.81.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.
Files changed (45) hide show
  1. package/README.md +10 -0
  2. package/dist/ArtifactBar/index.js +3 -3
  3. package/dist/AvatarPicker/index.js +4 -4
  4. package/dist/ChangeList/ChangeList.d.ts +16 -1
  5. package/dist/ChangeList/index.d.ts +1 -1
  6. package/dist/ChangeList/index.js +1 -1
  7. package/dist/{ChangeList-MDFH5NPH.css → ChangeList-ITJMTVDF.css} +53 -0
  8. package/dist/DataTable/DataTable.d.ts +25 -1
  9. package/dist/DataTable/index.d.ts +1 -1
  10. package/dist/DataTable/index.js +1 -1
  11. package/dist/{DataTable-H43JSHOI.css → DataTable-GSLDFY5U.css} +38 -0
  12. package/dist/DataView/index.js +2 -2
  13. package/dist/HuePicker/index.js +3 -3
  14. package/dist/MarkdownEditor/index.js +3 -3
  15. package/dist/MergeConflicts/index.js +3 -3
  16. package/dist/ProposalCard/index.js +2 -2
  17. package/dist/RichEditor/index.js +1 -1
  18. package/dist/SegmentedControl/index.js +2 -2
  19. package/dist/SheetColumnEditor/index.js +4 -4
  20. package/dist/Tabs/Tabs.d.ts +5 -2
  21. package/dist/Tabs/index.js +1 -1
  22. package/dist/ThemeSwitcher/index.js +3 -3
  23. package/dist/TimeRangePicker/index.js +3 -3
  24. package/dist/VersionCompare/index.js +3 -3
  25. package/dist/{chunk-3G2BC4K5.js → chunk-2FMBZCFR.js} +1 -1
  26. package/dist/{chunk-W3VDHUJM.js → chunk-2IIHMJMZ.js} +5 -2
  27. package/dist/{chunk-NSCACX5Y.js → chunk-4WTLT66V.js} +1 -1
  28. package/dist/{chunk-BBD7PTBG.js → chunk-4XF7ENQA.js} +78 -27
  29. package/dist/{chunk-OZAMLQY7.js → chunk-6R334YT3.js} +1 -1
  30. package/dist/{chunk-MP7DGKB6.js → chunk-6X5PGHEX.js} +1 -1
  31. package/dist/{chunk-JNORDILD.js → chunk-7FF6CZW5.js} +2 -2
  32. package/dist/{chunk-DSMQTED5.js → chunk-BLGBD2D2.js} +1 -1
  33. package/dist/{chunk-INO2OXDB.js → chunk-BRWR3QIG.js} +27 -28
  34. package/dist/{chunk-HA3C53OU.js → chunk-EAIOXW2W.js} +1 -1
  35. package/dist/{chunk-ERB7UI3P.js → chunk-HEA6TERQ.js} +1 -1
  36. package/dist/{chunk-3EKXL76Z.js → chunk-LOWQK2PB.js} +1 -1
  37. package/dist/{chunk-Z4H3NF7U.js → chunk-O222F2IX.js} +1 -1
  38. package/dist/{chunk-JBA6ZDPV.js → chunk-SNIPM6K7.js} +1 -1
  39. package/dist/{chunk-QHQGJQV7.js → chunk-YB64PWIN.js} +1 -1
  40. package/dist/{chunk-YT5SWN4Q.js → chunk-Z6JKZI4E.js} +1 -1
  41. package/dist/generated/index.js +27 -27
  42. package/dist/index.js +27 -27
  43. package/dist/styles.css +93 -2
  44. package/package.json +3 -3
  45. package/dist/{Editor-BXOWAV46.js → Editor-IMYESOW7.js} +1 -1
package/dist/styles.css CHANGED
@@ -8387,7 +8387,7 @@ a.crewlet-breadcrumb__crumb:focus-visible {
8387
8387
  }
8388
8388
 
8389
8389
 
8390
- /* ChangeList-MDFH5NPH.css */
8390
+ /* ChangeList-ITJMTVDF.css */
8391
8391
  /*
8392
8392
  * What a change will do, as a before and after on PropertyList's grid: one
8393
8393
  * label column (as wide as the longest label, never under 92px) and one value
@@ -8598,6 +8598,59 @@ a.crewlet-breadcrumb__crumb:focus-visible {
8598
8598
  color: var(--color-text-secondary);
8599
8599
  }
8600
8600
 
8601
+ /*
8602
+ * INLINE: one line a row, the label and then its values as chips. The rows
8603
+ * stack; a row wraps as the pair does, the arrow staying with what it points
8604
+ * at. A word diff and a block value keep their own layout under the label.
8605
+ */
8606
+ .crewlet-change-list--inline .crewlet-change-list__rows {
8607
+ display: flex;
8608
+ flex-direction: column;
8609
+ gap: var(--spacing-1);
8610
+ }
8611
+
8612
+ .crewlet-change-list--inline .crewlet-change-list__row {
8613
+ display: flex;
8614
+ flex-wrap: wrap;
8615
+ align-items: center;
8616
+ gap: var(--spacing-1) var(--spacing-2);
8617
+ }
8618
+
8619
+ .crewlet-change-list--inline .crewlet-change-list__row--text,
8620
+ .crewlet-change-list--inline .crewlet-change-list__row--block {
8621
+ flex-direction: column;
8622
+ align-items: stretch;
8623
+ }
8624
+
8625
+ /* The label in the secondary ink at the row's own size, closed by a colon. */
8626
+ .crewlet-change-list--inline .crewlet-change-list__label {
8627
+ font-size: inherit;
8628
+ color: var(--color-text-secondary);
8629
+ }
8630
+
8631
+ .crewlet-change-list--inline .crewlet-change-list__row:not(.crewlet-change-list__row--text):not(.crewlet-change-list__row--block) > .crewlet-change-list__label::after {
8632
+ content: ':';
8633
+ }
8634
+
8635
+ .crewlet-change-list--inline .crewlet-change-list__pair {
8636
+ align-items: center;
8637
+ }
8638
+
8639
+ .crewlet-change-list--inline .crewlet-change-list__next {
8640
+ align-items: center;
8641
+ }
8642
+
8643
+ /* THE CHIP IS THE MARK, so the element around it draws none of its own. */
8644
+ .crewlet-change-list__chip {
8645
+ display: inline-flex;
8646
+ text-decoration: none;
8647
+ }
8648
+
8649
+ .crewlet-change-list--inline .crewlet-change-list__note {
8650
+ flex-basis: 100%;
8651
+ margin-top: 0;
8652
+ }
8653
+
8601
8654
 
8602
8655
  /* ChangeMark-KFDGBF6G.css */
8603
8656
  /*
@@ -13862,7 +13915,7 @@ button.crewlet-data-grid__row-link {
13862
13915
  }
13863
13916
 
13864
13917
 
13865
- /* DataTable-H43JSHOI.css */
13918
+ /* DataTable-GSLDFY5U.css */
13866
13919
  /* ─────────────────────────────────────────────────────────────────
13867
13920
  * Default variant.
13868
13921
  *
@@ -14662,6 +14715,44 @@ body.crewlet-data-table-resizing {
14662
14715
  width: var(--spacing-6);
14663
14716
  }
14664
14717
 
14718
+ /*
14719
+ * A TABLE SIZED TO ITS CONTENT (`columnSizing="content"`) is laid out by the
14720
+ * automatic algorithm, with no width stated on its columns. The spacer asks
14721
+ * for the whole row, so every other column gives up all it can: down to its
14722
+ * widest cell. What is left over is the spacer's.
14723
+ *
14724
+ * Its cells never wrap, Wrap lines or not. A cell that may break anywhere is
14725
+ * a column the automatic layout squeezes to a few letters a line, which is
14726
+ * what a name became the first time this was drawn; and with every column as
14727
+ * wide as its content there is nothing to truncate, so the toggle has nothing
14728
+ * to decide.
14729
+ *
14730
+ * After the gutter rule above and as specific, so a pinned column keeps its
14731
+ * gutter as the spacer's floor while the spacer still takes the rest of the
14732
+ * row. The panels that span the row wrap, as their content does at any width:
14733
+ * kept on one line, a sentence in one would be measured as the narrowest the
14734
+ * table may be.
14735
+ */
14736
+ .crewlet-data-table--compact .crewlet-data-table__table.crewlet-data-table__table--content {
14737
+ table-layout: auto;
14738
+ }
14739
+
14740
+ .crewlet-data-table--compact .crewlet-data-table__table.crewlet-data-table__table--content td:not(.crewlet-data-table__expanded-cell):not(.crewlet-data-table__accessory-cell) {
14741
+ white-space: nowrap;
14742
+ overflow-wrap: normal;
14743
+ word-break: normal;
14744
+ }
14745
+
14746
+ .crewlet-data-table--compact .crewlet-data-table__table.crewlet-data-table__table--content .crewlet-data-table__th--spacer,
14747
+ .crewlet-data-table--compact .crewlet-data-table__table.crewlet-data-table__table--content .crewlet-data-table__td--spacer {
14748
+ width: 100%;
14749
+ }
14750
+
14751
+ .crewlet-data-table__table--content td.crewlet-data-table__expanded-cell,
14752
+ .crewlet-data-table__table--content td.crewlet-data-table__accessory-cell {
14753
+ white-space: normal;
14754
+ }
14755
+
14665
14756
  /*
14666
14757
  * Row actions column: pinned to the viewport's right edge with
14667
14758
  * position: sticky so the kebab affordance stays visible during
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crewlethq/ui",
3
- "version": "0.79.0",
3
+ "version": "0.81.0",
4
4
  "description": "Crewlet shared React components built on @crewlethq/tokens and @crewlethq/icons.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -42,8 +42,8 @@
42
42
  "clean": "rm -rf dist src/generated"
43
43
  },
44
44
  "dependencies": {
45
- "@crewlethq/icons": "0.79.0",
46
- "@crewlethq/tokens": "0.79.0",
45
+ "@crewlethq/icons": "0.81.0",
46
+ "@crewlethq/tokens": "0.81.0",
47
47
  "prosemirror-commands": "1.7.2",
48
48
  "prosemirror-gapcursor": "1.4.1",
49
49
  "prosemirror-history": "1.5.1",
@@ -1,5 +1,5 @@
1
- import { richEditorLabels } from './chunk-2DMTW2Y3.js';
2
1
  import { schema, readMarkdown, writeMarkdown } from './chunk-7CSTEH5I.js';
2
+ import { richEditorLabels } from './chunk-2DMTW2Y3.js';
3
3
  import './chunk-KOJPDCGQ.js';
4
4
  import { safeHref, MARKDOWN_CALLOUT_TONES } from './chunk-KBZO4B33.js';
5
5
  import { Toolbar } from './chunk-NR4CPM4T.js';