@powerhousedao/common 1.10.8-dev.0 → 1.10.9-dev.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.
@@ -1,10 +1,10 @@
1
- import { UiFileNode } from "@powerhousedao/design-system";
1
+ import { type BaseUiFileNode } from "@powerhousedao/design-system";
2
2
  type Props = {
3
- fileNodes: UiFileNode[];
4
- onSelectNode: (uiNode: UiFileNode) => void;
5
- onRenameNode: (name: string, uiNode: UiFileNode) => void;
6
- onDuplicateNode: (uiNode: UiFileNode) => void;
7
- onDeleteNode: (uiNode: UiFileNode) => void;
3
+ fileNodes: BaseUiFileNode[];
4
+ onSelectNode: (uiNode: BaseUiFileNode) => void;
5
+ onRenameNode: (name: string, uiNode: BaseUiFileNode) => void;
6
+ onDuplicateNode: (uiNode: BaseUiFileNode) => void;
7
+ onDeleteNode: (uiNode: BaseUiFileNode) => void;
8
8
  isAllowedToCreateDocuments: boolean;
9
9
  };
10
10
  export declare function FileContentView(props: Props): import("react/jsx-runtime").JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"file-content-view.d.ts","sourceRoot":"","sources":["../../../../editors/generic-drive-explorer/components/file-content-view.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,UAAU,EAEX,MAAM,8BAA8B,CAAC;AAKtC,KAAK,KAAK,GAAG;IACX,SAAS,EAAE,UAAU,EAAE,CAAC;IACxB,YAAY,EAAE,CAAC,MAAM,EAAE,UAAU,KAAK,IAAI,CAAC;IAC3C,YAAY,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,UAAU,KAAK,IAAI,CAAC;IACzD,eAAe,EAAE,CAAC,MAAM,EAAE,UAAU,KAAK,IAAI,CAAC;IAC9C,YAAY,EAAE,CAAC,MAAM,EAAE,UAAU,KAAK,IAAI,CAAC;IAC3C,0BAA0B,EAAE,OAAO,CAAC;CACrC,CAAC;AAQF,wBAAgB,eAAe,CAAC,KAAK,EAAE,KAAK,2CAiH3C;AAED,eAAe,eAAe,CAAC"}
1
+ {"version":3,"file":"file-content-view.d.ts","sourceRoot":"","sources":["../../../../editors/generic-drive-explorer/components/file-content-view.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGH,KAAK,cAAc,EACtB,MAAM,8BAA8B,CAAC;AAKtC,KAAK,KAAK,GAAG;IACX,SAAS,EAAE,cAAc,EAAE,CAAC;IAC5B,YAAY,EAAE,CAAC,MAAM,EAAE,cAAc,KAAK,IAAI,CAAC;IAC/C,YAAY,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,cAAc,KAAK,IAAI,CAAC;IAC7D,eAAe,EAAE,CAAC,MAAM,EAAE,cAAc,KAAK,IAAI,CAAC;IAClD,YAAY,EAAE,CAAC,MAAM,EAAE,cAAc,KAAK,IAAI,CAAC;IAC/C,0BAA0B,EAAE,OAAO,CAAC;CACrC,CAAC;AAQF,wBAAgB,eAAe,CAAC,KAAK,EAAE,KAAK,2CAiH3C;AAED,eAAe,eAAe,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import type { BaseProps } from "#editors/utils/index";
2
- import { UiDriveNode, UiFolderNode, UiNode } from "@powerhousedao/design-system";
2
+ import { type UiDriveNode, type UiFolderNode, type UiNode } from "@powerhousedao/design-system";
3
3
  interface IFolderViewProps extends BaseProps {
4
4
  node: UiDriveNode | UiFolderNode;
5
5
  isDropTarget: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"folder-view.d.ts","sourceRoot":"","sources":["../../../../editors/generic-drive-explorer/components/folder-view.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAIL,WAAW,EAEX,YAAY,EACZ,MAAM,EACP,MAAM,8BAA8B,CAAC;AAOtC,UAAU,gBAAiB,SAAQ,SAAS;IAC1C,IAAI,EAAE,WAAW,GAAG,YAAY,CAAC;IACjC,YAAY,EAAE,OAAO,CAAC;IACtB,YAAY,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,YAAY,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACrD,eAAe,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,YAAY,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,SAAS,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,GAAG,IAAI,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACpE,UAAU,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAClE,UAAU,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAClE,0BAA0B,EAAE,OAAO,CAAC;CACrC;AAED,wBAAgB,UAAU,CAAC,KAAK,EAAE,gBAAgB,2CA6EjD;AAED,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"folder-view.d.ts","sourceRoot":"","sources":["../../../../editors/generic-drive-explorer/components/folder-view.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAOL,KAAK,WAAW,EAEhB,KAAK,YAAY,EACjB,KAAK,MAAM,EACZ,MAAM,8BAA8B,CAAC;AAOtC,UAAU,gBAAiB,SAAQ,SAAS;IAC1C,IAAI,EAAE,WAAW,GAAG,YAAY,CAAC;IACjC,YAAY,EAAE,OAAO,CAAC;IACtB,YAAY,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,YAAY,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACrD,eAAe,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,YAAY,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,SAAS,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,GAAG,IAAI,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACpE,UAAU,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAClE,UAAU,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAClE,0BAA0B,EAAE,OAAO,CAAC;CACrC;AAED,wBAAgB,UAAU,CAAC,KAAK,EAAE,gBAAgB,2CA0GjD;AAED,eAAe,UAAU,CAAC"}
@@ -18,12 +18,38 @@ export function FolderView(props) {
18
18
  const fileNodes = node.children
19
19
  .filter((node) => node.kind === FILE)
20
20
  .sort(sortUiNodesByName);
21
+ // Convert UiNode callbacks to BaseUiFolderNode callbacks
22
+ const folderCallbacks = {
23
+ onSelectNode: (node) => nodeProps.onSelectNode(node),
24
+ onRenameNode: (name, node) => nodeProps.onRenameNode(name, node),
25
+ onDuplicateNode: (node) => nodeProps.onDuplicateNode(node),
26
+ onDeleteNode: (node) => nodeProps.onDeleteNode(node),
27
+ };
28
+ // Convert UiNode callbacks to BaseUiFileNode callbacks
29
+ const fileCallbacks = {
30
+ onSelectNode: (node) => nodeProps.onSelectNode(node),
31
+ onRenameNode: (name, node) => nodeProps.onRenameNode(name, node),
32
+ onDuplicateNode: (node) => nodeProps.onDuplicateNode(node),
33
+ onDeleteNode: (node) => nodeProps.onDeleteNode(node),
34
+ };
35
+ // Convert UiNode callbacks to BaseUiNode callbacks
36
+ const baseNodeCallbacks = {
37
+ onAddFile: async (file, parentNode) => {
38
+ await nodeProps.onAddFile(file, parentNode);
39
+ },
40
+ onCopyNode: async (uiNode, targetNode) => {
41
+ await nodeProps.onCopyNode(uiNode, targetNode);
42
+ },
43
+ onMoveNode: async (uiNode, targetNode) => {
44
+ await nodeProps.onMoveNode(uiNode, targetNode);
45
+ },
46
+ };
21
47
  return (_jsxs("div", { className: twMerge("rounded-md border-2 border-transparent p-2", isDropTarget && "border-dashed border-blue-100", className), ...containerProps, children: [_jsx(DriveLayout.ContentSection, { title: t("folderView.sections.folders.title", {
22
48
  defaultValue: "Folders",
23
- }), className: "mb-4", children: folderNodes.length > 0 ? (folderNodes.map((folderNode) => (_jsx(FolderItem, { uiNode: folderNode, onAddFile: nodeProps.onAddFile, onCopyNode: nodeProps.onCopyNode, onMoveNode: nodeProps.onMoveNode, onSelectNode: nodeProps.onSelectNode, onRenameNode: nodeProps.onRenameNode, onDuplicateNode: nodeProps.onDuplicateNode, onDeleteNode: nodeProps.onDeleteNode, isAllowedToCreateDocuments: nodeProps.isAllowedToCreateDocuments }, folderNode.id)))) : (_jsx("div", { className: "mb-8 text-sm text-gray-400", children: t("folderView.sections.folders.empty", {
49
+ }), className: "mb-4", children: folderNodes.length > 0 ? (folderNodes.map((folderNode) => (_jsx(FolderItem, { uiNode: folderNode, ...baseNodeCallbacks, ...folderCallbacks, isAllowedToCreateDocuments: nodeProps.isAllowedToCreateDocuments }, folderNode.id)))) : (_jsx("div", { className: "mb-8 text-sm text-gray-400", children: t("folderView.sections.folders.empty", {
24
50
  defaultValue: "No documents or files 📄",
25
51
  }) })) }), _jsx(DriveLayout.ContentSection, { title: t("folderView.sections.documents.title", {
26
52
  defaultValue: "Documents and files",
27
- }), children: _jsx("div", { className: twMerge("w-full", fileNodes.length > 0 ? "min-h-[400px]" : "min-h-14"), children: _jsx(FileContentView, { fileNodes: fileNodes, onSelectNode: nodeProps.onSelectNode, onRenameNode: nodeProps.onRenameNode, onDuplicateNode: nodeProps.onDuplicateNode, onDeleteNode: nodeProps.onDeleteNode, isAllowedToCreateDocuments: nodeProps.isAllowedToCreateDocuments }) }) })] }));
53
+ }), children: _jsx("div", { className: twMerge("w-full", fileNodes.length > 0 ? "min-h-[400px]" : "min-h-14"), children: _jsx(FileContentView, { fileNodes: fileNodes, ...fileCallbacks, isAllowedToCreateDocuments: nodeProps.isAllowedToCreateDocuments }) }) })] }));
28
54
  }
29
55
  export default FolderView;
@@ -25,6 +25,7 @@
25
25
  --color-green-700: oklch(0.527 0.154 150.069);
26
26
  --color-green-800: oklch(0.448 0.119 151.328);
27
27
  --color-green-900: oklch(0.393 0.095 152.535);
28
+ --color-blue-50: oklch(0.97 0.014 254.604);
28
29
  --color-blue-100: oklch(0.932 0.032 255.585);
29
30
  --color-blue-400: oklch(0.707 0.165 254.624);
30
31
  --color-blue-500: oklch(0.623 0.214 259.815);
@@ -88,17 +89,7 @@
88
89
  --default-transition-duration: 150ms;
89
90
  --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
90
91
  --default-font-family: var(--font-sans);
91
- --default-font-feature-settings: var(--font-sans--font-feature-settings);
92
- --default-font-variation-settings: var(
93
- --font-sans--font-variation-settings
94
- );
95
92
  --default-mono-font-family: var(--font-mono);
96
- --default-mono-font-feature-settings: var(
97
- --font-mono--font-feature-settings
98
- );
99
- --default-mono-font-variation-settings: var(
100
- --font-mono--font-variation-settings
101
- );
102
93
  }
103
94
  }
104
95
  @layer base {
@@ -112,14 +103,11 @@
112
103
  line-height: 1.5;
113
104
  -webkit-text-size-adjust: 100%;
114
105
  tab-size: 4;
115
- font-family: var( --default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" );
106
+ font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
116
107
  font-feature-settings: var(--default-font-feature-settings, normal);
117
- font-variation-settings: var( --default-font-variation-settings, normal );
108
+ font-variation-settings: var(--default-font-variation-settings, normal);
118
109
  -webkit-tap-highlight-color: transparent;
119
110
  }
120
- body {
121
- line-height: inherit;
122
- }
123
111
  hr {
124
112
  height: 0;
125
113
  color: inherit;
@@ -142,9 +130,9 @@
142
130
  font-weight: bolder;
143
131
  }
144
132
  code, kbd, samp, pre {
145
- font-family: var( --default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace );
146
- font-feature-settings: var( --default-mono-font-feature-settings, normal );
147
- font-variation-settings: var( --default-mono-font-variation-settings, normal );
133
+ font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
134
+ font-feature-settings: var(--default-mono-font-feature-settings, normal);
135
+ font-variation-settings: var(--default-mono-font-variation-settings, normal);
148
136
  font-size: 1em;
149
137
  }
150
138
  small {
@@ -208,7 +196,11 @@
208
196
  }
209
197
  ::placeholder {
210
198
  opacity: 1;
211
- color: color-mix(in oklab, currentColor 50%, transparent);
199
+ }
200
+ @supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {
201
+ ::placeholder {
202
+ color: color-mix(in oklab, currentColor 50%, transparent);
203
+ }
212
204
  }
213
205
  textarea {
214
206
  resize: vertical;
@@ -395,7 +387,7 @@
395
387
  color: var(--color-gray-600);
396
388
  }
397
389
  }
398
- /*! tailwindcss v4.0.14 | MIT License | https://tailwindcss.com */
390
+ /*! tailwindcss v4.0.17 | MIT License | https://tailwindcss.com */
399
391
  @import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");
400
392
  :root {
401
393
  --toastify-color-light: #fff;
@@ -1084,8 +1076,6 @@
1084
1076
  @layer theme {
1085
1077
  :root, :host {
1086
1078
  --font-sans: "Inter", sans-serif;
1087
- --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
1088
- "Courier New", monospace;
1089
1079
  --color-red-100: hsl(3 82% 96%);
1090
1080
  --color-red-400: hsl(5 82% 83%);
1091
1081
  --color-red-500: hsl(5 80% 78%);
@@ -1106,6 +1096,7 @@
1106
1096
  --color-green-700: hsl(136 52% 55%);
1107
1097
  --color-green-800: hsl(136 53% 49%);
1108
1098
  --color-green-900: hsl(136 53% 43%);
1099
+ --color-blue-50: oklch(0.97 0.014 254.604);
1109
1100
  --color-blue-100: hsl(209 100% 90%);
1110
1101
  --color-blue-400: hsl(209 100% 75%);
1111
1102
  --color-blue-500: hsl(209 100% 70%);
@@ -1168,18 +1159,6 @@
1168
1159
  --animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
1169
1160
  --default-transition-duration: 150ms;
1170
1161
  --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
1171
- --default-font-family: var(--font-sans);
1172
- --default-font-feature-settings: var(--font-sans--font-feature-settings);
1173
- --default-font-variation-settings: var(
1174
- --font-sans--font-variation-settings
1175
- );
1176
- --default-mono-font-family: var(--font-mono);
1177
- --default-mono-font-feature-settings: var(
1178
- --font-mono--font-feature-settings
1179
- );
1180
- --default-mono-font-variation-settings: var(
1181
- --font-mono--font-variation-settings
1182
- );
1183
1162
  --color-charcoal-300: hsl(221 17% 67%);
1184
1163
  --color-charcoal-700: hsl(219 17% 34%);
1185
1164
  --color-charcoal-800: hsl(221 17% 26%);
@@ -1205,14 +1184,11 @@
1205
1184
  line-height: 1.5;
1206
1185
  -webkit-text-size-adjust: 100%;
1207
1186
  tab-size: 4;
1208
- font-family: var( --default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" );
1209
- font-feature-settings: var(--default-font-feature-settings, normal);
1210
- font-variation-settings: var( --default-font-variation-settings, normal );
1187
+ font-family: "Inter", sans-serif;
1188
+ font-feature-settings: initial;
1189
+ font-variation-settings: initial;
1211
1190
  -webkit-tap-highlight-color: transparent;
1212
1191
  }
1213
- body {
1214
- line-height: inherit;
1215
- }
1216
1192
  hr {
1217
1193
  height: 0;
1218
1194
  color: inherit;
@@ -1235,9 +1211,9 @@
1235
1211
  font-weight: bolder;
1236
1212
  }
1237
1213
  code, kbd, samp, pre {
1238
- font-family: var( --default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace );
1239
- font-feature-settings: var( --default-mono-font-feature-settings, normal );
1240
- font-variation-settings: var( --default-mono-font-variation-settings, normal );
1214
+ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
1215
+ font-feature-settings: initial;
1216
+ font-variation-settings: initial;
1241
1217
  font-size: 1em;
1242
1218
  }
1243
1219
  small {
@@ -1301,7 +1277,11 @@
1301
1277
  }
1302
1278
  ::placeholder {
1303
1279
  opacity: 1;
1304
- color: color-mix(in oklab, currentColor 50%, transparent);
1280
+ }
1281
+ @supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {
1282
+ ::placeholder {
1283
+ color: color-mix(in oklab, currentColor 50%, transparent);
1284
+ }
1305
1285
  }
1306
1286
  textarea {
1307
1287
  resize: vertical;
@@ -1614,9 +1594,6 @@
1614
1594
  .mb-4 {
1615
1595
  margin-bottom: calc(var(--spacing) * 4);
1616
1596
  }
1617
- .mb-5 {
1618
- margin-bottom: calc(var(--spacing) * 5);
1619
- }
1620
1597
  .mb-6 {
1621
1598
  margin-bottom: calc(var(--spacing) * 6);
1622
1599
  }
@@ -1644,6 +1621,27 @@
1644
1621
  .ml-auto {
1645
1622
  margin-left: auto;
1646
1623
  }
1624
+ .scrollbar-thin {
1625
+ &::-webkit-scrollbar-track {
1626
+ background-color: var(--scrollbar-track);
1627
+ border-radius: var(--scrollbar-track-radius);
1628
+ }
1629
+ &::-webkit-scrollbar-thumb {
1630
+ background-color: var(--scrollbar-thumb);
1631
+ border-radius: var(--scrollbar-thumb-radius);
1632
+ }
1633
+ &::-webkit-scrollbar-corner {
1634
+ background-color: var(--scrollbar-corner);
1635
+ border-radius: var(--scrollbar-corner-radius);
1636
+ }
1637
+ scrollbar-width: thin;
1638
+ scrollbar-color: var(--scrollbar-thumb, initial) var(--scrollbar-track, initial);
1639
+ &::-webkit-scrollbar {
1640
+ display: block;
1641
+ width: 8px;
1642
+ height: 8px;
1643
+ }
1644
+ }
1647
1645
  .line-clamp-2 {
1648
1646
  overflow: hidden;
1649
1647
  display: -webkit-box;
@@ -2012,6 +2010,9 @@
2012
2010
  .min-w-8 {
2013
2011
  min-width: calc(var(--spacing) * 8);
2014
2012
  }
2013
+ .min-w-9 {
2014
+ min-width: calc(var(--spacing) * 9);
2015
+ }
2015
2016
  .min-w-36 {
2016
2017
  min-width: calc(var(--spacing) * 36);
2017
2018
  }
@@ -2024,9 +2025,6 @@
2024
2025
  .min-w-\[142px\] {
2025
2026
  min-width: 142px;
2026
2027
  }
2027
- .min-w-\[160px\] {
2028
- min-width: 160px;
2029
- }
2030
2028
  .min-w-\[360px\] {
2031
2029
  min-width: 360px;
2032
2030
  }
@@ -2282,6 +2280,9 @@
2282
2280
  .overflow-scroll {
2283
2281
  overflow: scroll;
2284
2282
  }
2283
+ .overflow-x-auto {
2284
+ overflow-x: auto;
2285
+ }
2285
2286
  .overflow-x-hidden {
2286
2287
  overflow-x: hidden;
2287
2288
  }
@@ -2382,6 +2383,10 @@
2382
2383
  border-top-style: var(--tw-border-style);
2383
2384
  border-top-width: 1px;
2384
2385
  }
2386
+ .border-r {
2387
+ border-right-style: var(--tw-border-style);
2388
+ border-right-width: 1px;
2389
+ }
2385
2390
  .border-r-\[0\.5px\] {
2386
2391
  border-right-style: var(--tw-border-style);
2387
2392
  border-right-width: 0.5px;
@@ -2420,6 +2425,9 @@
2420
2425
  .border-blue-600 {
2421
2426
  border-color: var(--color-blue-600);
2422
2427
  }
2428
+ .border-blue-900 {
2429
+ border-color: var(--color-blue-900);
2430
+ }
2423
2431
  .border-gray-100 {
2424
2432
  border-color: var(--color-gray-100);
2425
2433
  }
@@ -2474,6 +2482,9 @@
2474
2482
  .bg-black {
2475
2483
  background-color: var(--color-black);
2476
2484
  }
2485
+ .bg-blue-50 {
2486
+ background-color: var(--color-blue-50);
2487
+ }
2477
2488
  .bg-blue-100 {
2478
2489
  background-color: var(--color-blue-100);
2479
2490
  }
@@ -2612,6 +2623,9 @@
2612
2623
  .px-\[5\.5px\] {
2613
2624
  padding-inline: 5.5px;
2614
2625
  }
2626
+ .px-\[12px\] {
2627
+ padding-inline: 12px;
2628
+ }
2615
2629
  .py-0 {
2616
2630
  padding-block: calc(var(--spacing) * 0);
2617
2631
  }
@@ -2642,6 +2656,9 @@
2642
2656
  .py-\[7px\] {
2643
2657
  padding-block: 7px;
2644
2658
  }
2659
+ .py-\[15px\] {
2660
+ padding-block: 15px;
2661
+ }
2645
2662
  .pt-0 {
2646
2663
  padding-top: calc(var(--spacing) * 0);
2647
2664
  }
@@ -2803,6 +2820,10 @@
2803
2820
  --tw-leading: calc(var(--spacing) * 10);
2804
2821
  line-height: calc(var(--spacing) * 10);
2805
2822
  }
2823
+ .leading-\[14px\] {
2824
+ --tw-leading: 14px;
2825
+ line-height: 14px;
2826
+ }
2806
2827
  .leading-\[18px\] {
2807
2828
  --tw-leading: 18px;
2808
2829
  line-height: 18px;
@@ -3153,6 +3174,18 @@
3153
3174
  .\[scrollbar-width\:none\] {
3154
3175
  scrollbar-width: none;
3155
3176
  }
3177
+ .scrollbar-thumb-gray-300 {
3178
+ --scrollbar-thumb: hsl(210 3% 85%);
3179
+ }
3180
+ .scrollbar-track-transparent {
3181
+ --scrollbar-track: transparent;
3182
+ }
3183
+ .not-last\:border-b {
3184
+ &:not(*:last-child) {
3185
+ border-bottom-style: var(--tw-border-style);
3186
+ border-bottom-width: 1px;
3187
+ }
3188
+ }
3156
3189
  .group-focus-within\:\!text-gray-900 {
3157
3190
  &:is(:where(.group):focus-within *) {
3158
3191
  color: var(--color-gray-900) !important;
@@ -3930,6 +3963,13 @@
3930
3963
  }
3931
3964
  }
3932
3965
  }
3966
+ .hover\:scrollbar-thumb-gray-300 {
3967
+ &:hover {
3968
+ @media (hover: hover) {
3969
+ --scrollbar-thumb: hsl(210 3% 85%);
3970
+ }
3971
+ }
3972
+ }
3933
3973
  .focus-within\:hover\:cursor-default {
3934
3974
  &:focus-within {
3935
3975
  &:hover {
@@ -4665,6 +4705,11 @@
4665
4705
  --tw-ring-color: var(--color-charcoal-300);
4666
4706
  }
4667
4707
  }
4708
+ .dark\:scrollbar-thumb-charcoal-700 {
4709
+ &:where(.dark, .dark *) {
4710
+ --scrollbar-thumb: hsl(219 17% 34%);
4711
+ }
4712
+ }
4668
4713
  .dark\:group-focus-within\:\!text-gray-50 {
4669
4714
  &:where(.dark, .dark *) {
4670
4715
  &:is(:where(.group):focus-within *) {
@@ -5006,6 +5051,15 @@
5006
5051
  }
5007
5052
  }
5008
5053
  }
5054
+ .dark\:hover\:scrollbar-thumb-charcoal-700 {
5055
+ &:where(.dark, .dark *) {
5056
+ &:hover {
5057
+ @media (hover: hover) {
5058
+ --scrollbar-thumb: hsl(219 17% 34%);
5059
+ }
5060
+ }
5061
+ }
5062
+ }
5009
5063
  .dark\:focus-within\:hover\:bg-charcoal-900 {
5010
5064
  &:where(.dark, .dark *) {
5011
5065
  &:focus-within {
@@ -5214,6 +5268,9 @@
5214
5268
  }
5215
5269
  }
5216
5270
  }
5271
+ .\[\&\]\:\!w-\[120px\] {
5272
+ width: 120px !important;
5273
+ }
5217
5274
  .focus\:\[\&_\.input-field\]\:bg-transparent {
5218
5275
  &:focus {
5219
5276
  & .input-field {
@@ -5367,6 +5424,12 @@ input[type="number"] {
5367
5424
  color: var(--color-gray-900);
5368
5425
  }
5369
5426
  }
5427
+ @layer base {
5428
+ * {
5429
+ scrollbar-color: initial;
5430
+ scrollbar-width: initial;
5431
+ }
5432
+ }
5370
5433
  @property --tw-translate-x {
5371
5434
  syntax: "*";
5372
5435
  inherits: false;
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerhousedao/common",
3
- "version": "1.10.8-dev.0",
3
+ "version": "1.10.9-dev.0",
4
4
  "license": "AGPL-3.0-only",
5
5
  "type": "module",
6
6
  "files": [