@crewlethq/ui 0.13.0 → 0.15.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 (76) hide show
  1. package/README.md +42 -0
  2. package/dist/AppShell/AppShell.d.ts +76 -11
  3. package/dist/AppShell/index.d.ts +1 -1
  4. package/dist/AppShell/index.js +2 -2
  5. package/dist/{AppShell-CEVLW4QG.css → AppShell-6QUD7NWM.css} +74 -1
  6. package/dist/AvatarPicker/index.js +4 -4
  7. package/dist/Canvas/index.js +3 -3
  8. package/dist/Charts/StackedColumns.d.ts +30 -7
  9. package/dist/Charts/index.d.ts +1 -1
  10. package/dist/Charts/index.js +1 -1
  11. package/dist/{Charts-JUERFLAR.css → Charts-JYW4X5ZL.css} +18 -1
  12. package/dist/CommandPalette/index.js +3 -3
  13. package/dist/DataTable/index.js +5 -5
  14. package/dist/DataView/index.js +9 -9
  15. package/dist/DateTimePicker/index.js +3 -3
  16. package/dist/{DateTimePicker-4AZBTODT.css → DateTimePicker-NJ6XH2TE.css} +4 -3
  17. package/dist/DescriptionList/DescriptionList.d.ts +9 -1
  18. package/dist/DescriptionList/index.js +1 -1
  19. package/dist/{DescriptionList-YYY3V3O6.css → DescriptionList-IXMRCSMK.css} +24 -0
  20. package/dist/FactList/index.js +3 -3
  21. package/dist/Layer/index.js +1 -1
  22. package/dist/Layer-J222IFNX.css +33 -0
  23. package/dist/Layout/index.js +1 -1
  24. package/dist/{Layout-2ZCV3IGF.css → Layout-ZBEGLXAE.css} +18 -0
  25. package/dist/ListInput/index.js +3 -3
  26. package/dist/MarkdownEditor/index.js +1 -1
  27. package/dist/Menu/index.js +2 -2
  28. package/dist/Modal/index.js +2 -2
  29. package/dist/{Modal-3YJ2GG2T.css → Modal-RQAYGG4L.css} +1 -1
  30. package/dist/OrgTable/index.js +5 -5
  31. package/dist/Popover/index.js +2 -2
  32. package/dist/Select/index.js +2 -2
  33. package/dist/{Select-XMZ44RWY.css → Select-2P7AWUE4.css} +32 -6
  34. package/dist/Shortcut/index.js +1 -1
  35. package/dist/Switcher/index.js +5 -5
  36. package/dist/TagsInput/index.js +3 -3
  37. package/dist/TimeWindowPicker/index.js +4 -4
  38. package/dist/{TimeWindowPicker-GBF4JDFI.css → TimeWindowPicker-BZ5HHATU.css} +5 -4
  39. package/dist/Toaster/Toaster.d.ts +6 -1
  40. package/dist/Toaster/index.js +2 -2
  41. package/dist/{Toaster-KZ7YE2HA.css → Toaster-EOOOTSJT.css} +82 -87
  42. package/dist/Toolbar/index.js +1 -1
  43. package/dist/Tooltip/index.js +2 -2
  44. package/dist/TreeCanvas/index.js +4 -4
  45. package/dist/TreeGrid/index.js +3 -3
  46. package/dist/{chunk-UZPHPW3Z.js → chunk-2GXTIK37.js} +4 -4
  47. package/dist/{chunk-RZ7RGECB.js → chunk-2OLCUNG7.js} +1 -1
  48. package/dist/{chunk-JDPAA2JU.js → chunk-2UU5IGZI.js} +2 -2
  49. package/dist/{chunk-B2CITO6R.js → chunk-7BZPYA5P.js} +3 -3
  50. package/dist/{chunk-2PZBIHRV.js → chunk-AMH67MLM.js} +2 -2
  51. package/dist/{chunk-6LXMLQUM.js → chunk-B2Z2CDM5.js} +2 -2
  52. package/dist/{chunk-O2ZDZZS7.js → chunk-BWRGFKJP.js} +3 -2
  53. package/dist/{chunk-75WOCYGC.js → chunk-DYHSQHAZ.js} +1 -1
  54. package/dist/{chunk-4FFHJBEN.js → chunk-EFNHOVC2.js} +1 -1
  55. package/dist/{chunk-XN4JBAN3.js → chunk-F2XSYBKH.js} +8 -2
  56. package/dist/{chunk-XFE5W2I4.js → chunk-FC4YTTFJ.js} +14 -4
  57. package/dist/{chunk-L3CTFFLZ.js → chunk-H3XOMT7W.js} +53 -9
  58. package/dist/{chunk-7RPGY3JE.js → chunk-HMPFGIWM.js} +1 -1
  59. package/dist/{chunk-HKGS67VG.js → chunk-IYZZL3MZ.js} +1 -1
  60. package/dist/{chunk-URYDN2KA.js → chunk-JI5AVQLA.js} +1 -1
  61. package/dist/{chunk-CF6DTETT.js → chunk-K4VORB64.js} +2 -2
  62. package/dist/{chunk-S3IENQ3E.js → chunk-LCF4WPYS.js} +3 -3
  63. package/dist/{chunk-4WNNEDKO.js → chunk-MLT2HBPN.js} +87 -74
  64. package/dist/{chunk-TFH6SYWB.js → chunk-NS7BVLL3.js} +1 -1
  65. package/dist/{chunk-LELD5KPA.js → chunk-QH3AKP2N.js} +22 -9
  66. package/dist/{chunk-WY2NLRZN.js → chunk-QV266R6G.js} +3 -3
  67. package/dist/{chunk-CQY5NTRS.js → chunk-QWOPX2MN.js} +1 -1
  68. package/dist/{chunk-53DVJCVW.js → chunk-VYOKRN2I.js} +1 -1
  69. package/dist/{chunk-W4ENKCXJ.js → chunk-ZAC7SKUN.js} +1 -1
  70. package/dist/generated/index.js +33 -33
  71. package/dist/index.js +33 -33
  72. package/dist/styles.css +279 -114
  73. package/package.json +3 -3
  74. package/dist/Layer-NAFSGCFA.css +0 -23
  75. package/dist/{chunk-LZP7FGT7.js → chunk-GARACZAH.js} +1 -1
  76. package/dist/{chunk-GG2QEZO2.js → chunk-JCO3SIST.js} +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crewlethq/ui",
3
- "version": "0.13.0",
3
+ "version": "0.15.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.13.0",
46
- "@crewlethq/tokens": "0.13.0"
45
+ "@crewlethq/icons": "0.15.0",
46
+ "@crewlethq/tokens": "0.15.0"
47
47
  },
48
48
  "peerDependencies": {
49
49
  "react": ">=18",
@@ -1,23 +0,0 @@
1
- /*
2
- * The portal target a LayerHost provides.
3
- *
4
- * It covers its container so a surface placed against its rectangle is placed
5
- * against the container, and it is inert until something is drawn in it: an
6
- * empty host over a canvas must not swallow the drag that pans the canvas.
7
- * Each overlay inside takes pointer events back for its own panel.
8
- *
9
- * Its container establishes the positioning context. A host whose parent is
10
- * static covers the nearest positioned ancestor instead, which is the
11
- * viewport in the common case and is still a usable bound.
12
- */
13
-
14
- .crewlet-layer-host {
15
- position: absolute;
16
- inset: 0;
17
- pointer-events: none;
18
- z-index: var(--z-index-layer-base);
19
- }
20
-
21
- .crewlet-layer-host > * {
22
- pointer-events: auto;
23
- }
@@ -1,7 +1,7 @@
1
1
  import { Kbd } from './chunk-SMBKXWML.js';
2
2
  import { FormField, Textarea, Input } from './chunk-FTEJPHBI.js';
3
- import { IconButton } from './chunk-4FQT6ZAY.js';
4
3
  import { announce } from './chunk-RSAQOKH3.js';
4
+ import { IconButton } from './chunk-4FQT6ZAY.js';
5
5
  import { isComposing } from './chunk-R25RGPUB.js';
6
6
  import './ListInput-O7LJKOIG.css';
7
7
  import { useState, useRef, useLayoutEffect } from 'react';
@@ -1,7 +1,7 @@
1
1
  import { Tag } from './chunk-LOECRMHA.js';
2
2
  import { useListbox } from './chunk-F73MC7EZ.js';
3
- import { IconButton } from './chunk-4FQT6ZAY.js';
4
3
  import { announce } from './chunk-RSAQOKH3.js';
4
+ import { IconButton } from './chunk-4FQT6ZAY.js';
5
5
  import { isComposing } from './chunk-R25RGPUB.js';
6
6
  import { cx } from './chunk-ODEQTPFM.js';
7
7
  import './TagsInput-P2HS5QL4.css';