@orcestr/ui 0.1.0 → 0.2.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 (205) hide show
  1. package/README.md +11 -11
  2. package/README.ru.md +10 -10
  3. package/dist/components/Action/ActionConfirmModal.d.ts.map +1 -1
  4. package/dist/components/Action/ActionTypes.d.ts +1 -1
  5. package/dist/components/Action/ActionTypes.d.ts.map +1 -1
  6. package/dist/components/ActionMenu/ActionMenu.d.ts.map +1 -1
  7. package/dist/components/Alert/Alert.d.ts.map +1 -1
  8. package/dist/components/Alert/Alert.js +1 -1
  9. package/dist/components/AppShell/AppShell.d.ts +11 -0
  10. package/dist/components/AppShell/AppShell.d.ts.map +1 -1
  11. package/dist/components/AppShell/AppShell.js +15 -14
  12. package/dist/components/AppSidebar/AppSidebar.d.ts.map +1 -1
  13. package/dist/components/AppSidebar/AppSidebar.js +84 -15
  14. package/dist/components/Badge/Badge.d.ts.map +1 -1
  15. package/dist/components/Badge/Badge.js +1 -1
  16. package/dist/components/BadgeSelectMenu/BadgeSelectMenu.d.ts.map +1 -1
  17. package/dist/components/BadgeSelectMenu/BadgeSelectMenu.js +5 -5
  18. package/dist/components/Box/Box.d.ts.map +1 -1
  19. package/dist/components/Box/Box.js +1 -1
  20. package/dist/components/Button/Button.d.ts.map +1 -1
  21. package/dist/components/Button/Button.js +2 -2
  22. package/dist/components/Card/Card.d.ts.map +1 -1
  23. package/dist/components/Checkbox/Checkbox.d.ts.map +1 -1
  24. package/dist/components/Checkbox/Checkbox.js +1 -1
  25. package/dist/components/Collapse/Collapse.d.ts.map +1 -1
  26. package/dist/components/Collapse/Collapse.js +5 -25
  27. package/dist/components/Combobox/Combobox.d.ts.map +1 -1
  28. package/dist/components/Combobox/Combobox.js +7 -2
  29. package/dist/components/CommandPalette/CommandPalette.d.ts.map +1 -1
  30. package/dist/components/CommandPalette/CommandPalette.js +6 -12
  31. package/dist/components/ConfirmDialog/ConfirmDialog.d.ts +1 -1
  32. package/dist/components/ConfirmDialog/ConfirmDialog.d.ts.map +1 -1
  33. package/dist/components/ConfirmDialog/ConfirmDialog.js +1 -1
  34. package/dist/components/ContextMenu/ContextMenu.d.ts.map +1 -1
  35. package/dist/components/ContextMenu/ContextMenu.js +3 -3
  36. package/dist/components/CopyButton/CopyButton.d.ts +24 -0
  37. package/dist/components/CopyButton/CopyButton.d.ts.map +1 -0
  38. package/dist/components/CopyButton/CopyButton.js +81 -0
  39. package/dist/components/DataTable/DataTable.d.ts.map +1 -1
  40. package/dist/components/DataTable/DataTable.js +29 -22
  41. package/dist/components/DataTable/DataTableStateAdapters.d.ts.map +1 -1
  42. package/dist/components/DataTable/DataTableStateAdapters.js +3 -4
  43. package/dist/components/DatePicker/DatePicker.d.ts.map +1 -1
  44. package/dist/components/DatePicker/DatePicker.js +1 -1
  45. package/dist/components/DatePicker/DatePickerState.d.ts.map +1 -1
  46. package/dist/components/DatePicker/DatePickerState.js +3 -1
  47. package/dist/components/DateRangePicker/DateRangePicker.d.ts.map +1 -1
  48. package/dist/components/DateRangePresetPicker/DateRangePresetPicker.d.ts.map +1 -1
  49. package/dist/components/DateRangePresetPicker/DateRangePresetPicker.js +1 -1
  50. package/dist/components/DateRangePresetPicker/DateRangePresetPickerState.d.ts.map +1 -1
  51. package/dist/components/Dialog/Dialog.d.ts.map +1 -1
  52. package/dist/components/Drawer/Drawer.d.ts +2 -1
  53. package/dist/components/Drawer/Drawer.d.ts.map +1 -1
  54. package/dist/components/Drawer/Drawer.js +3 -3
  55. package/dist/components/EntityPicker/EntityPicker.d.ts.map +1 -1
  56. package/dist/components/EntityPicker/EntityPicker.js +2 -2
  57. package/dist/components/Field/Field.d.ts.map +1 -1
  58. package/dist/components/Field/Field.js +1 -1
  59. package/dist/components/Flex/Flex.d.ts.map +1 -1
  60. package/dist/components/Flex/Flex.js +1 -1
  61. package/dist/components/Grid/Grid.d.ts.map +1 -1
  62. package/dist/components/Highlight/Highlight.d.ts.map +1 -1
  63. package/dist/components/Highlight/Highlight.js +1 -1
  64. package/dist/components/IconButton/IconButton.d.ts.map +1 -1
  65. package/dist/components/IconButton/IconButton.js +3 -3
  66. package/dist/components/IconText/IconText.d.ts.map +1 -1
  67. package/dist/components/IconText/IconText.js +3 -1
  68. package/dist/components/IconTextButton/IconTextButton.d.ts.map +1 -1
  69. package/dist/components/InlineEdit/InlineEdit.d.ts.map +1 -1
  70. package/dist/components/InlineEdit/InlineEdit.js +22 -7
  71. package/dist/components/LinkButton/LinkButton.d.ts.map +1 -1
  72. package/dist/components/LinkButton/LinkButton.js +2 -2
  73. package/dist/components/Listbox/Listbox.js +2 -2
  74. package/dist/components/Menu/Menu.d.ts.map +1 -1
  75. package/dist/components/Menu/Menu.js +5 -5
  76. package/dist/components/Modal/Modal.d.ts.map +1 -1
  77. package/dist/components/Modal/Modal.js +4 -8
  78. package/dist/components/MultiSelect/MultiSelect.d.ts.map +1 -1
  79. package/dist/components/MultiSelect/MultiSelect.js +5 -7
  80. package/dist/components/NumberField/NumberField.d.ts.map +1 -1
  81. package/dist/components/NumberField/NumberField.js +1 -1
  82. package/dist/components/Overlay/OverlayProvider.d.ts +1 -1
  83. package/dist/components/Overlay/OverlayProvider.d.ts.map +1 -1
  84. package/dist/components/Overlay/OverlayProvider.js +3 -7
  85. package/dist/components/PaginatedCombobox/PaginatedCombobox.d.ts.map +1 -1
  86. package/dist/components/PaginatedCombobox/PaginatedCombobox.js +9 -8
  87. package/dist/components/PaginatedCombobox/PaginatedComboboxReactQueryAdapter.d.ts.map +1 -1
  88. package/dist/components/PaginatedCombobox/PaginatedComboboxReactQueryAdapter.js +2 -2
  89. package/dist/components/Pagination/Pagination.js +1 -1
  90. package/dist/components/Popover/Popover.d.ts.map +1 -1
  91. package/dist/components/Popover/Popover.js +16 -18
  92. package/dist/components/Portal/Portal.d.ts.map +1 -1
  93. package/dist/components/RadioGroup/RadioGroup.d.ts.map +1 -1
  94. package/dist/components/RadioGroup/RadioGroup.js +1 -1
  95. package/dist/components/ScrollArea/ScrollArea.d.ts.map +1 -1
  96. package/dist/components/ScrollArea/ScrollArea.js +10 -23
  97. package/dist/components/Section/Section.d.ts.map +1 -1
  98. package/dist/components/SegmentedControl/SegmentedControl.d.ts.map +1 -1
  99. package/dist/components/SegmentedControl/SegmentedControl.js +1 -1
  100. package/dist/components/Select/Select.d.ts.map +1 -1
  101. package/dist/components/Select/Select.js +4 -4
  102. package/dist/components/Separator/Separator.d.ts.map +1 -1
  103. package/dist/components/Separator/Separator.js +1 -1
  104. package/dist/components/Skeleton/Skeleton.d.ts.map +1 -1
  105. package/dist/components/Skeleton/Skeleton.js +1 -1
  106. package/dist/components/SpecialModal/SpecialModal.d.ts.map +1 -1
  107. package/dist/components/SpecialModal/SpecialModal.js +2 -2
  108. package/dist/components/Spinner/Spinner.d.ts.map +1 -1
  109. package/dist/components/Spinner/Spinner.js +1 -1
  110. package/dist/components/Stack/Stack.d.ts.map +1 -1
  111. package/dist/components/Stack/Stack.js +1 -1
  112. package/dist/components/State/State.d.ts.map +1 -1
  113. package/dist/components/State/State.js +5 -5
  114. package/dist/components/State/stateIcon.d.ts.map +1 -1
  115. package/dist/components/StepperInput/StepperInput.js +2 -2
  116. package/dist/components/Switch/Switch.js +1 -1
  117. package/dist/components/Table/Table.d.ts.map +1 -1
  118. package/dist/components/Table/Table.js +2 -2
  119. package/dist/components/Tabs/Tabs.d.ts.map +1 -1
  120. package/dist/components/Tabs/Tabs.js +24 -15
  121. package/dist/components/Text/Text.d.ts.map +1 -1
  122. package/dist/components/Text/Text.js +1 -1
  123. package/dist/components/TextArea/TextArea.d.ts.map +1 -1
  124. package/dist/components/TextArea/TextArea.js +2 -2
  125. package/dist/components/TextField/TextField.d.ts.map +1 -1
  126. package/dist/components/TextField/TextField.js +3 -3
  127. package/dist/components/Toast/Toast.d.ts +0 -4
  128. package/dist/components/Toast/Toast.d.ts.map +1 -1
  129. package/dist/components/Toast/Toast.js +63 -45
  130. package/dist/components/Tooltip/Tooltip.d.ts.map +1 -1
  131. package/dist/components/Tooltip/Tooltip.js +7 -9
  132. package/dist/components/VisuallyHidden/VisuallyHidden.d.ts.map +1 -1
  133. package/dist/example/CodePreview.d.ts +2 -1
  134. package/dist/example/CodePreview.d.ts.map +1 -1
  135. package/dist/example/CodePreview.js +18 -53
  136. package/dist/example/ExampleActionsSection.d.ts +1 -1
  137. package/dist/example/ExampleActionsSection.d.ts.map +1 -1
  138. package/dist/example/ExampleActionsSection.js +3 -3
  139. package/dist/example/ExampleApplicationSection.d.ts.map +1 -1
  140. package/dist/example/ExampleApplicationSection.js +91 -23
  141. package/dist/example/ExampleBasicsSections.d.ts +1 -1
  142. package/dist/example/ExampleBasicsSections.d.ts.map +1 -1
  143. package/dist/example/ExampleBasicsSections.js +22 -8
  144. package/dist/example/ExampleDataSection.d.ts.map +1 -1
  145. package/dist/example/ExampleDataSection.js +5 -5
  146. package/dist/example/ExampleFieldsSection.d.ts.map +1 -1
  147. package/dist/example/ExampleFieldsSection.js +8 -10
  148. package/dist/example/ExampleFoundationsSection.d.ts +1 -1
  149. package/dist/example/ExampleFoundationsSection.d.ts.map +1 -1
  150. package/dist/example/ExampleFoundationsSection.js +4 -4
  151. package/dist/example/ExampleOverlays.d.ts.map +1 -1
  152. package/dist/example/ExampleOverlays.js +4 -4
  153. package/dist/example/ExampleOverlaysSection.d.ts.map +1 -1
  154. package/dist/example/ExampleOverlaysSection.js +22 -35
  155. package/dist/example/ExampleSelectionSection.d.ts.map +1 -1
  156. package/dist/example/ExampleSelectionSection.js +8 -8
  157. package/dist/example/ExampleStateSection.d.ts +3 -3
  158. package/dist/example/ExampleStateSection.d.ts.map +1 -1
  159. package/dist/example/ExampleStateSection.js +15 -14
  160. package/dist/example/ExampleThemePlayground.d.ts +26 -26
  161. package/dist/example/ExampleThemePlayground.d.ts.map +1 -1
  162. package/dist/example/ExampleThemePlayground.js +58 -44
  163. package/dist/example/UiExamplePage.d.ts.map +1 -1
  164. package/dist/example/UiExamplePage.js +42 -55
  165. package/dist/example/UiExampleSection.d.ts.map +1 -1
  166. package/dist/example/UiExampleSection.js +1 -1
  167. package/dist/example/codeSamples.d.ts +1 -1
  168. package/dist/example/codeSamples.d.ts.map +1 -1
  169. package/dist/example/codeSamples.js +172 -70
  170. package/dist/example/exampleData.d.ts.map +1 -1
  171. package/dist/example/exampleData.js +5 -11
  172. package/dist/example/styles.css +79 -119
  173. package/dist/hooks/useControllableState.d.ts.map +1 -1
  174. package/dist/hooks/useControllableState.js +1 -3
  175. package/dist/hooks/useFloatingLayer.d.ts.map +1 -1
  176. package/dist/hooks/useFloatingLayer.js +1 -1
  177. package/dist/hooks/useFloatingPosition.d.ts.map +1 -1
  178. package/dist/hooks/useFloatingPosition.js +10 -15
  179. package/dist/hooks/useFocusTrap.d.ts.map +1 -1
  180. package/dist/hooks/useListNavigation.d.ts.map +1 -1
  181. package/dist/hooks/useListNavigation.js +2 -4
  182. package/dist/hooks/useOutsidePointerDown.d.ts.map +1 -1
  183. package/dist/hooks/useTypeahead.d.ts.map +1 -1
  184. package/dist/index.d.ts +1 -0
  185. package/dist/index.d.ts.map +1 -1
  186. package/dist/index.js +1 -0
  187. package/dist/locale/LocaleProvider.d.ts.map +1 -1
  188. package/dist/locale/LocaleProvider.js +1 -1
  189. package/dist/provider/OrcestrUiProvider.d.ts.map +1 -1
  190. package/dist/styles/orcestr-ui.css +658 -1033
  191. package/dist/theme/ThemeProvider.d.ts.map +1 -1
  192. package/dist/theme/ThemeProvider.js +21 -29
  193. package/dist/theme/defaultTheme.d.ts.map +1 -1
  194. package/dist/theme/defaultTheme.js +200 -89
  195. package/dist/theme/systemProps.d.ts +2 -2
  196. package/dist/theme/systemProps.d.ts.map +1 -1
  197. package/dist/theme/systemProps.js +4 -35
  198. package/dist/theme/themeTypes.d.ts +24 -19
  199. package/dist/theme/themeTypes.d.ts.map +1 -1
  200. package/dist/theme/useTheme.d.ts.map +1 -1
  201. package/dist/utils/cn.d.ts.map +1 -1
  202. package/dist/utils/composeRefs.d.ts.map +1 -1
  203. package/dist/utils/mergeProps.d.ts.map +1 -1
  204. package/dist/utils/polymorphic.d.ts.map +1 -1
  205. package/package.json +4 -1
@@ -1 +1 @@
1
- {"version":3,"file":"ThemeProvider.d.ts","sourceRoot":"","sources":["../../src/theme/ThemeProvider.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAGR,yBAAyB,EAE5B,MAAM,cAAc,CAAC;AAEtB,wBAAgB,oBAAoB,CAAC,EACjC,QAAQ,EACR,IAAI,EAAE,cAAc,EACpB,WAAoB,EACpB,cAA0B,EAC1B,OAAO,EACP,YAAY,EACZ,eAAe,EACf,cAAc,EACd,SAAS,EACT,KAAK,EACL,MAAM,GACT,EAAE,yBAAyB,2CA6P3B"}
1
+ {"version":3,"file":"ThemeProvider.d.ts","sourceRoot":"","sources":["../../src/theme/ThemeProvider.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAGR,yBAAyB,EAE5B,MAAM,cAAc,CAAC;AAEtB,wBAAgB,oBAAoB,CAAC,EACjC,QAAQ,EACR,IAAI,EAAE,cAAc,EACpB,WAAoB,EACpB,cAA0B,EAC1B,OAAO,EACP,YAAY,EACZ,eAAe,EACf,cAAc,EACd,SAAS,EACT,KAAK,EACL,MAAM,GACT,EAAE,yBAAyB,2CAuP3B"}
@@ -88,9 +88,9 @@ export function OrcestrThemeProvider({ children, mode: controlledMode, defaultMo
88
88
  '--oui-section-shadow': theme.shadows.section,
89
89
  '--oui-shadow-focus': theme.shadows.focus,
90
90
  '--oui-ring': theme.colors.focusRing,
91
- '--oui-radius': theme.radii.lg,
92
- '--oui-radius-sm': theme.radii.md,
93
- '--oui-radius-xl': theme.radii.xl,
91
+ '--oui-radius': theme.radius.lg,
92
+ '--oui-radius-sm': theme.radius.md,
93
+ '--oui-radius-xl': theme.radius.xl,
94
94
  '--oui-space-px': theme.spacing.px,
95
95
  '--oui-space-xs': theme.spacing.xs,
96
96
  '--oui-space-sm': theme.spacing.sm,
@@ -104,19 +104,19 @@ export function OrcestrThemeProvider({ children, mode: controlledMode, defaultMo
104
104
  '--oui-breakpoint-tablet': theme.breakpoints.tablet,
105
105
  '--oui-breakpoint-desktop': theme.breakpoints.desktop,
106
106
  '--oui-breakpoint-wide': theme.breakpoints.wide,
107
- '--oui-font-family': theme.typography.fontFamily,
108
- '--oui-font-family-mono': theme.typography.monoFontFamily,
109
- '--oui-title-size': theme.typography.titleSize,
110
- '--oui-heading-size': theme.typography.headingSize,
111
- '--oui-body-size': theme.typography.bodySize,
112
- '--oui-compact-size': theme.typography.compactSize,
113
- '--oui-label-size': theme.typography.labelSize,
114
- '--oui-line-height': theme.typography.lineHeight,
115
- '--oui-heading-line-height': theme.typography.headingLineHeight,
116
- '--oui-weight-regular': theme.typography.weightRegular,
117
- '--oui-weight-medium': theme.typography.weightMedium,
118
- '--oui-weight-bold': theme.typography.weightBold,
119
- '--oui-letter-spacing': theme.typography.letterSpacing,
107
+ '--oui-font-family': theme.text.family,
108
+ '--oui-font-family-mono': theme.text.mono,
109
+ '--oui-title-size': theme.text.title,
110
+ '--oui-heading-size': theme.text.heading,
111
+ '--oui-body-size': theme.text.body,
112
+ '--oui-compact-size': theme.text.compact,
113
+ '--oui-label-size': theme.text.label,
114
+ '--oui-line-height': theme.text.line,
115
+ '--oui-heading-line-height': theme.text.headingLine,
116
+ '--oui-weight-regular': theme.text.regular,
117
+ '--oui-weight-medium': theme.text.medium,
118
+ '--oui-weight-bold': theme.text.bold,
119
+ '--oui-letter-spacing': theme.text.letterSpacing,
120
120
  '--oui-status-neutral': theme.status.neutral.color,
121
121
  '--oui-status-neutral-text': theme.status.neutral.text,
122
122
  '--oui-status-neutral-soft': theme.status.neutral.soft,
@@ -156,11 +156,13 @@ export function OrcestrThemeProvider({ children, mode: controlledMode, defaultMo
156
156
  '--oui-z-toast': theme.zIndex.toast,
157
157
  '--oui-toast-bg': theme.toast.background,
158
158
  '--oui-toast-blur': cssBlur(theme.toast.blur),
159
- '--oui-toast-border-color': theme.toast.borderColor,
160
159
  '--oui-toast-shadow': theme.toast.shadow,
161
160
  '--oui-toast-animation-duration': theme.toast.animationDuration,
162
161
  '--oui-toast-exit-duration': theme.toast.exitDuration,
163
162
  '--oui-toast-progress-height': theme.toast.progressHeight,
163
+ '--oui-scrollbar-thumb': theme.scrollbar.thumb,
164
+ '--oui-scrollbar-thumb-hover': theme.scrollbar.thumbHover,
165
+ '--oui-scrollbar-track': theme.scrollbar.track,
164
166
  '--oui-state-hover-opacity': theme.states.hoverOpacity,
165
167
  '--oui-state-active-opacity': theme.states.activeOpacity,
166
168
  '--oui-state-disabled-opacity': theme.states.disabledOpacity,
@@ -188,15 +190,7 @@ export function OrcestrThemeProvider({ children, mode: controlledMode, defaultMo
188
190
  setMode,
189
191
  setSurface,
190
192
  toggleMode,
191
- }), [
192
- resolvedMode,
193
- resolvedSurface,
194
- theme,
195
- rootStyle,
196
- setMode,
197
- setSurface,
198
- toggleMode,
199
- ]);
193
+ }), [resolvedMode, resolvedSurface, theme, rootStyle, setMode, setSurface, toggleMode]);
200
194
  useEffect(() => {
201
195
  const root = document.documentElement;
202
196
  const previousTheme = root.getAttribute('data-oui-theme');
@@ -317,9 +311,7 @@ function parseHexColor(color) {
317
311
  function parseAlpha(value) {
318
312
  if (!value)
319
313
  return 1;
320
- const alpha = value.endsWith('%')
321
- ? Number.parseFloat(value) / 100
322
- : Number.parseFloat(value);
314
+ const alpha = value.endsWith('%') ? Number.parseFloat(value) / 100 : Number.parseFloat(value);
323
315
  if (!Number.isFinite(alpha))
324
316
  return 1;
325
317
  return Math.max(0, Math.min(1, alpha));
@@ -1 +1 @@
1
- {"version":3,"file":"defaultTheme.d.ts","sourceRoot":"","sources":["../../src/theme/defaultTheme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACR,YAAY,EACZ,gBAAgB,EAChB,qBAAqB,EACrB,mBAAmB,EACtB,MAAM,cAAc,CAAC;AAItB,MAAM,MAAM,6BAA6B,GAAG;IACxC,KAAK,EAAE,mBAAmB,CAAC;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,eAAO,MAAM,2BAA2B,EAAE,MAAM,CAC5C,mBAAmB,EACnB,6BAA6B,CAsBhC,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,6BAA6B,EAK/D,CAAC;AAglBF,wBAAgB,WAAW,CACvB,IAAI,EAAE,gBAAgB,EACtB,OAAO,GAAE,mBAA+B,EACxC,cAAc,CAAC,EAAE,qBAAqB,GACvC,YAAY,CASd;AAED,eAAO,MAAM,SAAS,EAAE,YAAkC,CAAC;AAC3D,eAAO,MAAM,UAAU,EAAE,YAAmC,CAAC"}
1
+ {"version":3,"file":"defaultTheme.d.ts","sourceRoot":"","sources":["../../src/theme/defaultTheme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACR,YAAY,EACZ,gBAAgB,EAChB,qBAAqB,EACrB,mBAAmB,EACtB,MAAM,cAAc,CAAC;AAItB,MAAM,MAAM,6BAA6B,GAAG;IACxC,KAAK,EAAE,mBAAmB,CAAC;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,eAAO,MAAM,2BAA2B,EAAE,MAAM,CAC5C,mBAAmB,EACnB,6BAA6B,CAsBhC,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,6BAA6B,EAK/D,CAAC;AA0rBF,wBAAgB,WAAW,CACvB,IAAI,EAAE,gBAAgB,EACtB,OAAO,GAAE,mBAA+B,EACxC,cAAc,CAAC,EAAE,qBAAqB,GACvC,YAAY,CASd;AAED,eAAO,MAAM,SAAS,EAAE,YAAkC,CAAC;AAC3D,eAAO,MAAM,UAAU,EAAE,YAAmC,CAAC"}
@@ -4,30 +4,30 @@ export const orcestrThemeSurfaceRegistry = {
4
4
  label: 'Orcestr',
5
5
  description: 'Neutral platform base for shared entity surfaces.',
6
6
  },
7
- operations: {
8
- value: 'operations',
9
- label: 'Operations',
10
- description: 'Dense theme for repeated operational work.',
7
+ deliveries: {
8
+ value: 'deliveries',
9
+ label: 'Deliveries',
10
+ description: 'Dense theme for deliveries workflows.',
11
11
  },
12
- media: {
13
- value: 'media',
14
- label: 'Media',
15
- description: 'Softer visual theme for content-heavy flows.',
12
+ beauty: {
13
+ value: 'beauty',
14
+ label: 'Beauty',
15
+ description: 'Soft visual theme for beauty workflows.',
16
16
  },
17
- catalog: {
18
- value: 'catalog',
19
- label: 'Catalog',
20
- description: 'Precise catalog theme for structured index surfaces.',
17
+ jewelry: {
18
+ value: 'jewelry',
19
+ label: 'Jewelry',
20
+ description: 'Warm precise theme for jewelry workflows.',
21
21
  },
22
22
  };
23
23
  export const orcestrThemeSurfaces = [
24
24
  orcestrThemeSurfaceRegistry.orcestr,
25
- orcestrThemeSurfaceRegistry.operations,
26
- orcestrThemeSurfaceRegistry.media,
27
- orcestrThemeSurfaceRegistry.catalog,
25
+ orcestrThemeSurfaceRegistry.deliveries,
26
+ orcestrThemeSurfaceRegistry.beauty,
27
+ orcestrThemeSurfaceRegistry.jewelry,
28
28
  ];
29
29
  const sharedStructure = {
30
- radii: {
30
+ radius: {
31
31
  sm: '4px',
32
32
  md: '6px',
33
33
  lg: '8px',
@@ -51,19 +51,19 @@ const sharedStructure = {
51
51
  desktop: '1024px',
52
52
  wide: '1440px',
53
53
  },
54
- typography: {
55
- fontFamily: 'var(--font-manrope, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif)',
56
- monoFontFamily: 'ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace',
57
- titleSize: '22px',
58
- headingSize: '18px',
59
- bodySize: '14px',
60
- compactSize: '13px',
61
- labelSize: '12px',
62
- lineHeight: '1.45',
63
- headingLineHeight: '1.18',
64
- weightRegular: 450,
65
- weightMedium: 650,
66
- weightBold: 760,
54
+ text: {
55
+ family: 'var(--font-manrope, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif)',
56
+ mono: 'ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace',
57
+ title: '22px',
58
+ heading: '18px',
59
+ body: '14px',
60
+ compact: '13px',
61
+ label: '12px',
62
+ line: '1.45',
63
+ headingLine: '1.18',
64
+ regular: 450,
65
+ medium: 650,
66
+ bold: 760,
67
67
  letterSpacing: '0',
68
68
  },
69
69
  motion: {
@@ -232,14 +232,18 @@ const darkBase = {
232
232
  },
233
233
  }),
234
234
  toast: {
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%)',
235
+ background: 'rgb(12 12 15 / 5%)',
236
+ blur: 6,
237
+ shadow: '0 16px 40px rgb(0 0 0 / 30%)',
239
238
  animationDuration: '420ms',
240
239
  exitDuration: '320ms',
241
240
  progressHeight: '2px',
242
241
  },
242
+ scrollbar: {
243
+ thumb: 'color-mix(in srgb, var(--oui-bg) 96%, var(--oui-text) 4%)',
244
+ thumbHover: 'color-mix(in srgb, var(--oui-bg) 93%, var(--oui-text) 7%)',
245
+ track: 'transparent',
246
+ },
243
247
  ...sharedStructure,
244
248
  };
245
249
  const lightBase = {
@@ -365,31 +369,92 @@ const lightBase = {
365
369
  },
366
370
  }),
367
371
  toast: {
368
- background: 'rgb(255 255 255 / 72%)',
369
- blur: 18,
370
- borderColor: 'rgb(15 23 42 / 12%)',
371
- shadow: '0 10px 30px rgb(15 23 42 / 12%)',
372
+ background: 'rgb(255 255 255 / 5%)',
373
+ blur: 6,
374
+ shadow: '0 16px 40px rgb(15 23 42 / 16%)',
372
375
  animationDuration: '420ms',
373
376
  exitDuration: '320ms',
374
377
  progressHeight: '2px',
375
378
  },
379
+ scrollbar: {
380
+ thumb: 'color-mix(in srgb, var(--oui-bg) 95%, var(--oui-text) 5%)',
381
+ thumbHover: 'color-mix(in srgb, var(--oui-bg) 92%, var(--oui-text) 8%)',
382
+ track: 'transparent',
383
+ },
376
384
  ...sharedStructure,
377
385
  };
378
386
  const surfaceOverrides = {
379
387
  orcestr: {
380
- dark: {},
381
- light: {},
388
+ dark: {
389
+ colors: {
390
+ primary: {
391
+ base: '#6e56cf',
392
+ text: '#baa7ff',
393
+ surface: '#8354fe36',
394
+ border: '#8f6cfd6d',
395
+ contrast: '#ffffff',
396
+ },
397
+ selected: '#8354fe36',
398
+ focusRing: '0 0 0 3px #7d51fd50',
399
+ },
400
+ status: {
401
+ primary: {
402
+ color: '#6e56cf',
403
+ text: '#baa7ff',
404
+ soft: '#8354fe36',
405
+ border: '#8f6cfd6d',
406
+ },
407
+ },
408
+ },
409
+ light: {
410
+ colors: {
411
+ primary: {
412
+ base: '#6e56cf',
413
+ text: '#6550b9',
414
+ surface: '#4400ee0f',
415
+ border: '#3100fb35',
416
+ contrast: '#ffffff',
417
+ },
418
+ selected: '#4400ee0f',
419
+ focusRing: '0 0 0 3px #4300ff1b',
420
+ },
421
+ status: {
422
+ primary: {
423
+ color: '#6e56cf',
424
+ text: '#6550b9',
425
+ soft: '#4400ee0f',
426
+ border: '#3100fb35',
427
+ },
428
+ },
429
+ },
382
430
  },
383
- operations: {
431
+ deliveries: {
384
432
  dark: {
385
433
  colors: {
386
434
  bg: '#09090b',
387
435
  panel: '#0c0c0f',
388
436
  panelSoft: '#222222',
389
437
  floating: '#0c0c0f',
438
+ primary: {
439
+ base: '#f76b15',
440
+ text: '#ffa057',
441
+ surface: '#fb6a0025',
442
+ border: '#fd75045c',
443
+ contrast: '#ffffff',
444
+ },
445
+ selected: '#fb6a0025',
446
+ focusRing: '0 0 0 3px #ff590039',
447
+ },
448
+ status: {
449
+ primary: {
450
+ color: '#f76b15',
451
+ text: '#ffa057',
452
+ soft: '#fb6a0025',
453
+ border: '#fd75045c',
454
+ },
390
455
  },
391
456
  toast: {
392
- background: 'rgb(12 12 15 / 88%)',
457
+ background: 'rgb(12 12 15 / 5%)',
393
458
  },
394
459
  components: {
395
460
  buttonFontWeight: 500,
@@ -403,9 +468,26 @@ const surfaceOverrides = {
403
468
  panel: '#ffffff',
404
469
  panelSoft: '#f9f9f9',
405
470
  floating: '#ffffff',
471
+ primary: {
472
+ base: '#f76b15',
473
+ text: '#cc4e00',
474
+ surface: '#ff9c0029',
475
+ border: '#ff81007d',
476
+ contrast: '#ffffff',
477
+ },
478
+ selected: '#ff9c0029',
479
+ focusRing: '0 0 0 3px #ff91014a',
480
+ },
481
+ status: {
482
+ primary: {
483
+ color: '#f76b15',
484
+ text: '#cc4e00',
485
+ soft: '#ff9c0029',
486
+ border: '#ff81007d',
487
+ },
406
488
  },
407
489
  toast: {
408
- background: 'rgb(255 255 255 / 88%)',
490
+ background: 'rgb(255 255 255 / 5%)',
409
491
  },
410
492
  components: {
411
493
  buttonFontWeight: 500,
@@ -414,22 +496,22 @@ const surfaceOverrides = {
414
496
  },
415
497
  },
416
498
  },
417
- media: {
499
+ beauty: {
418
500
  dark: {
419
501
  colors: {
420
- bg: '#141116',
421
- panel: '#1d1820',
422
- panelSoft: '#29212d',
423
- floating: '#1d1820',
502
+ bg: '#09090b',
503
+ panel: '#0c0c0f',
504
+ panelSoft: '#222222',
505
+ floating: '#0c0c0f',
424
506
  primary: {
425
- base: '#a84486',
426
- text: '#ffc1e7',
427
- surface: 'rgb(240 166 216 / 17%)',
428
- border: 'rgb(255 193 231 / 28%)',
507
+ base: '#d86d8f',
508
+ text: '#f7d7e2',
509
+ surface: '#f2a8bf29',
510
+ border: '#f2a8bf5f',
429
511
  contrast: '#ffffff',
430
512
  },
431
- selected: 'rgb(240 166 216 / 16%)',
432
- focusRing: '0 0 0 3px rgb(240 166 216 / 24%)',
513
+ selected: '#f2a8bf29',
514
+ focusRing: '0 0 0 3px #f2a8bf3f',
433
515
  warning: {
434
516
  base: '#ffd079',
435
517
  text: '#ffd079',
@@ -445,30 +527,37 @@ const surfaceOverrides = {
445
527
  contrast: '#202020',
446
528
  },
447
529
  },
530
+ status: {
531
+ primary: {
532
+ color: '#d86d8f',
533
+ text: '#f7d7e2',
534
+ soft: '#f2a8bf29',
535
+ border: '#f2a8bf5f',
536
+ },
537
+ },
448
538
  toast: {
449
- background: 'rgb(29 24 32 / 88%)',
450
- borderColor: 'rgb(255 193 231 / 16%)',
539
+ background: 'rgb(29 24 32 / 5%)',
451
540
  shadow: '0 12px 32px rgb(0 0 0 / 22%)',
452
541
  },
453
- radii: {
542
+ radius: {
454
543
  md: '8px',
455
544
  lg: '10px',
456
545
  },
457
546
  },
458
547
  light: {
459
548
  colors: {
460
- bg: '#fff8fc',
549
+ bg: '#ffffff',
461
550
  panel: '#ffffff',
462
- panelSoft: '#fff0f8',
551
+ panelSoft: '#fff0f5',
463
552
  primary: {
464
- base: '#c0267f',
465
- text: '#a21d6c',
466
- surface: 'rgb(192 38 127 / 12%)',
467
- border: 'rgb(192 38 127 / 24%)',
553
+ base: '#b84c70',
554
+ text: '#8f3654',
555
+ surface: '#fff0f5',
556
+ border: '#b84c7047',
468
557
  contrast: '#ffffff',
469
558
  },
470
- selected: 'rgb(192 38 127 / 10%)',
471
- focusRing: '0 0 0 3px rgb(192 38 127 / 16%)',
559
+ selected: '#fff0f5',
560
+ focusRing: '0 0 0 3px #b84c7023',
472
561
  warning: {
473
562
  base: '#b96b00',
474
563
  text: '#b96b00',
@@ -484,17 +573,24 @@ const surfaceOverrides = {
484
573
  contrast: '#ffffff',
485
574
  },
486
575
  },
576
+ status: {
577
+ primary: {
578
+ color: '#b84c70',
579
+ text: '#8f3654',
580
+ soft: '#fff0f5',
581
+ border: '#b84c7047',
582
+ },
583
+ },
487
584
  toast: {
488
- background: 'rgb(255 255 255 / 88%)',
489
- borderColor: 'rgb(192 38 127 / 13%)',
585
+ background: 'rgb(255 255 255 / 5%)',
490
586
  },
491
- radii: {
587
+ radius: {
492
588
  md: '8px',
493
589
  lg: '10px',
494
590
  },
495
591
  },
496
592
  },
497
- catalog: {
593
+ jewelry: {
498
594
  dark: {
499
595
  colors: {
500
596
  bg: '#11100d',
@@ -502,14 +598,14 @@ const surfaceOverrides = {
502
598
  panelSoft: '#242017',
503
599
  floating: '#191712',
504
600
  primary: {
505
- base: '#9b6f12',
506
- text: '#f1d990',
507
- surface: 'rgb(230 194 106 / 16%)',
508
- border: 'rgb(241 217 144 / 28%)',
509
- contrast: '#ffffff',
601
+ base: '#ffc53d',
602
+ text: '#ffca16',
603
+ surface: '#fa820022',
604
+ border: '#fd9b0051',
605
+ contrast: '#111111',
510
606
  },
511
- selected: 'rgb(230 194 106 / 14%)',
512
- focusRing: '0 0 0 3px rgb(230 194 106 / 22%)',
607
+ selected: '#fa820022',
608
+ focusRing: '0 0 0 3px #fc820032',
513
609
  warning: {
514
610
  base: '#f4c95d',
515
611
  text: '#f4c95d',
@@ -525,11 +621,18 @@ const surfaceOverrides = {
525
621
  contrast: '#202020',
526
622
  },
527
623
  },
624
+ status: {
625
+ primary: {
626
+ color: '#ffc53d',
627
+ text: '#ffca16',
628
+ soft: '#fa820022',
629
+ border: '#fd9b0051',
630
+ },
631
+ },
528
632
  toast: {
529
- background: 'rgb(25 23 18 / 88%)',
530
- borderColor: 'rgb(241 217 144 / 15%)',
633
+ background: 'rgb(25 23 18 / 5%)',
531
634
  },
532
- radii: {
635
+ radius: {
533
636
  md: '6px',
534
637
  lg: '8px',
535
638
  },
@@ -540,14 +643,14 @@ const surfaceOverrides = {
540
643
  panel: '#ffffff',
541
644
  panelSoft: '#f3efe4',
542
645
  primary: {
543
- base: '#9b6f12',
544
- text: '#79570e',
545
- surface: 'rgb(155 111 18 / 12%)',
546
- border: 'rgb(155 111 18 / 24%)',
547
- contrast: '#ffffff',
646
+ base: '#ffc53d',
647
+ text: '#ab6400',
648
+ surface: '#ffde003d',
649
+ border: '#eab5008c',
650
+ contrast: '#111111',
548
651
  },
549
- selected: 'rgb(155 111 18 / 10%)',
550
- focusRing: '0 0 0 3px rgb(155 111 18 / 16%)',
652
+ selected: '#ffde003d',
653
+ focusRing: '0 0 0 3px #ffd40063',
551
654
  warning: {
552
655
  base: '#a16207',
553
656
  text: '#a16207',
@@ -563,9 +666,16 @@ const surfaceOverrides = {
563
666
  contrast: '#ffffff',
564
667
  },
565
668
  },
669
+ status: {
670
+ primary: {
671
+ color: '#ffc53d',
672
+ text: '#ab6400',
673
+ soft: '#ffde003d',
674
+ border: '#eab5008c',
675
+ },
676
+ },
566
677
  toast: {
567
- background: 'rgb(255 255 255 / 88%)',
568
- borderColor: 'rgb(155 111 18 / 13%)',
678
+ background: 'rgb(255 255 255 / 5%)',
569
679
  },
570
680
  },
571
681
  },
@@ -579,16 +689,17 @@ function mergeTheme(baseTheme, overrides) {
579
689
  mode: baseTheme.mode,
580
690
  surface: baseTheme.surface,
581
691
  colors: mergeColors(baseTheme.colors, overrides.colors),
582
- radii: { ...baseTheme.radii, ...overrides.radii },
692
+ radius: { ...baseTheme.radius, ...overrides.radius },
583
693
  spacing: { ...baseTheme.spacing, ...overrides.spacing },
584
694
  breakpoints: { ...baseTheme.breakpoints, ...overrides.breakpoints },
585
695
  shadows: { ...baseTheme.shadows, ...overrides.shadows },
586
- typography: { ...baseTheme.typography, ...overrides.typography },
696
+ text: { ...baseTheme.text, ...overrides.text },
587
697
  status: mergeStatus(baseTheme.status, overrides.status),
588
698
  motion: { ...baseTheme.motion, ...overrides.motion },
589
699
  density: { ...baseTheme.density, ...overrides.density },
590
700
  zIndex: { ...baseTheme.zIndex, ...overrides.zIndex },
591
701
  toast: { ...baseTheme.toast, ...overrides.toast },
702
+ scrollbar: { ...baseTheme.scrollbar, ...overrides.scrollbar },
592
703
  states: { ...baseTheme.states, ...overrides.states },
593
704
  components: { ...baseTheme.components, ...overrides.components },
594
705
  };
@@ -1,8 +1,8 @@
1
1
  import type { CSSProperties } from 'react';
2
2
  export type SemanticTone = 'neutral' | 'primary' | 'secondary' | 'success' | 'warning' | 'danger' | 'info';
3
- export type ColorTone = 'blue' | 'sky' | 'cyan' | 'teal' | 'indigo' | 'violet' | 'purple' | 'iris' | 'green' | 'jade' | 'mint' | 'grass' | 'lime' | 'yellow' | 'amber' | 'orange' | 'brown' | 'red' | 'ruby' | 'crimson' | 'pink' | 'tomato';
3
+ export type ColorTone = 'gray' | 'blue' | 'cyan' | 'green' | 'yellow' | 'orange' | 'red' | 'purple';
4
4
  export type Tone = SemanticTone | ColorTone;
5
- export type ToneInput = Tone | 'muted' | 'gray' | 'mauve' | 'slate' | 'sage' | 'olive' | 'sand' | 'blue' | 'sky' | 'cyan' | 'teal' | 'indigo' | 'violet' | 'purple' | 'iris' | 'green' | 'jade' | 'mint' | 'grass' | 'lime' | 'yellow' | 'amber' | 'orange' | 'brown' | 'red' | 'ruby' | 'crimson' | 'pink' | 'tomato' | (string & {});
5
+ export type ToneInput = Tone | 'muted';
6
6
  export type UiSize = 1 | 2 | 3 | 4 | '1' | '2' | '3' | '4';
7
7
  export type RadiusScale = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7;
8
8
  export type AlignShort = 's' | 'c' | 'e' | 'st' | 'b' | 'start' | 'center' | 'end' | 'stretch' | 'baseline';
@@ -1 +1 @@
1
- {"version":3,"file":"systemProps.d.ts","sourceRoot":"","sources":["../../src/theme/systemProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,OAAO,CAAC;AAEzC,MAAM,MAAM,YAAY,GAClB,SAAS,GACT,SAAS,GACT,WAAW,GACX,SAAS,GACT,SAAS,GACT,QAAQ,GACR,MAAM,CAAC;AACb,MAAM,MAAM,SAAS,GACf,MAAM,GACN,KAAK,GACL,MAAM,GACN,MAAM,GACN,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,MAAM,GACN,OAAO,GACP,MAAM,GACN,MAAM,GACN,OAAO,GACP,MAAM,GACN,QAAQ,GACR,OAAO,GACP,QAAQ,GACR,OAAO,GACP,KAAK,GACL,MAAM,GACN,SAAS,GACT,MAAM,GACN,QAAQ,CAAC;AACf,MAAM,MAAM,IA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,GAAG,GAAG,WAAW,EAAE,GAAG,MAAM,CAAC;IAC5C,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AA2HF,wBAAgB,gBAAgB,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC9D,KAAK,EAAE,CAAC,GACT;IACC,WAAW,EAAE,aAAa,CAAC;IAC3B,SAAS,EAAE,IAAI,CAAC,CAAC,EAAE,MAAM,WAAW,CAAC,CAAC;CACzC,CAqKA;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,SAAS,GAAG,SAAS,EAAE,QAAQ,GAAE,IAAgB,GAAG,IAAI,CAQ5F"}
@@ -49,18 +49,7 @@ const systemKeys = new Set([
49
49
  'r',
50
50
  'truncate',
51
51
  ]);
52
- const spacing = [
53
- '0',
54
- '4px',
55
- '8px',
56
- '12px',
57
- '16px',
58
- '24px',
59
- '32px',
60
- '40px',
61
- '48px',
62
- '64px',
63
- ];
52
+ const spacing = ['0', '4px', '8px', '12px', '16px', '24px', '32px', '40px', '48px', '64px'];
64
53
  const radiusScale = ['0', '2px', '4px', '6px', '8px', '10px', '12px', '999px'];
65
54
  function sizeValue(value) {
66
55
  if (value === undefined)
@@ -298,13 +287,7 @@ export function normalizeTone(value, fallback = 'neutral') {
298
287
  switch (value) {
299
288
  case undefined:
300
289
  case 'muted':
301
- case 'gray':
302
- case 'mauve':
303
- case 'slate':
304
- case 'sage':
305
- case 'olive':
306
- case 'sand':
307
- return value === undefined ? fallback : 'neutral';
290
+ return fallback;
308
291
  default:
309
292
  return isTone(value) ? value : fallback;
310
293
  }
@@ -317,26 +300,12 @@ function isTone(value) {
317
300
  value === 'warning' ||
318
301
  value === 'danger' ||
319
302
  value === 'info' ||
303
+ value === 'gray' ||
320
304
  value === 'blue' ||
321
- value === 'sky' ||
322
305
  value === 'cyan' ||
323
- value === 'teal' ||
324
- value === 'indigo' ||
325
- value === 'violet' ||
326
- value === 'purple' ||
327
- value === 'iris' ||
328
306
  value === 'green' ||
329
- value === 'jade' ||
330
- value === 'mint' ||
331
- value === 'grass' ||
332
- value === 'lime' ||
333
307
  value === 'yellow' ||
334
- value === 'amber' ||
335
308
  value === 'orange' ||
336
- value === 'brown' ||
337
309
  value === 'red' ||
338
- value === 'ruby' ||
339
- value === 'crimson' ||
340
- value === 'pink' ||
341
- value === 'tomato');
310
+ value === 'purple');
342
311
  }