@orcestr/ui 0.1.1 → 0.2.1
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.
- package/README.md +11 -11
- package/README.ru.md +10 -10
- package/dist/components/Action/ActionConfirmModal.d.ts.map +1 -1
- package/dist/components/Action/ActionTypes.d.ts +1 -1
- package/dist/components/Action/ActionTypes.d.ts.map +1 -1
- package/dist/components/ActionMenu/ActionMenu.d.ts.map +1 -1
- package/dist/components/Alert/Alert.d.ts.map +1 -1
- package/dist/components/Alert/Alert.js +1 -1
- package/dist/components/AppShell/AppShell.d.ts.map +1 -1
- package/dist/components/AppShell/AppShell.js +9 -10
- package/dist/components/AppSidebar/AppSidebar.d.ts.map +1 -1
- package/dist/components/AppSidebar/AppSidebar.js +22 -17
- package/dist/components/Badge/Badge.d.ts.map +1 -1
- package/dist/components/Badge/Badge.js +1 -1
- package/dist/components/BadgeSelectMenu/BadgeSelectMenu.d.ts.map +1 -1
- package/dist/components/BadgeSelectMenu/BadgeSelectMenu.js +5 -5
- package/dist/components/Box/Box.d.ts.map +1 -1
- package/dist/components/Box/Box.js +1 -1
- package/dist/components/Button/Button.d.ts.map +1 -1
- package/dist/components/Button/Button.js +2 -2
- package/dist/components/Card/Card.d.ts.map +1 -1
- package/dist/components/Checkbox/Checkbox.d.ts.map +1 -1
- package/dist/components/Checkbox/Checkbox.js +1 -1
- package/dist/components/Collapse/Collapse.d.ts.map +1 -1
- package/dist/components/Collapse/Collapse.js +1 -1
- package/dist/components/Combobox/Combobox.d.ts.map +1 -1
- package/dist/components/Combobox/Combobox.js +7 -2
- package/dist/components/CommandPalette/CommandPalette.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPalette.js +6 -12
- package/dist/components/ConfirmDialog/ConfirmDialog.d.ts +1 -1
- package/dist/components/ConfirmDialog/ConfirmDialog.d.ts.map +1 -1
- package/dist/components/ConfirmDialog/ConfirmDialog.js +1 -1
- package/dist/components/ContextMenu/ContextMenu.d.ts.map +1 -1
- package/dist/components/ContextMenu/ContextMenu.js +3 -3
- package/dist/components/CopyButton/CopyButton.d.ts.map +1 -1
- package/dist/components/DataTable/DataTable.d.ts.map +1 -1
- package/dist/components/DataTable/DataTable.js +29 -22
- package/dist/components/DataTable/DataTableStateAdapters.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableStateAdapters.js +3 -4
- package/dist/components/DatePicker/DatePicker.d.ts.map +1 -1
- package/dist/components/DatePicker/DatePicker.js +1 -1
- package/dist/components/DatePicker/DatePickerState.d.ts.map +1 -1
- package/dist/components/DatePicker/DatePickerState.js +3 -1
- package/dist/components/DateRangePicker/DateRangePicker.d.ts.map +1 -1
- package/dist/components/DateRangePresetPicker/DateRangePresetPicker.d.ts.map +1 -1
- package/dist/components/DateRangePresetPicker/DateRangePresetPicker.js +1 -1
- package/dist/components/DateRangePresetPicker/DateRangePresetPickerState.d.ts.map +1 -1
- package/dist/components/Dialog/Dialog.d.ts.map +1 -1
- package/dist/components/Drawer/Drawer.d.ts.map +1 -1
- package/dist/components/Drawer/Drawer.js +2 -2
- package/dist/components/EntityPicker/EntityPicker.d.ts.map +1 -1
- package/dist/components/EntityPicker/EntityPicker.js +2 -2
- package/dist/components/Field/Field.d.ts.map +1 -1
- package/dist/components/Field/Field.js +1 -1
- package/dist/components/Flex/Flex.d.ts.map +1 -1
- package/dist/components/Flex/Flex.js +1 -1
- package/dist/components/Grid/Grid.d.ts.map +1 -1
- package/dist/components/Highlight/Highlight.d.ts.map +1 -1
- package/dist/components/Highlight/Highlight.js +1 -1
- package/dist/components/IconButton/IconButton.d.ts.map +1 -1
- package/dist/components/IconButton/IconButton.js +3 -3
- package/dist/components/IconText/IconText.d.ts.map +1 -1
- package/dist/components/IconText/IconText.js +3 -1
- package/dist/components/IconTextButton/IconTextButton.d.ts.map +1 -1
- package/dist/components/InlineEdit/InlineEdit.d.ts.map +1 -1
- package/dist/components/InlineEdit/InlineEdit.js +22 -7
- package/dist/components/LinkButton/LinkButton.d.ts.map +1 -1
- package/dist/components/LinkButton/LinkButton.js +2 -2
- package/dist/components/Listbox/Listbox.js +2 -2
- package/dist/components/Menu/Menu.d.ts.map +1 -1
- package/dist/components/Menu/Menu.js +10 -7
- package/dist/components/Modal/Modal.d.ts.map +1 -1
- package/dist/components/Modal/Modal.js +4 -8
- package/dist/components/MultiSelect/MultiSelect.d.ts.map +1 -1
- package/dist/components/MultiSelect/MultiSelect.js +5 -7
- package/dist/components/NumberField/NumberField.d.ts.map +1 -1
- package/dist/components/NumberField/NumberField.js +1 -1
- package/dist/components/Overlay/OverlayProvider.d.ts +1 -1
- package/dist/components/Overlay/OverlayProvider.d.ts.map +1 -1
- package/dist/components/Overlay/OverlayProvider.js +3 -7
- package/dist/components/PaginatedCombobox/PaginatedCombobox.d.ts.map +1 -1
- package/dist/components/PaginatedCombobox/PaginatedCombobox.js +9 -8
- package/dist/components/PaginatedCombobox/PaginatedComboboxReactQueryAdapter.d.ts.map +1 -1
- package/dist/components/PaginatedCombobox/PaginatedComboboxReactQueryAdapter.js +2 -2
- package/dist/components/Pagination/Pagination.js +1 -1
- package/dist/components/Popover/Popover.d.ts.map +1 -1
- package/dist/components/Popover/Popover.js +16 -18
- package/dist/components/Portal/Portal.d.ts.map +1 -1
- package/dist/components/RadioGroup/RadioGroup.d.ts.map +1 -1
- package/dist/components/RadioGroup/RadioGroup.js +1 -1
- package/dist/components/ScrollArea/ScrollArea.d.ts.map +1 -1
- package/dist/components/ScrollArea/ScrollArea.js +10 -23
- package/dist/components/Section/Section.d.ts.map +1 -1
- package/dist/components/SegmentedControl/SegmentedControl.d.ts.map +1 -1
- package/dist/components/SegmentedControl/SegmentedControl.js +1 -1
- package/dist/components/Select/Select.d.ts.map +1 -1
- package/dist/components/Select/Select.js +4 -4
- package/dist/components/Separator/Separator.d.ts.map +1 -1
- package/dist/components/Separator/Separator.js +1 -1
- package/dist/components/Skeleton/Skeleton.d.ts.map +1 -1
- package/dist/components/Skeleton/Skeleton.js +1 -1
- package/dist/components/SpecialModal/SpecialModal.d.ts.map +1 -1
- package/dist/components/SpecialModal/SpecialModal.js +2 -2
- package/dist/components/Spinner/Spinner.d.ts.map +1 -1
- package/dist/components/Spinner/Spinner.js +1 -1
- package/dist/components/Stack/Stack.d.ts.map +1 -1
- package/dist/components/Stack/Stack.js +1 -1
- package/dist/components/State/State.d.ts.map +1 -1
- package/dist/components/State/State.js +5 -5
- package/dist/components/State/stateIcon.d.ts.map +1 -1
- package/dist/components/StepperInput/StepperInput.js +2 -2
- package/dist/components/Switch/Switch.js +1 -1
- package/dist/components/Table/Table.d.ts.map +1 -1
- package/dist/components/Table/Table.js +2 -2
- package/dist/components/Tabs/Tabs.d.ts.map +1 -1
- package/dist/components/Tabs/Tabs.js +10 -12
- package/dist/components/Text/Text.d.ts.map +1 -1
- package/dist/components/Text/Text.js +1 -1
- package/dist/components/TextArea/TextArea.d.ts.map +1 -1
- package/dist/components/TextArea/TextArea.js +2 -2
- package/dist/components/TextField/TextField.d.ts.map +1 -1
- package/dist/components/TextField/TextField.js +3 -3
- package/dist/components/Toast/Toast.d.ts.map +1 -1
- package/dist/components/Toast/Toast.js +9 -15
- package/dist/components/Tooltip/Tooltip.d.ts.map +1 -1
- package/dist/components/Tooltip/Tooltip.js +7 -9
- package/dist/components/VisuallyHidden/VisuallyHidden.d.ts.map +1 -1
- package/dist/example/CodePreview.d.ts.map +1 -1
- package/dist/example/CodePreview.js +10 -10
- package/dist/example/ExampleActionsSection.d.ts +1 -1
- package/dist/example/ExampleActionsSection.d.ts.map +1 -1
- package/dist/example/ExampleActionsSection.js +2 -2
- package/dist/example/ExampleApplicationSection.d.ts.map +1 -1
- package/dist/example/ExampleApplicationSection.js +69 -21
- package/dist/example/ExampleBasicsSections.d.ts.map +1 -1
- package/dist/example/ExampleBasicsSections.js +15 -7
- package/dist/example/ExampleDataSection.d.ts.map +1 -1
- package/dist/example/ExampleDataSection.js +5 -5
- package/dist/example/ExampleFieldsSection.d.ts.map +1 -1
- package/dist/example/ExampleFieldsSection.js +8 -10
- package/dist/example/ExampleFoundationsSection.d.ts +1 -1
- package/dist/example/ExampleFoundationsSection.d.ts.map +1 -1
- package/dist/example/ExampleFoundationsSection.js +4 -4
- package/dist/example/ExampleOverlays.d.ts.map +1 -1
- package/dist/example/ExampleOverlays.js +4 -4
- package/dist/example/ExampleOverlaysSection.d.ts.map +1 -1
- package/dist/example/ExampleOverlaysSection.js +10 -10
- package/dist/example/ExampleSelectionSection.d.ts.map +1 -1
- package/dist/example/ExampleSelectionSection.js +8 -8
- package/dist/example/ExampleStateSection.d.ts +3 -3
- package/dist/example/ExampleStateSection.d.ts.map +1 -1
- package/dist/example/ExampleStateSection.js +6 -6
- package/dist/example/ExampleThemePlayground.d.ts +25 -25
- package/dist/example/ExampleThemePlayground.d.ts.map +1 -1
- package/dist/example/ExampleThemePlayground.js +48 -37
- package/dist/example/UiExamplePage.d.ts.map +1 -1
- package/dist/example/UiExamplePage.js +12 -16
- package/dist/example/UiExampleSection.d.ts.map +1 -1
- package/dist/example/UiExampleSection.js +1 -1
- package/dist/example/codeSamples.d.ts.map +1 -1
- package/dist/example/codeSamples.js +10 -10
- package/dist/example/exampleData.d.ts.map +1 -1
- package/dist/example/exampleData.js +2 -2
- package/dist/hooks/useControllableState.d.ts.map +1 -1
- package/dist/hooks/useControllableState.js +1 -3
- package/dist/hooks/useFloatingLayer.d.ts.map +1 -1
- package/dist/hooks/useFloatingLayer.js +1 -1
- package/dist/hooks/useFloatingPosition.d.ts.map +1 -1
- package/dist/hooks/useFloatingPosition.js +10 -15
- package/dist/hooks/useFocusTrap.d.ts.map +1 -1
- package/dist/hooks/useListNavigation.d.ts +3 -2
- package/dist/hooks/useListNavigation.d.ts.map +1 -1
- package/dist/hooks/useListNavigation.js +5 -7
- package/dist/hooks/useOutsidePointerDown.d.ts.map +1 -1
- package/dist/hooks/useTypeahead.d.ts.map +1 -1
- package/dist/locale/LocaleProvider.d.ts.map +1 -1
- package/dist/locale/LocaleProvider.js +1 -1
- package/dist/provider/OrcestrUiProvider.d.ts.map +1 -1
- package/dist/styles/orcestr-ui.css +251 -903
- package/dist/theme/ThemeProvider.d.ts.map +1 -1
- package/dist/theme/ThemeProvider.js +2 -12
- package/dist/theme/defaultTheme.d.ts.map +1 -1
- package/dist/theme/defaultTheme.js +213 -52
- package/dist/theme/systemProps.d.ts +2 -2
- package/dist/theme/systemProps.d.ts.map +1 -1
- package/dist/theme/systemProps.js +4 -35
- package/dist/theme/themeTypes.d.ts +1 -1
- package/dist/theme/themeTypes.d.ts.map +1 -1
- package/dist/theme/useTheme.d.ts.map +1 -1
- package/dist/utils/cn.d.ts.map +1 -1
- package/dist/utils/composeRefs.d.ts.map +1 -1
- package/dist/utils/mergeProps.d.ts.map +1 -1
- package/dist/utils/polymorphic.d.ts.map +1 -1
- package/package.json +1 -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,
|
|
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"}
|
|
@@ -190,15 +190,7 @@ export function OrcestrThemeProvider({ children, mode: controlledMode, defaultMo
|
|
|
190
190
|
setMode,
|
|
191
191
|
setSurface,
|
|
192
192
|
toggleMode,
|
|
193
|
-
}), [
|
|
194
|
-
resolvedMode,
|
|
195
|
-
resolvedSurface,
|
|
196
|
-
theme,
|
|
197
|
-
rootStyle,
|
|
198
|
-
setMode,
|
|
199
|
-
setSurface,
|
|
200
|
-
toggleMode,
|
|
201
|
-
]);
|
|
193
|
+
}), [resolvedMode, resolvedSurface, theme, rootStyle, setMode, setSurface, toggleMode]);
|
|
202
194
|
useEffect(() => {
|
|
203
195
|
const root = document.documentElement;
|
|
204
196
|
const previousTheme = root.getAttribute('data-oui-theme');
|
|
@@ -319,9 +311,7 @@ function parseHexColor(color) {
|
|
|
319
311
|
function parseAlpha(value) {
|
|
320
312
|
if (!value)
|
|
321
313
|
return 1;
|
|
322
|
-
const alpha = value.endsWith('%')
|
|
323
|
-
? Number.parseFloat(value) / 100
|
|
324
|
-
: Number.parseFloat(value);
|
|
314
|
+
const alpha = value.endsWith('%') ? Number.parseFloat(value) / 100 : Number.parseFloat(value);
|
|
325
315
|
if (!Number.isFinite(alpha))
|
|
326
316
|
return 1;
|
|
327
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;
|
|
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;AAivBF,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,27 +4,27 @@ export const orcestrThemeSurfaceRegistry = {
|
|
|
4
4
|
label: 'Orcestr',
|
|
5
5
|
description: 'Neutral platform base for shared entity surfaces.',
|
|
6
6
|
},
|
|
7
|
-
|
|
8
|
-
value: '
|
|
9
|
-
label: '
|
|
10
|
-
description: 'Dense theme for
|
|
7
|
+
deliveries: {
|
|
8
|
+
value: 'deliveries',
|
|
9
|
+
label: 'Deliveries',
|
|
10
|
+
description: 'Dense theme for deliveries workflows.',
|
|
11
11
|
},
|
|
12
|
-
|
|
13
|
-
value: '
|
|
14
|
-
label: '
|
|
15
|
-
description: '
|
|
12
|
+
beauty: {
|
|
13
|
+
value: 'beauty',
|
|
14
|
+
label: 'Beauty',
|
|
15
|
+
description: 'Soft visual theme for beauty workflows.',
|
|
16
16
|
},
|
|
17
|
-
|
|
18
|
-
value: '
|
|
19
|
-
label: '
|
|
20
|
-
description: '
|
|
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.
|
|
26
|
-
orcestrThemeSurfaceRegistry.
|
|
27
|
-
orcestrThemeSurfaceRegistry.
|
|
25
|
+
orcestrThemeSurfaceRegistry.deliveries,
|
|
26
|
+
orcestrThemeSurfaceRegistry.beauty,
|
|
27
|
+
orcestrThemeSurfaceRegistry.jewelry,
|
|
28
28
|
];
|
|
29
29
|
const sharedStructure = {
|
|
30
30
|
radius: {
|
|
@@ -385,16 +385,128 @@ const lightBase = {
|
|
|
385
385
|
};
|
|
386
386
|
const surfaceOverrides = {
|
|
387
387
|
orcestr: {
|
|
388
|
-
dark: {
|
|
389
|
-
|
|
388
|
+
dark: {
|
|
389
|
+
colors: {
|
|
390
|
+
bg: '#0d0b13',
|
|
391
|
+
panel: '#14101f',
|
|
392
|
+
panelSoft: '#1d172b',
|
|
393
|
+
floating: '#14101f',
|
|
394
|
+
text: '#f8f5ff',
|
|
395
|
+
muted: '#cfc6dd',
|
|
396
|
+
border: 'rgb(255 255 255 / 6%)',
|
|
397
|
+
borderStrong: 'rgb(168 139 250 / 18%)',
|
|
398
|
+
pad: 'rgb(255 255 255 / 7%)',
|
|
399
|
+
padHover: 'rgb(255 255 255 / 10%)',
|
|
400
|
+
primary: {
|
|
401
|
+
base: '#7c3aed',
|
|
402
|
+
text: '#d8ccff',
|
|
403
|
+
surface: 'rgb(124 58 237 / 16%)',
|
|
404
|
+
border: 'rgb(168 139 250 / 18%)',
|
|
405
|
+
contrast: '#ffffff',
|
|
406
|
+
},
|
|
407
|
+
selected: 'rgb(124 58 237 / 16%)',
|
|
408
|
+
focusRing: '0 0 0 3px rgb(124 58 237 / 30%)',
|
|
409
|
+
success: {
|
|
410
|
+
base: '#22c55e',
|
|
411
|
+
text: '#86efac',
|
|
412
|
+
surface: 'rgb(34 197 94 / 12%)',
|
|
413
|
+
border: 'rgb(34 197 94 / 16%)',
|
|
414
|
+
contrast: '#111111',
|
|
415
|
+
},
|
|
416
|
+
warning: {
|
|
417
|
+
base: '#f59e0b',
|
|
418
|
+
text: '#fbbf24',
|
|
419
|
+
surface: 'rgb(245 158 11 / 13%)',
|
|
420
|
+
border: 'rgb(245 158 11 / 18%)',
|
|
421
|
+
contrast: '#111111',
|
|
422
|
+
},
|
|
423
|
+
info: {
|
|
424
|
+
base: '#60a5fa',
|
|
425
|
+
text: '#93c5fd',
|
|
426
|
+
surface: 'rgb(37 99 235 / 16%)',
|
|
427
|
+
border: 'rgb(96 165 250 / 18%)',
|
|
428
|
+
contrast: '#111111',
|
|
429
|
+
},
|
|
430
|
+
},
|
|
431
|
+
shadows: {
|
|
432
|
+
sm: 'inset 0 0 0 1px rgb(255 255 255 / 6%), inset 0 1px 1px rgb(255 255 255 / 5%)',
|
|
433
|
+
md: '0 0 0 1px rgb(255 255 255 / 6%), 0 12px 28px rgb(0 0 0 / 16%)',
|
|
434
|
+
overlay: '0 24px 70px rgb(0 0 0 / 34%)',
|
|
435
|
+
section: '0 18px 54px rgb(0 0 0 / 22%)',
|
|
436
|
+
},
|
|
437
|
+
status: {
|
|
438
|
+
primary: {
|
|
439
|
+
color: '#7c3aed',
|
|
440
|
+
text: '#d8ccff',
|
|
441
|
+
soft: 'rgb(124 58 237 / 16%)',
|
|
442
|
+
border: 'rgb(168 139 250 / 18%)',
|
|
443
|
+
},
|
|
444
|
+
success: {
|
|
445
|
+
color: '#22c55e',
|
|
446
|
+
text: '#86efac',
|
|
447
|
+
soft: 'rgb(34 197 94 / 12%)',
|
|
448
|
+
border: 'rgb(34 197 94 / 16%)',
|
|
449
|
+
},
|
|
450
|
+
warning: {
|
|
451
|
+
color: '#f59e0b',
|
|
452
|
+
text: '#fbbf24',
|
|
453
|
+
soft: 'rgb(245 158 11 / 13%)',
|
|
454
|
+
border: 'rgb(245 158 11 / 18%)',
|
|
455
|
+
},
|
|
456
|
+
info: {
|
|
457
|
+
color: '#60a5fa',
|
|
458
|
+
text: '#93c5fd',
|
|
459
|
+
soft: 'rgb(37 99 235 / 16%)',
|
|
460
|
+
border: 'rgb(96 165 250 / 18%)',
|
|
461
|
+
},
|
|
462
|
+
},
|
|
463
|
+
},
|
|
464
|
+
light: {
|
|
465
|
+
colors: {
|
|
466
|
+
primary: {
|
|
467
|
+
base: '#6e56cf',
|
|
468
|
+
text: '#6550b9',
|
|
469
|
+
surface: '#4400ee0f',
|
|
470
|
+
border: '#3100fb35',
|
|
471
|
+
contrast: '#ffffff',
|
|
472
|
+
},
|
|
473
|
+
selected: '#4400ee0f',
|
|
474
|
+
focusRing: '0 0 0 3px #4300ff1b',
|
|
475
|
+
},
|
|
476
|
+
status: {
|
|
477
|
+
primary: {
|
|
478
|
+
color: '#6e56cf',
|
|
479
|
+
text: '#6550b9',
|
|
480
|
+
soft: '#4400ee0f',
|
|
481
|
+
border: '#3100fb35',
|
|
482
|
+
},
|
|
483
|
+
},
|
|
484
|
+
},
|
|
390
485
|
},
|
|
391
|
-
|
|
486
|
+
deliveries: {
|
|
392
487
|
dark: {
|
|
393
488
|
colors: {
|
|
394
489
|
bg: '#09090b',
|
|
395
490
|
panel: '#0c0c0f',
|
|
396
491
|
panelSoft: '#222222',
|
|
397
492
|
floating: '#0c0c0f',
|
|
493
|
+
primary: {
|
|
494
|
+
base: '#f76b15',
|
|
495
|
+
text: '#ffa057',
|
|
496
|
+
surface: '#fb6a0025',
|
|
497
|
+
border: '#fd75045c',
|
|
498
|
+
contrast: '#ffffff',
|
|
499
|
+
},
|
|
500
|
+
selected: '#fb6a0025',
|
|
501
|
+
focusRing: '0 0 0 3px #ff590039',
|
|
502
|
+
},
|
|
503
|
+
status: {
|
|
504
|
+
primary: {
|
|
505
|
+
color: '#f76b15',
|
|
506
|
+
text: '#ffa057',
|
|
507
|
+
soft: '#fb6a0025',
|
|
508
|
+
border: '#fd75045c',
|
|
509
|
+
},
|
|
398
510
|
},
|
|
399
511
|
toast: {
|
|
400
512
|
background: 'rgb(12 12 15 / 5%)',
|
|
@@ -411,6 +523,23 @@ const surfaceOverrides = {
|
|
|
411
523
|
panel: '#ffffff',
|
|
412
524
|
panelSoft: '#f9f9f9',
|
|
413
525
|
floating: '#ffffff',
|
|
526
|
+
primary: {
|
|
527
|
+
base: '#f76b15',
|
|
528
|
+
text: '#cc4e00',
|
|
529
|
+
surface: '#ff9c0029',
|
|
530
|
+
border: '#ff81007d',
|
|
531
|
+
contrast: '#ffffff',
|
|
532
|
+
},
|
|
533
|
+
selected: '#ff9c0029',
|
|
534
|
+
focusRing: '0 0 0 3px #ff91014a',
|
|
535
|
+
},
|
|
536
|
+
status: {
|
|
537
|
+
primary: {
|
|
538
|
+
color: '#f76b15',
|
|
539
|
+
text: '#cc4e00',
|
|
540
|
+
soft: '#ff9c0029',
|
|
541
|
+
border: '#ff81007d',
|
|
542
|
+
},
|
|
414
543
|
},
|
|
415
544
|
toast: {
|
|
416
545
|
background: 'rgb(255 255 255 / 5%)',
|
|
@@ -422,22 +551,22 @@ const surfaceOverrides = {
|
|
|
422
551
|
},
|
|
423
552
|
},
|
|
424
553
|
},
|
|
425
|
-
|
|
554
|
+
beauty: {
|
|
426
555
|
dark: {
|
|
427
556
|
colors: {
|
|
428
|
-
bg: '#
|
|
429
|
-
panel: '#
|
|
430
|
-
panelSoft: '#
|
|
431
|
-
floating: '#
|
|
557
|
+
bg: '#09090b',
|
|
558
|
+
panel: '#0c0c0f',
|
|
559
|
+
panelSoft: '#222222',
|
|
560
|
+
floating: '#0c0c0f',
|
|
432
561
|
primary: {
|
|
433
|
-
base: '#
|
|
434
|
-
text: '#
|
|
435
|
-
surface: '
|
|
436
|
-
border: '
|
|
562
|
+
base: '#d86d8f',
|
|
563
|
+
text: '#f7d7e2',
|
|
564
|
+
surface: '#f2a8bf29',
|
|
565
|
+
border: '#f2a8bf5f',
|
|
437
566
|
contrast: '#ffffff',
|
|
438
567
|
},
|
|
439
|
-
selected: '
|
|
440
|
-
focusRing: '0 0 0 3px
|
|
568
|
+
selected: '#f2a8bf29',
|
|
569
|
+
focusRing: '0 0 0 3px #f2a8bf3f',
|
|
441
570
|
warning: {
|
|
442
571
|
base: '#ffd079',
|
|
443
572
|
text: '#ffd079',
|
|
@@ -453,6 +582,14 @@ const surfaceOverrides = {
|
|
|
453
582
|
contrast: '#202020',
|
|
454
583
|
},
|
|
455
584
|
},
|
|
585
|
+
status: {
|
|
586
|
+
primary: {
|
|
587
|
+
color: '#d86d8f',
|
|
588
|
+
text: '#f7d7e2',
|
|
589
|
+
soft: '#f2a8bf29',
|
|
590
|
+
border: '#f2a8bf5f',
|
|
591
|
+
},
|
|
592
|
+
},
|
|
456
593
|
toast: {
|
|
457
594
|
background: 'rgb(29 24 32 / 5%)',
|
|
458
595
|
shadow: '0 12px 32px rgb(0 0 0 / 22%)',
|
|
@@ -464,18 +601,18 @@ const surfaceOverrides = {
|
|
|
464
601
|
},
|
|
465
602
|
light: {
|
|
466
603
|
colors: {
|
|
467
|
-
bg: '#
|
|
604
|
+
bg: '#ffffff',
|
|
468
605
|
panel: '#ffffff',
|
|
469
|
-
panelSoft: '#
|
|
606
|
+
panelSoft: '#fff0f5',
|
|
470
607
|
primary: {
|
|
471
|
-
base: '#
|
|
472
|
-
text: '#
|
|
473
|
-
surface: '
|
|
474
|
-
border: '
|
|
608
|
+
base: '#b84c70',
|
|
609
|
+
text: '#8f3654',
|
|
610
|
+
surface: '#fff0f5',
|
|
611
|
+
border: '#b84c7047',
|
|
475
612
|
contrast: '#ffffff',
|
|
476
613
|
},
|
|
477
|
-
selected: '
|
|
478
|
-
focusRing: '0 0 0 3px
|
|
614
|
+
selected: '#fff0f5',
|
|
615
|
+
focusRing: '0 0 0 3px #b84c7023',
|
|
479
616
|
warning: {
|
|
480
617
|
base: '#b96b00',
|
|
481
618
|
text: '#b96b00',
|
|
@@ -491,6 +628,14 @@ const surfaceOverrides = {
|
|
|
491
628
|
contrast: '#ffffff',
|
|
492
629
|
},
|
|
493
630
|
},
|
|
631
|
+
status: {
|
|
632
|
+
primary: {
|
|
633
|
+
color: '#b84c70',
|
|
634
|
+
text: '#8f3654',
|
|
635
|
+
soft: '#fff0f5',
|
|
636
|
+
border: '#b84c7047',
|
|
637
|
+
},
|
|
638
|
+
},
|
|
494
639
|
toast: {
|
|
495
640
|
background: 'rgb(255 255 255 / 5%)',
|
|
496
641
|
},
|
|
@@ -500,7 +645,7 @@ const surfaceOverrides = {
|
|
|
500
645
|
},
|
|
501
646
|
},
|
|
502
647
|
},
|
|
503
|
-
|
|
648
|
+
jewelry: {
|
|
504
649
|
dark: {
|
|
505
650
|
colors: {
|
|
506
651
|
bg: '#11100d',
|
|
@@ -508,14 +653,14 @@ const surfaceOverrides = {
|
|
|
508
653
|
panelSoft: '#242017',
|
|
509
654
|
floating: '#191712',
|
|
510
655
|
primary: {
|
|
511
|
-
base: '#
|
|
512
|
-
text: '#
|
|
513
|
-
surface: '
|
|
514
|
-
border: '
|
|
515
|
-
contrast: '#
|
|
656
|
+
base: '#ffc53d',
|
|
657
|
+
text: '#ffca16',
|
|
658
|
+
surface: '#fa820022',
|
|
659
|
+
border: '#fd9b0051',
|
|
660
|
+
contrast: '#111111',
|
|
516
661
|
},
|
|
517
|
-
selected: '
|
|
518
|
-
focusRing: '0 0 0 3px
|
|
662
|
+
selected: '#fa820022',
|
|
663
|
+
focusRing: '0 0 0 3px #fc820032',
|
|
519
664
|
warning: {
|
|
520
665
|
base: '#f4c95d',
|
|
521
666
|
text: '#f4c95d',
|
|
@@ -531,6 +676,14 @@ const surfaceOverrides = {
|
|
|
531
676
|
contrast: '#202020',
|
|
532
677
|
},
|
|
533
678
|
},
|
|
679
|
+
status: {
|
|
680
|
+
primary: {
|
|
681
|
+
color: '#ffc53d',
|
|
682
|
+
text: '#ffca16',
|
|
683
|
+
soft: '#fa820022',
|
|
684
|
+
border: '#fd9b0051',
|
|
685
|
+
},
|
|
686
|
+
},
|
|
534
687
|
toast: {
|
|
535
688
|
background: 'rgb(25 23 18 / 5%)',
|
|
536
689
|
},
|
|
@@ -545,14 +698,14 @@ const surfaceOverrides = {
|
|
|
545
698
|
panel: '#ffffff',
|
|
546
699
|
panelSoft: '#f3efe4',
|
|
547
700
|
primary: {
|
|
548
|
-
base: '#
|
|
549
|
-
text: '#
|
|
550
|
-
surface: '
|
|
551
|
-
border: '
|
|
552
|
-
contrast: '#
|
|
701
|
+
base: '#ffc53d',
|
|
702
|
+
text: '#ab6400',
|
|
703
|
+
surface: '#ffde003d',
|
|
704
|
+
border: '#eab5008c',
|
|
705
|
+
contrast: '#111111',
|
|
553
706
|
},
|
|
554
|
-
selected: '
|
|
555
|
-
focusRing: '0 0 0 3px
|
|
707
|
+
selected: '#ffde003d',
|
|
708
|
+
focusRing: '0 0 0 3px #ffd40063',
|
|
556
709
|
warning: {
|
|
557
710
|
base: '#a16207',
|
|
558
711
|
text: '#a16207',
|
|
@@ -568,6 +721,14 @@ const surfaceOverrides = {
|
|
|
568
721
|
contrast: '#ffffff',
|
|
569
722
|
},
|
|
570
723
|
},
|
|
724
|
+
status: {
|
|
725
|
+
primary: {
|
|
726
|
+
color: '#ffc53d',
|
|
727
|
+
text: '#ab6400',
|
|
728
|
+
soft: '#ffde003d',
|
|
729
|
+
border: '#eab5008c',
|
|
730
|
+
},
|
|
731
|
+
},
|
|
571
732
|
toast: {
|
|
572
733
|
background: 'rgb(255 255 255 / 5%)',
|
|
573
734
|
},
|
|
@@ -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 = '
|
|
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'
|
|
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,
|
|
1
|
+
{"version":3,"file":"systemProps.d.ts","sourceRoot":"","sources":["../../src/theme/systemProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C,MAAM,MAAM,YAAY,GACpB,SAAS,GAAG,SAAS,GAAG,WAAW,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,GAAG,MAAM,CAAC;AACpF,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,QAAQ,GAAG,KAAK,GAAG,QAAQ,CAAC;AACpG,MAAM,MAAM,IAAI,GAAG,YAAY,GAAG,SAAS,CAAC;AAC5C,MAAM,MAAM,SAAS,GAAG,IAAI,GAAG,OAAO,CAAC;AACvC,MAAM,MAAM,MAAM,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;AAC3D,MAAM,MAAM,WAAW,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC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C;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
|
-
|
|
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 === '
|
|
339
|
-
value === 'crimson' ||
|
|
340
|
-
value === 'pink' ||
|
|
341
|
-
value === 'tomato');
|
|
310
|
+
value === 'purple');
|
|
342
311
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { CSSProperties, ReactNode } from 'react';
|
|
2
2
|
export type OrcestrThemeMode = 'dark' | 'light';
|
|
3
|
-
export type OrcestrThemeSurface = 'orcestr' | '
|
|
3
|
+
export type OrcestrThemeSurface = 'orcestr' | 'deliveries' | 'beauty' | 'jewelry';
|
|
4
4
|
export type ButtonPressAnimation = 'translate' | 'scale' | 'soft' | 'none';
|
|
5
5
|
export type ModalAnimation = 'zoom-blur' | 'rise' | 'fade';
|
|
6
6
|
export type OrcestrThemeColorRole = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"themeTypes.d.ts","sourceRoot":"","sources":["../../src/theme/themeTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"themeTypes.d.ts","sourceRoot":"","sources":["../../src/theme/themeTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEtD,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG,OAAO,CAAC;AAChD,MAAM,MAAM,mBAAmB,GAAG,SAAS,GAAG,YAAY,GAAG,QAAQ,GAAG,SAAS,CAAC;AAClF,MAAM,MAAM,oBAAoB,GAAG,WAAW,GAAG,OAAO,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YAAY,CAAC;IACpB,YAAY,EAAE,aAAa,CAAC;IAC5B,OAAO,EAAE,CAAC,IAAI,EAAE,gBAAgB,KAAK,IAAI,CAAC;IAC1C,UAAU,EAAE,CAAC,OAAO,EAAE,mBAAmB,KAAK,IAAI,CAAC;IACnD,UAAU,EAAE,MAAM,IAAI,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG;IACpC,QAAQ,EAAE,SAAS,CAAC;IACpB,IAAI,CAAC,EAAE,gBAAgB,CAAC;IACxB,WAAW,CAAC,EAAE,gBAAgB,CAAC;IAC/B,cAAc,CAAC,EAAE,mBAAmB,CAAC;IACrC,OAAO,CAAC,EAAE,mBAAmB,CAAC;IAC9B,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,gBAAgB,KAAK,IAAI,CAAC;IAChD,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,mBAAmB,KAAK,IAAI,CAAC;IACzD,cAAc,CAAC,EAAE,qBAAqB,CAAC;IACvC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useTheme.d.ts","sourceRoot":"","sources":["../../src/theme/useTheme.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"useTheme.d.ts","sourceRoot":"","sources":["../../src/theme/useTheme.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,cAAc,CAAC;AAE7D,eAAO,MAAM,mBAAmB,0DAAuD,CAAC;AAExF,wBAAgB,eAAe,IAAI,wBAAwB,CAM1D"}
|
package/dist/utils/cn.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cn.d.ts","sourceRoot":"","sources":["../../src/utils/cn.ts"],"names":[],"mappings":"AAAA,wBAAgB,EAAE,
|
|
1
|
+
{"version":3,"file":"cn.d.ts","sourceRoot":"","sources":["../../src/utils/cn.ts"],"names":[],"mappings":"AAAA,wBAAgB,EAAE,CAAC,GAAG,MAAM,EAAE,KAAK,CAAC,MAAM,GAAG,KAAK,GAAG,IAAI,GAAG,SAAS,CAAC,GAAG,MAAM,CAE9E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"composeRefs.d.ts","sourceRoot":"","sources":["../../src/utils/composeRefs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"composeRefs.d.ts","sourceRoot":"","sources":["../../src/utils/composeRefs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAEjC,wBAAgB,WAAW,CAAC,CAAC,EAAE,GAAG,IAAI,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,SAAS,CAAC,IACrD,MAAM,CAAC,GAAG,IAAI,UAUzB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mergeProps.d.ts","sourceRoot":"","sources":["../../src/utils/mergeProps.ts"],"names":[],"mappings":"AAAA,KAAK,QAAQ,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAMxC,wBAAgB,UAAU,CAAC,CAAC,SAAS,QAAQ,EAAE,CAAC,SAAS,QAAQ,
|
|
1
|
+
{"version":3,"file":"mergeProps.d.ts","sourceRoot":"","sources":["../../src/utils/mergeProps.ts"],"names":[],"mappings":"AAAA,KAAK,QAAQ,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAMxC,wBAAgB,UAAU,CAAC,CAAC,SAAS,QAAQ,EAAE,CAAC,SAAS,QAAQ,EAAE,KAAK,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAoB7F"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"polymorphic.d.ts","sourceRoot":"","sources":["../../src/utils/polymorphic.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"polymorphic.d.ts","sourceRoot":"","sources":["../../src/utils/polymorphic.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE9E,MAAM,MAAM,gBAAgB,CAAC,CAAC,SAAS,WAAW,EAAE,CAAC,GAAG,MAAM,IAAI,CAAC,GAC/D,IAAI,CAAC,wBAAwB,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC,GAAG,IAAI,CAAC,GAAG;IAChD,EAAE,CAAC,EAAE,CAAC,CAAC;IACP,QAAQ,CAAC,EAAE,SAAS,CAAC;CACxB,CAAC"}
|