@orcestr/ui 0.0.3 → 0.1.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 (176) hide show
  1. package/dist/components/Alert/Alert.d.ts +5 -4
  2. package/dist/components/Alert/Alert.d.ts.map +1 -1
  3. package/dist/components/Alert/Alert.js +5 -2
  4. package/dist/components/AppShell/AppShell.d.ts +2 -0
  5. package/dist/components/AppShell/AppShell.d.ts.map +1 -1
  6. package/dist/components/AppShell/AppShell.js +9 -6
  7. package/dist/components/AppSidebar/AppSidebar.d.ts +36 -0
  8. package/dist/components/AppSidebar/AppSidebar.d.ts.map +1 -0
  9. package/dist/components/AppSidebar/AppSidebar.js +53 -0
  10. package/dist/components/Badge/Badge.d.ts +8 -6
  11. package/dist/components/Badge/Badge.d.ts.map +1 -1
  12. package/dist/components/Badge/Badge.js +4 -4
  13. package/dist/components/BadgeSelectMenu/BadgeSelectMenu.d.ts +22 -0
  14. package/dist/components/BadgeSelectMenu/BadgeSelectMenu.d.ts.map +1 -0
  15. package/dist/components/BadgeSelectMenu/BadgeSelectMenu.js +50 -0
  16. package/dist/components/Box/Box.d.ts +2 -0
  17. package/dist/components/Box/Box.d.ts.map +1 -1
  18. package/dist/components/Box/Box.js +15 -2
  19. package/dist/components/Button/Button.d.ts +7 -3
  20. package/dist/components/Button/Button.d.ts.map +1 -1
  21. package/dist/components/Button/Button.js +23 -3
  22. package/dist/components/Card/Card.d.ts +26 -0
  23. package/dist/components/Card/Card.d.ts.map +1 -0
  24. package/dist/components/Card/Card.js +25 -0
  25. package/dist/components/Checkbox/Checkbox.d.ts +6 -2
  26. package/dist/components/Checkbox/Checkbox.d.ts.map +1 -1
  27. package/dist/components/Checkbox/Checkbox.js +13 -4
  28. package/dist/components/CommandPalette/CommandPalette.d.ts.map +1 -1
  29. package/dist/components/CommandPalette/CommandPalette.js +10 -9
  30. package/dist/components/ConfirmDialog/ConfirmDialog.d.ts.map +1 -1
  31. package/dist/components/ConfirmDialog/ConfirmDialog.js +5 -2
  32. package/dist/components/ContextMenu/ContextMenu.d.ts.map +1 -1
  33. package/dist/components/ContextMenu/ContextMenu.js +2 -2
  34. package/dist/components/DatePicker/DatePicker.d.ts.map +1 -1
  35. package/dist/components/DatePicker/DatePicker.js +9 -1
  36. package/dist/components/Dialog/Dialog.d.ts +69 -1
  37. package/dist/components/Dialog/Dialog.d.ts.map +1 -1
  38. package/dist/components/Dialog/Dialog.js +48 -1
  39. package/dist/components/Drawer/Drawer.d.ts.map +1 -1
  40. package/dist/components/Drawer/Drawer.js +2 -2
  41. package/dist/components/EntityPicker/EntityPicker.d.ts +2 -1
  42. package/dist/components/EntityPicker/EntityPicker.d.ts.map +1 -1
  43. package/dist/components/EntityPicker/EntityPicker.js +2 -2
  44. package/dist/components/Flex/Flex.d.ts +5 -1
  45. package/dist/components/Flex/Flex.d.ts.map +1 -1
  46. package/dist/components/Flex/Flex.js +16 -3
  47. package/dist/components/Grid/Grid.d.ts +9 -2
  48. package/dist/components/Grid/Grid.d.ts.map +1 -1
  49. package/dist/components/Grid/Grid.js +22 -1
  50. package/dist/components/IconButton/IconButton.d.ts +19 -7
  51. package/dist/components/IconButton/IconButton.d.ts.map +1 -1
  52. package/dist/components/IconButton/IconButton.js +40 -5
  53. package/dist/components/IconTextButton/IconTextButton.d.ts +20 -0
  54. package/dist/components/IconTextButton/IconTextButton.d.ts.map +1 -0
  55. package/dist/components/IconTextButton/IconTextButton.js +24 -0
  56. package/dist/components/InlineEdit/InlineEdit.d.ts +63 -0
  57. package/dist/components/InlineEdit/InlineEdit.d.ts.map +1 -0
  58. package/dist/components/InlineEdit/InlineEdit.js +98 -0
  59. package/dist/components/LinkButton/LinkButton.d.ts +25 -0
  60. package/dist/components/LinkButton/LinkButton.d.ts.map +1 -0
  61. package/dist/components/LinkButton/LinkButton.js +12 -0
  62. package/dist/components/Modal/Modal.d.ts +29 -6
  63. package/dist/components/Modal/Modal.d.ts.map +1 -1
  64. package/dist/components/Modal/Modal.js +37 -13
  65. package/dist/components/Overlay/OverlayProvider.d.ts +1 -0
  66. package/dist/components/Overlay/OverlayProvider.d.ts.map +1 -1
  67. package/dist/components/Overlay/OverlayProvider.js +18 -1
  68. package/dist/components/PaginatedCombobox/PaginatedCombobox.d.ts +2 -1
  69. package/dist/components/PaginatedCombobox/PaginatedCombobox.d.ts.map +1 -1
  70. package/dist/components/PaginatedCombobox/PaginatedCombobox.js +3 -3
  71. package/dist/components/Popover/Popover.d.ts +37 -3
  72. package/dist/components/Popover/Popover.d.ts.map +1 -1
  73. package/dist/components/Popover/Popover.js +56 -9
  74. package/dist/components/ScrollArea/ScrollArea.d.ts +4 -0
  75. package/dist/components/ScrollArea/ScrollArea.d.ts.map +1 -1
  76. package/dist/components/ScrollArea/ScrollArea.js +30 -4
  77. package/dist/components/Section/Section.d.ts +2 -0
  78. package/dist/components/Section/Section.d.ts.map +1 -1
  79. package/dist/components/SegmentedControl/SegmentedControl.d.ts +24 -1
  80. package/dist/components/SegmentedControl/SegmentedControl.d.ts.map +1 -1
  81. package/dist/components/SegmentedControl/SegmentedControl.js +28 -2
  82. package/dist/components/Select/Select.d.ts +36 -4
  83. package/dist/components/Select/Select.d.ts.map +1 -1
  84. package/dist/components/Select/Select.js +70 -3
  85. package/dist/components/Separator/Separator.d.ts +3 -1
  86. package/dist/components/Separator/Separator.d.ts.map +1 -1
  87. package/dist/components/Separator/Separator.js +4 -2
  88. package/dist/components/SpecialModal/SpecialModal.d.ts +43 -0
  89. package/dist/components/SpecialModal/SpecialModal.d.ts.map +1 -0
  90. package/dist/components/SpecialModal/SpecialModal.js +34 -0
  91. package/dist/components/Spinner/Spinner.d.ts +3 -1
  92. package/dist/components/Spinner/Spinner.d.ts.map +1 -1
  93. package/dist/components/Spinner/Spinner.js +2 -2
  94. package/dist/components/State/State.d.ts +8 -1
  95. package/dist/components/State/State.d.ts.map +1 -1
  96. package/dist/components/State/State.js +2 -2
  97. package/dist/components/Switch/Switch.d.ts +2 -0
  98. package/dist/components/Switch/Switch.d.ts.map +1 -1
  99. package/dist/components/Switch/Switch.js +2 -1
  100. package/dist/components/Table/Table.d.ts +64 -0
  101. package/dist/components/Table/Table.d.ts.map +1 -0
  102. package/dist/components/Table/Table.js +38 -0
  103. package/dist/components/Tabs/Tabs.d.ts +33 -2
  104. package/dist/components/Tabs/Tabs.d.ts.map +1 -1
  105. package/dist/components/Tabs/Tabs.js +189 -4
  106. package/dist/components/Text/Text.d.ts +13 -3
  107. package/dist/components/Text/Text.d.ts.map +1 -1
  108. package/dist/components/Text/Text.js +16 -3
  109. package/dist/components/TextArea/TextArea.d.ts.map +1 -1
  110. package/dist/components/TextArea/TextArea.js +1 -1
  111. package/dist/components/TextField/TextField.d.ts.map +1 -1
  112. package/dist/components/TextField/TextField.js +1 -1
  113. package/dist/components/Toast/Toast.d.ts +1 -0
  114. package/dist/components/Toast/Toast.d.ts.map +1 -1
  115. package/dist/components/Toast/Toast.js +19 -8
  116. package/dist/components/Tooltip/Tooltip.d.ts +11 -3
  117. package/dist/components/Tooltip/Tooltip.d.ts.map +1 -1
  118. package/dist/components/Tooltip/Tooltip.js +58 -9
  119. package/dist/example/CodePreview.d.ts.map +1 -1
  120. package/dist/example/CodePreview.js +3 -3
  121. package/dist/example/ExampleActionsSection.d.ts.map +1 -1
  122. package/dist/example/ExampleActionsSection.js +3 -3
  123. package/dist/example/ExampleApplicationSection.d.ts +7 -0
  124. package/dist/example/ExampleApplicationSection.d.ts.map +1 -0
  125. package/dist/example/ExampleApplicationSection.js +68 -0
  126. package/dist/example/ExampleBasicsSections.d.ts.map +1 -1
  127. package/dist/example/ExampleBasicsSections.js +5 -9
  128. package/dist/example/ExampleDataSection.d.ts.map +1 -1
  129. package/dist/example/ExampleDataSection.js +31 -30
  130. package/dist/example/ExampleFieldsSection.d.ts.map +1 -1
  131. package/dist/example/ExampleFieldsSection.js +51 -3
  132. package/dist/example/ExampleFoundationsSection.js +1 -1
  133. package/dist/example/ExampleOverlays.d.ts.map +1 -1
  134. package/dist/example/ExampleOverlays.js +7 -2
  135. package/dist/example/ExampleOverlaysSection.d.ts.map +1 -1
  136. package/dist/example/ExampleOverlaysSection.js +5 -2
  137. package/dist/example/ExampleSelectionSection.d.ts +3 -1
  138. package/dist/example/ExampleSelectionSection.d.ts.map +1 -1
  139. package/dist/example/ExampleSelectionSection.js +10 -3
  140. package/dist/example/ExampleStateSection.d.ts +3 -0
  141. package/dist/example/ExampleStateSection.d.ts.map +1 -1
  142. package/dist/example/ExampleStateSection.js +58 -3
  143. package/dist/example/ExampleThemePlayground.d.ts +83 -53
  144. package/dist/example/ExampleThemePlayground.d.ts.map +1 -1
  145. package/dist/example/ExampleThemePlayground.js +119 -56
  146. package/dist/example/UiExamplePage.d.ts.map +1 -1
  147. package/dist/example/UiExamplePage.js +39 -10
  148. package/dist/example/codeSamples.d.ts +7 -0
  149. package/dist/example/codeSamples.d.ts.map +1 -1
  150. package/dist/example/codeSamples.js +429 -60
  151. package/dist/example/exampleData.d.ts.map +1 -1
  152. package/dist/example/exampleData.js +16 -2
  153. package/dist/example/styles.css +245 -74
  154. package/dist/hooks/useFloatingPosition.js +1 -1
  155. package/dist/hooks/usePresence.d.ts.map +1 -1
  156. package/dist/hooks/usePresence.js +9 -7
  157. package/dist/index.d.ts +8 -1
  158. package/dist/index.d.ts.map +1 -1
  159. package/dist/index.js +8 -1
  160. package/dist/styles/orcestr-ui.css +2544 -671
  161. package/dist/theme/ThemeProvider.d.ts.map +1 -1
  162. package/dist/theme/ThemeProvider.js +90 -36
  163. package/dist/theme/defaultTheme.d.ts.map +1 -1
  164. package/dist/theme/defaultTheme.js +322 -194
  165. package/dist/theme/systemProps.d.ts +48 -28
  166. package/dist/theme/systemProps.d.ts.map +1 -1
  167. package/dist/theme/systemProps.js +103 -1
  168. package/dist/theme/themeTypes.d.ts +21 -17
  169. package/dist/theme/themeTypes.d.ts.map +1 -1
  170. package/dist/utils/slot.d.ts +11 -0
  171. package/dist/utils/slot.d.ts.map +1 -0
  172. package/dist/utils/slot.js +18 -0
  173. package/package.json +1 -1
  174. package/dist/components/Workflow/Workflow.d.ts +0 -82
  175. package/dist/components/Workflow/Workflow.d.ts.map +0 -1
  176. package/dist/components/Workflow/Workflow.js +0 -73
@@ -102,145 +102,220 @@ const sharedStructure = {
102
102
  },
103
103
  components: {
104
104
  buttonRadius: '6px',
105
- buttonFontWeight: 650,
106
- tableCellPaddingY: '10px',
107
- tableHeaderHeight: '42px',
105
+ buttonFontWeight: 500,
106
+ tableCellPaddingY: '8px',
107
+ tableHeaderHeight: '38px',
108
108
  fieldGap: '6px',
109
109
  modalMaxWidth: '680px',
110
- pipelineStepMinWidth: '130px',
111
110
  },
112
111
  };
113
112
  const darkBase = {
114
113
  colors: {
115
- bg: '#111318',
116
- panel: '#171a21',
117
- panelSoft: '#20242d',
114
+ bg: '#09090b',
115
+ panel: '#0c0c0f',
116
+ panelSoft: '#222222',
118
117
  control: 'transparent',
119
- controlHover: 'rgb(255 255 255 / 6%)',
120
- text: '#f4f6f8',
121
- muted: '#9aa4b2',
122
- border: 'rgb(255 255 255 / 10%)',
123
- borderStrong: 'rgb(255 255 255 / 20%)',
124
- brand: '#6ea0ff',
125
- brandStrong: '#93b8ff',
126
- brandSolid: '#315fbe',
127
- brandSolidHover: '#3b70d8',
128
- brandSoft: 'rgb(110 160 255 / 16%)',
129
- brandText: '#ffffff',
130
- danger: '#ff7b72',
131
- dangerSoft: 'rgb(255 123 114 / 14%)',
132
- success: '#5fd3a1',
133
- successSoft: '#173a31',
134
- warning: '#f3c969',
135
- warningSoft: '#443516',
136
- info: '#71c7ff',
137
- infoSoft: '#173852',
138
- selected: 'rgb(110 160 255 / 15%)',
139
- focusRing: '0 0 0 3px rgb(106 160 255 / 22%)',
140
- disabled: 'rgb(154 164 178 / 42%)',
118
+ controlHover: '#ffffff12',
119
+ text: '#eeeeee',
120
+ muted: '#b4b4b4',
121
+ border: '#ffffff1b',
122
+ borderStrong: '#ffffff2c',
123
+ primary: {
124
+ base: '#0090ff',
125
+ text: '#70b8ff',
126
+ surface: '#0077ff3a',
127
+ border: '#2a91fe98',
128
+ contrast: '#ffffff',
129
+ },
130
+ secondary: {
131
+ base: '#8d8d8d',
132
+ text: '#eeeeee',
133
+ surface: '#ffffff09',
134
+ border: '#ffffff1b',
135
+ contrast: '#ffffff',
136
+ },
137
+ neutral: {
138
+ base: '#b4b4b4',
139
+ text: '#eeeeee',
140
+ surface: '#ffffff09',
141
+ border: '#ffffff1b',
142
+ contrast: '#ffffff',
143
+ },
144
+ danger: {
145
+ base: '#e5484d',
146
+ text: '#ff9592',
147
+ surface: '#ff173f2d',
148
+ border: '#ff536184',
149
+ contrast: '#ffffff',
150
+ },
151
+ success: {
152
+ base: '#30a46c',
153
+ text: '#3dd68c',
154
+ surface: '#22ff991e',
155
+ border: '#50fdac5e',
156
+ contrast: '#ffffff',
157
+ },
158
+ warning: {
159
+ base: '#ffc53d',
160
+ text: '#ffca16',
161
+ surface: '#fa820022',
162
+ border: '#fd9b0051',
163
+ contrast: '#202020',
164
+ },
165
+ info: {
166
+ base: '#0090ff',
167
+ text: '#70b8ff',
168
+ surface: '#0077ff3a',
169
+ border: '#2a91fe98',
170
+ contrast: '#ffffff',
171
+ },
172
+ selected: '#0077ff3a',
173
+ focusRing: '0 0 0 3px #0075ff57',
174
+ disabled: '#ffffff55',
141
175
  overlay: 'rgb(0 0 0 / 48%)',
142
- floating: '#161a22',
143
- section: 'rgb(255 255 255 / 2%)',
144
- sectionNested: 'rgb(255 255 255 / 2%)',
145
- pad: 'rgb(255 255 255 / 2%)',
146
- padHover: 'rgb(255 255 255 / 4.5%)',
147
- skeletonShimmer: 'rgb(255 255 255 / 8%)',
176
+ floating: '#0c0c0f',
177
+ section: 'transparent',
178
+ sectionNested: 'transparent',
179
+ pad: '#ffffff09',
180
+ padHover: '#ffffff12',
181
+ skeletonShimmer: '#ffffff12',
148
182
  },
149
183
  shadows: {
150
- sm: '0 2px 10px rgb(0 0 0 / 22%)',
151
- md: '0 16px 48px rgb(0 0 0 / 42%)',
184
+ sm: 'inset 0 -1px 1px 0 #ffffff12, inset 0 0 0 1px #ffffff12, inset 0 3px 4px 0 rgb(0 0 0 / 30%), inset 0 0 0 1px #ffffff1b',
185
+ md: '0 0 0 1px #ffffff2c, 0 2px 3px -2px rgb(0 0 0 / 15%), 0 3px 8px -2px rgb(0 0 0 / 40%), 0 4px 12px -4px rgb(0 0 0 / 50%)',
152
186
  overlay: '0 24px 70px rgb(0 0 0 / 48%)',
153
187
  section: 'none',
154
188
  focus: darkBaseFocusRing(),
155
189
  },
156
190
  status: statusTokens({
157
191
  neutral: {
158
- color: '#9aa4b2',
159
- text: '#f4f6f8',
160
- soft: 'rgb(255 255 255 / 2%)',
161
- border: 'rgb(255 255 255 / 10%)',
192
+ color: '#b4b4b4',
193
+ text: '#eeeeee',
194
+ soft: '#ffffff09',
195
+ border: '#ffffff1b',
196
+ },
197
+ primary: {
198
+ color: '#0090ff',
199
+ text: '#70b8ff',
200
+ soft: '#0077ff3a',
201
+ border: '#2a91fe98',
162
202
  },
163
- brand: {
164
- color: '#6ea0ff',
165
- text: '#93b8ff',
166
- soft: 'rgb(110 160 255 / 16%)',
167
- border: 'rgb(110 160 255 / 34%)',
203
+ secondary: {
204
+ color: '#8d8d8d',
205
+ text: '#eeeeee',
206
+ soft: '#ffffff09',
207
+ border: '#ffffff1b',
168
208
  },
169
209
  success: {
170
- color: '#5fd3a1',
171
- text: '#5fd3a1',
172
- soft: '#173a31',
173
- border: 'rgb(95 211 161 / 30%)',
210
+ color: '#30a46c',
211
+ text: '#3dd68c',
212
+ soft: '#22ff991e',
213
+ border: '#50fdac5e',
174
214
  },
175
215
  warning: {
176
- color: '#f3c969',
177
- text: '#f3c969',
178
- soft: '#443516',
179
- border: 'rgb(243 201 105 / 32%)',
216
+ color: '#ffc53d',
217
+ text: '#ffca16',
218
+ soft: '#fa820022',
219
+ border: '#fd9b0051',
180
220
  },
181
221
  danger: {
182
- color: '#ff7b72',
183
- text: '#ff7b72',
184
- soft: 'rgb(255 123 114 / 14%)',
185
- border: 'rgb(255 123 114 / 34%)',
222
+ color: '#e5484d',
223
+ text: '#ff9592',
224
+ soft: '#ff173f2d',
225
+ border: '#ff536184',
186
226
  },
187
227
  info: {
188
- color: '#71c7ff',
189
- text: '#71c7ff',
190
- soft: '#173852',
191
- border: 'rgb(113 199 255 / 30%)',
228
+ color: '#0090ff',
229
+ text: '#70b8ff',
230
+ soft: '#0077ff3a',
231
+ border: '#2a91fe98',
192
232
  },
193
233
  }),
194
234
  toast: {
195
- background: 'rgb(22 26 34 / 86%)',
196
- blur: 14,
197
- borderColor: 'rgb(255 255 255 / 14%)',
198
- shadow: '0 12px 32px rgb(0 0 0 / 24%)',
199
- animationDuration: '520ms',
200
- exitDuration: '260ms',
201
- progressHeight: '1px',
235
+ background: 'rgb(12 12 15 / 56%)',
236
+ blur: 18,
237
+ borderColor: 'rgb(255 255 255 / 12%)',
238
+ shadow: '0 10px 30px rgb(0 0 0 / 20%)',
239
+ animationDuration: '420ms',
240
+ exitDuration: '320ms',
241
+ progressHeight: '2px',
202
242
  },
203
243
  ...sharedStructure,
204
244
  };
205
245
  const lightBase = {
206
246
  colors: {
207
- bg: '#f8fafc',
247
+ bg: '#ffffff',
208
248
  panel: '#ffffff',
209
- panelSoft: '#f3f6fa',
249
+ panelSoft: '#f9f9f9',
210
250
  control: 'transparent',
211
- controlHover: 'rgb(15 23 42 / 6%)',
212
- text: '#111827',
213
- muted: '#6b7280',
214
- border: 'rgb(15 23 42 / 12%)',
215
- borderStrong: 'rgb(15 23 42 / 24%)',
216
- brand: '#2563eb',
217
- brandStrong: '#1d4ed8',
218
- brandSolid: '#2563eb',
219
- brandSolidHover: '#1d4ed8',
220
- brandSoft: 'rgb(37 99 235 / 12%)',
221
- brandText: '#ffffff',
222
- danger: '#dc2626',
223
- dangerSoft: 'rgb(220 38 38 / 12%)',
224
- success: '#0f9f6e',
225
- successSoft: '#e8f8f2',
226
- warning: '#bd7a00',
227
- warningSoft: '#fff6db',
228
- info: '#0876bd',
229
- infoSoft: '#e7f4ff',
230
- selected: 'rgb(37 99 235 / 10%)',
231
- focusRing: '0 0 0 3px rgb(37 99 235 / 16%)',
232
- disabled: 'rgb(107 114 128 / 46%)',
251
+ controlHover: '#0000000f',
252
+ text: '#202020',
253
+ muted: '#646464',
254
+ border: '#00000017',
255
+ borderStrong: '#00000026',
256
+ primary: {
257
+ base: '#0090ff',
258
+ text: '#0d74ce',
259
+ surface: '#008ff519',
260
+ border: '#0083eb71',
261
+ contrast: '#ffffff',
262
+ },
263
+ secondary: {
264
+ base: '#8d8d8d',
265
+ text: '#202020',
266
+ surface: '#00000006',
267
+ border: '#00000017',
268
+ contrast: '#ffffff',
269
+ },
270
+ neutral: {
271
+ base: '#6b7280',
272
+ text: '#202020',
273
+ surface: '#00000006',
274
+ border: '#00000017',
275
+ contrast: '#ffffff',
276
+ },
277
+ danger: {
278
+ base: '#e5484d',
279
+ text: '#ce2c31',
280
+ surface: '#f3000d14',
281
+ border: '#df000356',
282
+ contrast: '#ffffff',
283
+ },
284
+ success: {
285
+ base: '#30a46c',
286
+ text: '#218358',
287
+ surface: '#00a43319',
288
+ border: '#00914071',
289
+ contrast: '#ffffff',
290
+ },
291
+ warning: {
292
+ base: '#ffc53d',
293
+ text: '#ab6400',
294
+ surface: '#ffde003d',
295
+ border: '#eab5008c',
296
+ contrast: '#202020',
297
+ },
298
+ info: {
299
+ base: '#0090ff',
300
+ text: '#0d74ce',
301
+ surface: '#008ff519',
302
+ border: '#0083eb71',
303
+ contrast: '#ffffff',
304
+ },
305
+ selected: '#008ff519',
306
+ focusRing: '0 0 0 3px #009eff2a',
307
+ disabled: '#00000044',
233
308
  overlay: 'rgb(15 23 42 / 36%)',
234
309
  floating: '#ffffff',
235
310
  section: 'transparent',
236
311
  sectionNested: 'transparent',
237
- pad: 'rgb(15 23 42 / 3.5%)',
238
- padHover: 'rgb(15 23 42 / 5.5%)',
312
+ pad: '#00000006',
313
+ padHover: '#0000000f',
239
314
  skeletonShimmer: 'rgb(255 255 255 / 18%)',
240
315
  },
241
316
  shadows: {
242
- sm: '0 2px 8px rgb(17 24 39 / 8%)',
243
- md: '0 16px 48px rgb(15 23 42 / 18%)',
317
+ sm: 'inset 0 0 0 1px #0000001f, inset 0 1.5px 2px 0 #00000006, inset 0 1.5px 2px 0 rgb(0 0 0 / 10%)',
318
+ md: '0 0 0 1px #0000000f, 0 2px 3px -2px #0000000f, 0 3px 12px -4px rgb(0 0 0 / 10%), 0 4px 16px -8px rgb(0 0 0 / 10%)',
244
319
  overlay: '0 24px 70px rgb(15 23 42 / 22%)',
245
320
  section: '0 8px 26px rgb(15 23 42 / 8%)',
246
321
  focus: lightBaseFocusRing(),
@@ -248,49 +323,55 @@ const lightBase = {
248
323
  status: statusTokens({
249
324
  neutral: {
250
325
  color: '#6b7280',
251
- text: '#111827',
252
- soft: 'rgb(15 23 42 / 3.5%)',
253
- border: 'rgb(15 23 42 / 12%)',
326
+ text: '#202020',
327
+ soft: '#00000006',
328
+ border: '#00000017',
254
329
  },
255
- brand: {
256
- color: '#2563eb',
257
- text: '#1d4ed8',
258
- soft: 'rgb(37 99 235 / 12%)',
259
- border: 'rgb(37 99 235 / 28%)',
330
+ primary: {
331
+ color: '#0090ff',
332
+ text: '#0d74ce',
333
+ soft: '#008ff519',
334
+ border: '#0083eb71',
335
+ },
336
+ secondary: {
337
+ color: '#8d8d8d',
338
+ text: '#202020',
339
+ soft: '#00000006',
340
+ border: '#00000017',
260
341
  },
261
342
  success: {
262
- color: '#0f9f6e',
263
- text: '#0f9f6e',
264
- soft: '#e8f8f2',
265
- border: 'rgb(15 159 110 / 26%)',
343
+ color: '#30a46c',
344
+ text: '#218358',
345
+ soft: '#00a43319',
346
+ border: '#00914071',
266
347
  },
267
348
  warning: {
268
- color: '#bd7a00',
269
- text: '#bd7a00',
270
- soft: '#fff6db',
271
- border: 'rgb(189 122 0 / 28%)',
349
+ color: '#ffc53d',
350
+ text: '#ab6400',
351
+ soft: '#ffde003d',
352
+ border: '#eab5008c',
272
353
  },
273
354
  danger: {
274
- color: '#dc2626',
275
- text: '#dc2626',
276
- soft: 'rgb(220 38 38 / 12%)',
277
- border: 'rgb(220 38 38 / 28%)',
355
+ color: '#e5484d',
356
+ text: '#ce2c31',
357
+ soft: '#f3000d14',
358
+ border: '#df000356',
278
359
  },
279
360
  info: {
280
- color: '#0876bd',
281
- text: '#0876bd',
282
- soft: '#e7f4ff',
283
- border: 'rgb(8 118 189 / 26%)',
361
+ color: '#0090ff',
362
+ text: '#0d74ce',
363
+ soft: '#008ff519',
364
+ border: '#0083eb71',
284
365
  },
285
366
  }),
286
367
  toast: {
287
- background: 'rgb(255 255 255 / 86%)',
288
- blur: 14,
368
+ background: 'rgb(255 255 255 / 72%)',
369
+ blur: 18,
289
370
  borderColor: 'rgb(15 23 42 / 12%)',
290
- shadow: '0 12px 30px rgb(15 23 42 / 12%)',
291
- animationDuration: '520ms',
292
- exitDuration: '260ms',
293
- progressHeight: '1px',
371
+ shadow: '0 10px 30px rgb(15 23 42 / 12%)',
372
+ animationDuration: '420ms',
373
+ exitDuration: '320ms',
374
+ progressHeight: '2px',
294
375
  },
295
376
  ...sharedStructure,
296
377
  };
@@ -302,51 +383,34 @@ const surfaceOverrides = {
302
383
  operations: {
303
384
  dark: {
304
385
  colors: {
305
- bg: '#0f1216',
306
- panel: '#151a20',
307
- panelSoft: '#1d252e',
308
- floating: '#151a20',
309
- brand: '#5dd4a4',
310
- brandStrong: '#7ee6ba',
311
- brandSolid: '#16885d',
312
- brandSolidHover: '#1fa06f',
313
- brandSoft: 'rgb(93 212 164 / 16%)',
314
- selected: 'rgb(93 212 164 / 15%)',
315
- focusRing: '0 0 0 3px rgb(93 212 164 / 22%)',
316
- info: '#82cfff',
317
- infoSoft: '#15364b',
386
+ bg: '#09090b',
387
+ panel: '#0c0c0f',
388
+ panelSoft: '#222222',
389
+ floating: '#0c0c0f',
318
390
  },
319
391
  toast: {
320
- background: 'rgb(21 26 32 / 88%)',
392
+ background: 'rgb(12 12 15 / 88%)',
321
393
  },
322
394
  components: {
395
+ buttonFontWeight: 500,
323
396
  tableCellPaddingY: '8px',
324
397
  tableHeaderHeight: '38px',
325
- pipelineStepMinWidth: '148px',
326
398
  },
327
399
  },
328
400
  light: {
329
401
  colors: {
330
- bg: '#f6faf8',
402
+ bg: '#ffffff',
331
403
  panel: '#ffffff',
332
- panelSoft: '#edf5f1',
333
- brand: '#12815c',
334
- brandStrong: '#0f6f4f',
335
- brandSolid: '#12815c',
336
- brandSolidHover: '#0f6f4f',
337
- brandSoft: 'rgb(18 129 92 / 12%)',
338
- selected: 'rgb(18 129 92 / 10%)',
339
- focusRing: '0 0 0 3px rgb(18 129 92 / 16%)',
340
- info: '#0969a8',
341
- infoSoft: '#e4f2fb',
404
+ panelSoft: '#f9f9f9',
405
+ floating: '#ffffff',
342
406
  },
343
407
  toast: {
344
408
  background: 'rgb(255 255 255 / 88%)',
345
409
  },
346
410
  components: {
411
+ buttonFontWeight: 500,
347
412
  tableCellPaddingY: '8px',
348
413
  tableHeaderHeight: '38px',
349
- pipelineStepMinWidth: '148px',
350
414
  },
351
415
  },
352
416
  },
@@ -357,17 +421,29 @@ const surfaceOverrides = {
357
421
  panel: '#1d1820',
358
422
  panelSoft: '#29212d',
359
423
  floating: '#1d1820',
360
- brand: '#f0a6d8',
361
- brandStrong: '#ffc1e7',
362
- brandSolid: '#a84486',
363
- brandSolidHover: '#bc5399',
364
- brandSoft: 'rgb(240 166 216 / 17%)',
424
+ primary: {
425
+ base: '#a84486',
426
+ text: '#ffc1e7',
427
+ surface: 'rgb(240 166 216 / 17%)',
428
+ border: 'rgb(255 193 231 / 28%)',
429
+ contrast: '#ffffff',
430
+ },
365
431
  selected: 'rgb(240 166 216 / 16%)',
366
432
  focusRing: '0 0 0 3px rgb(240 166 216 / 24%)',
367
- warning: '#ffd079',
368
- warningSoft: '#49371c',
369
- info: '#9bd7ff',
370
- infoSoft: '#19394d',
433
+ warning: {
434
+ base: '#ffd079',
435
+ text: '#ffd079',
436
+ surface: '#49371c',
437
+ border: 'rgb(255 208 121 / 34%)',
438
+ contrast: '#202020',
439
+ },
440
+ info: {
441
+ base: '#9bd7ff',
442
+ text: '#9bd7ff',
443
+ surface: '#19394d',
444
+ border: 'rgb(155 215 255 / 32%)',
445
+ contrast: '#202020',
446
+ },
371
447
  },
372
448
  toast: {
373
449
  background: 'rgb(29 24 32 / 88%)',
@@ -384,17 +460,29 @@ const surfaceOverrides = {
384
460
  bg: '#fff8fc',
385
461
  panel: '#ffffff',
386
462
  panelSoft: '#fff0f8',
387
- brand: '#c0267f',
388
- brandStrong: '#a21d6c',
389
- brandSolid: '#c0267f',
390
- brandSolidHover: '#a21d6c',
391
- brandSoft: 'rgb(192 38 127 / 12%)',
463
+ primary: {
464
+ base: '#c0267f',
465
+ text: '#a21d6c',
466
+ surface: 'rgb(192 38 127 / 12%)',
467
+ border: 'rgb(192 38 127 / 24%)',
468
+ contrast: '#ffffff',
469
+ },
392
470
  selected: 'rgb(192 38 127 / 10%)',
393
471
  focusRing: '0 0 0 3px rgb(192 38 127 / 16%)',
394
- warning: '#b96b00',
395
- warningSoft: '#fff1d0',
396
- info: '#0876bd',
397
- infoSoft: '#e6f5ff',
472
+ warning: {
473
+ base: '#b96b00',
474
+ text: '#b96b00',
475
+ surface: '#fff1d0',
476
+ border: 'rgb(185 107 0 / 26%)',
477
+ contrast: '#ffffff',
478
+ },
479
+ info: {
480
+ base: '#0876bd',
481
+ text: '#0876bd',
482
+ surface: '#e6f5ff',
483
+ border: 'rgb(8 118 189 / 24%)',
484
+ contrast: '#ffffff',
485
+ },
398
486
  },
399
487
  toast: {
400
488
  background: 'rgb(255 255 255 / 88%)',
@@ -413,17 +501,29 @@ const surfaceOverrides = {
413
501
  panel: '#191712',
414
502
  panelSoft: '#242017',
415
503
  floating: '#191712',
416
- brand: '#e6c26a',
417
- brandStrong: '#f1d990',
418
- brandSolid: '#9b6f12',
419
- brandSolidHover: '#b98219',
420
- brandSoft: 'rgb(230 194 106 / 16%)',
504
+ primary: {
505
+ base: '#9b6f12',
506
+ text: '#f1d990',
507
+ surface: 'rgb(230 194 106 / 16%)',
508
+ border: 'rgb(241 217 144 / 28%)',
509
+ contrast: '#ffffff',
510
+ },
421
511
  selected: 'rgb(230 194 106 / 14%)',
422
512
  focusRing: '0 0 0 3px rgb(230 194 106 / 22%)',
423
- warning: '#f4c95d',
424
- warningSoft: '#493814',
425
- info: '#9fc5ff',
426
- infoSoft: '#1a314f',
513
+ warning: {
514
+ base: '#f4c95d',
515
+ text: '#f4c95d',
516
+ surface: '#493814',
517
+ border: 'rgb(244 201 93 / 34%)',
518
+ contrast: '#202020',
519
+ },
520
+ info: {
521
+ base: '#9fc5ff',
522
+ text: '#9fc5ff',
523
+ surface: '#1a314f',
524
+ border: 'rgb(159 197 255 / 32%)',
525
+ contrast: '#202020',
526
+ },
427
527
  },
428
528
  toast: {
429
529
  background: 'rgb(25 23 18 / 88%)',
@@ -439,17 +539,29 @@ const surfaceOverrides = {
439
539
  bg: '#fbfaf6',
440
540
  panel: '#ffffff',
441
541
  panelSoft: '#f3efe4',
442
- brand: '#9b6f12',
443
- brandStrong: '#79570e',
444
- brandSolid: '#9b6f12',
445
- brandSolidHover: '#79570e',
446
- brandSoft: 'rgb(155 111 18 / 12%)',
542
+ primary: {
543
+ base: '#9b6f12',
544
+ text: '#79570e',
545
+ surface: 'rgb(155 111 18 / 12%)',
546
+ border: 'rgb(155 111 18 / 24%)',
547
+ contrast: '#ffffff',
548
+ },
447
549
  selected: 'rgb(155 111 18 / 10%)',
448
550
  focusRing: '0 0 0 3px rgb(155 111 18 / 16%)',
449
- warning: '#a16207',
450
- warningSoft: '#fff4cf',
451
- info: '#2563eb',
452
- infoSoft: '#e9f1ff',
551
+ warning: {
552
+ base: '#a16207',
553
+ text: '#a16207',
554
+ surface: '#fff4cf',
555
+ border: 'rgb(161 98 7 / 26%)',
556
+ contrast: '#ffffff',
557
+ },
558
+ info: {
559
+ base: '#2563eb',
560
+ text: '#2563eb',
561
+ surface: '#e9f1ff',
562
+ border: 'rgb(37 99 235 / 24%)',
563
+ contrast: '#ffffff',
564
+ },
453
565
  },
454
566
  toast: {
455
567
  background: 'rgb(255 255 255 / 88%)',
@@ -466,7 +578,7 @@ function mergeTheme(baseTheme, overrides) {
466
578
  ...overrides,
467
579
  mode: baseTheme.mode,
468
580
  surface: baseTheme.surface,
469
- colors: { ...baseTheme.colors, ...overrides.colors },
581
+ colors: mergeColors(baseTheme.colors, overrides.colors),
470
582
  radii: { ...baseTheme.radii, ...overrides.radii },
471
583
  spacing: { ...baseTheme.spacing, ...overrides.spacing },
472
584
  breakpoints: { ...baseTheme.breakpoints, ...overrides.breakpoints },
@@ -494,10 +606,10 @@ export function themeByMode(mode, surface = 'orcestr', themeOverrides) {
494
606
  export const darkTheme = themeByMode('dark');
495
607
  export const lightTheme = themeByMode('light');
496
608
  function darkBaseFocusRing() {
497
- return '0 0 0 3px rgb(106 160 255 / 22%)';
609
+ return '0 0 0 3px #0075ff57';
498
610
  }
499
611
  function lightBaseFocusRing() {
500
- return '0 0 0 3px rgb(37 99 235 / 16%)';
612
+ return '0 0 0 3px #009eff2a';
501
613
  }
502
614
  function statusTokens(tokens) {
503
615
  return tokens;
@@ -507,10 +619,26 @@ function mergeStatus(baseStatus, overrides) {
507
619
  return baseStatus;
508
620
  return {
509
621
  neutral: { ...baseStatus.neutral, ...overrides.neutral },
510
- brand: { ...baseStatus.brand, ...overrides.brand },
622
+ primary: { ...baseStatus.primary, ...overrides.primary },
623
+ secondary: { ...baseStatus.secondary, ...overrides.secondary },
511
624
  success: { ...baseStatus.success, ...overrides.success },
512
625
  warning: { ...baseStatus.warning, ...overrides.warning },
513
626
  danger: { ...baseStatus.danger, ...overrides.danger },
514
627
  info: { ...baseStatus.info, ...overrides.info },
515
628
  };
516
629
  }
630
+ function mergeColors(baseColors, overrides) {
631
+ if (!overrides)
632
+ return baseColors;
633
+ return {
634
+ ...baseColors,
635
+ ...overrides,
636
+ primary: { ...baseColors.primary, ...overrides.primary },
637
+ secondary: { ...baseColors.secondary, ...overrides.secondary },
638
+ neutral: { ...baseColors.neutral, ...overrides.neutral },
639
+ danger: { ...baseColors.danger, ...overrides.danger },
640
+ success: { ...baseColors.success, ...overrides.success },
641
+ warning: { ...baseColors.warning, ...overrides.warning },
642
+ info: { ...baseColors.info, ...overrides.info },
643
+ };
644
+ }