@syntrologie/adapt-nav 2.16.0 → 2.17.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.
- package/dist/NavWidgetLit.d.ts.map +1 -1
- package/dist/chunk-HMLY7DHA.js +16 -0
- package/dist/chunk-HMLY7DHA.js.map +7 -0
- package/dist/chunk-ZYHZ6JAD.js +447 -0
- package/dist/chunk-ZYHZ6JAD.js.map +7 -0
- package/dist/editor.d.ts +42 -21
- package/dist/editor.d.ts.map +1 -1
- package/dist/editor.js +310 -313
- package/dist/editor.js.map +7 -0
- package/dist/resolveNavTarget.d.ts +61 -0
- package/dist/resolveNavTarget.d.ts.map +1 -0
- package/dist/resolveNavTarget.test.d.ts +2 -0
- package/dist/resolveNavTarget.test.d.ts.map +1 -0
- package/dist/runtime.d.ts +3 -4
- package/dist/runtime.d.ts.map +1 -1
- package/dist/runtime.js +612 -221
- package/dist/runtime.js.map +7 -0
- package/dist/schema.d.ts +182 -72
- package/dist/schema.d.ts.map +1 -1
- package/dist/schema.js +155 -125
- package/dist/schema.js.map +7 -0
- package/package.json +9 -24
- package/dist/NavWidget.d.ts +0 -31
- package/dist/NavWidget.d.ts.map +0 -1
- package/dist/NavWidget.js +0 -476
- package/dist/NavWidgetLit.js +0 -495
- package/dist/NavWidgetLit.test.js +0 -199
- package/dist/cdn.d.ts +0 -62
- package/dist/cdn.d.ts.map +0 -1
- package/dist/cdn.js +0 -48
- package/dist/editor-lit.d.ts +0 -49
- package/dist/editor-lit.d.ts.map +0 -1
- package/dist/editor-lit.js +0 -319
- package/dist/runtime-lit.d.ts +0 -108
- package/dist/runtime-lit.d.ts.map +0 -1
- package/dist/runtime-lit.js +0 -241
- package/dist/summarize.js +0 -51
- package/dist/types.js +0 -18
- package/node_modules/@syntro/design-system/README.md +0 -335
- package/node_modules/@syntro/design-system/dist/assets/syntrologie-logo.svg +0 -21
- package/node_modules/@syntro/design-system/dist/assets/syntrologie-logomark.svg +0 -10
- package/node_modules/@syntro/design-system/dist/index.d.ts +0 -8
- package/node_modules/@syntro/design-system/dist/index.d.ts.map +0 -1
- package/node_modules/@syntro/design-system/dist/index.js +0 -7
- package/node_modules/@syntro/design-system/dist/tailwind-preset.d.ts +0 -19
- package/node_modules/@syntro/design-system/dist/tailwind-preset.d.ts.map +0 -1
- package/node_modules/@syntro/design-system/dist/tailwind-preset.js +0 -455
- package/node_modules/@syntro/design-system/dist/tokens/colors.css +0 -464
- package/node_modules/@syntro/design-system/dist/tokens/colors.d.ts +0 -874
- package/node_modules/@syntro/design-system/dist/tokens/colors.d.ts.map +0 -1
- package/node_modules/@syntro/design-system/dist/tokens/colors.js +0 -564
- package/node_modules/@syntro/design-system/dist/tokens/effects.css +0 -43
- package/node_modules/@syntro/design-system/dist/tokens/effects.d.ts +0 -139
- package/node_modules/@syntro/design-system/dist/tokens/effects.d.ts.map +0 -1
- package/node_modules/@syntro/design-system/dist/tokens/effects.js +0 -121
- package/node_modules/@syntro/design-system/dist/tokens/index.d.ts +0 -12
- package/node_modules/@syntro/design-system/dist/tokens/index.d.ts.map +0 -1
- package/node_modules/@syntro/design-system/dist/tokens/index.js +0 -11
- package/node_modules/@syntro/design-system/dist/tokens/panel-shell.d.ts +0 -93
- package/node_modules/@syntro/design-system/dist/tokens/panel-shell.d.ts.map +0 -1
- package/node_modules/@syntro/design-system/dist/tokens/panel-shell.js +0 -72
- package/node_modules/@syntro/design-system/package.json +0 -55
- package/node_modules/@syntro/design-system/src/assets/syntrologie-logo.svg +0 -21
- package/node_modules/@syntro/design-system/src/assets/syntrologie-logomark.svg +0 -10
- package/node_modules/@syntrologie/sdk-contracts/dist/index.d.ts +0 -129
- package/node_modules/@syntrologie/sdk-contracts/dist/index.js +0 -17
- package/node_modules/@syntrologie/sdk-contracts/dist/schemas.d.ts +0 -2296
- package/node_modules/@syntrologie/sdk-contracts/dist/schemas.js +0 -361
- package/node_modules/@syntrologie/sdk-contracts/package.json +0 -33
- package/node_modules/@syntrologie/shared-editor-ui/dist/cn.d.ts +0 -2
- package/node_modules/@syntrologie/shared-editor-ui/dist/cn.d.ts.map +0 -1
- package/node_modules/@syntrologie/shared-editor-ui/dist/cn.js +0 -3
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/AnchorPicker.d.ts +0 -34
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/AnchorPicker.d.ts.map +0 -1
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/AnchorPicker.js +0 -161
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/AnchorPickerLit.d.ts +0 -84
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/AnchorPickerLit.d.ts.map +0 -1
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/AnchorPickerLit.js +0 -323
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/BeforeAfterToggle.d.ts +0 -7
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/BeforeAfterToggle.d.ts.map +0 -1
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/BeforeAfterToggle.js +0 -9
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/BeforeAfterToggleLit.d.ts +0 -25
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/BeforeAfterToggleLit.d.ts.map +0 -1
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/BeforeAfterToggleLit.js +0 -55
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/ConditionStatusLine.d.ts +0 -23
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/ConditionStatusLine.d.ts.map +0 -1
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/ConditionStatusLine.js +0 -40
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/ConditionStatusLineLit.d.ts +0 -33
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/ConditionStatusLineLit.d.ts.map +0 -1
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/ConditionStatusLineLit.js +0 -118
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/DetectionBadge.d.ts +0 -7
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/DetectionBadge.d.ts.map +0 -1
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/DetectionBadge.js +0 -22
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/DetectionBadgeLit.d.ts +0 -32
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/DetectionBadgeLit.d.ts.map +0 -1
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/DetectionBadgeLit.js +0 -68
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/DismissedSection.d.ts +0 -8
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/DismissedSection.d.ts.map +0 -1
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/DismissedSection.js +0 -9
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/DismissedSectionLit.d.ts +0 -34
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/DismissedSectionLit.d.ts.map +0 -1
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/DismissedSectionLit.js +0 -57
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditBackButton.d.ts +0 -7
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditBackButton.d.ts.map +0 -1
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditBackButton.js +0 -4
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditBackButtonLit.d.ts +0 -13
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditBackButtonLit.d.ts.map +0 -1
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditBackButtonLit.js +0 -31
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorBody.d.ts +0 -7
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorBody.d.ts.map +0 -1
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorBody.js +0 -4
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorBodyLit.d.ts +0 -7
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorBodyLit.d.ts.map +0 -1
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorBodyLit.js +0 -15
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorCard.d.ts +0 -13
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorCard.d.ts.map +0 -1
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorCard.js +0 -15
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorCardLit.d.ts +0 -36
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorCardLit.d.ts.map +0 -1
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorCardLit.js +0 -102
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorFooter.d.ts +0 -7
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorFooter.d.ts.map +0 -1
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorFooter.js +0 -4
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorFooterLit.d.ts +0 -20
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorFooterLit.d.ts.map +0 -1
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorFooterLit.js +0 -48
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorHeader.d.ts +0 -9
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorHeader.d.ts.map +0 -1
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorHeader.js +0 -4
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorHeaderLit.d.ts +0 -16
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorHeaderLit.d.ts.map +0 -1
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorHeaderLit.js +0 -25
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorInput.d.ts +0 -8
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorInput.d.ts.map +0 -1
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorInput.js +0 -8
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorInputLit.d.ts +0 -66
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorInputLit.d.ts.map +0 -1
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorInputLit.js +0 -87
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorLayout.d.ts +0 -7
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorLayout.d.ts.map +0 -1
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorLayout.js +0 -4
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorLayoutLit.d.ts +0 -7
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorLayoutLit.d.ts.map +0 -1
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorLayoutLit.js +0 -15
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorPanelShell.d.ts +0 -25
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorPanelShell.d.ts.map +0 -1
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorPanelShell.js +0 -390
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorPanelShellLit.d.ts +0 -66
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorPanelShellLit.d.ts.map +0 -1
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorPanelShellLit.js +0 -528
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorSelect.d.ts +0 -8
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorSelect.d.ts.map +0 -1
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorSelect.js +0 -8
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorSelectLit.d.ts +0 -41
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorSelectLit.d.ts.map +0 -1
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorSelectLit.js +0 -63
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorTextarea.d.ts +0 -8
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorTextarea.d.ts.map +0 -1
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorTextarea.js +0 -17
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorTextareaLit.d.ts +0 -55
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorTextareaLit.d.ts.map +0 -1
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/EditorTextareaLit.js +0 -92
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/ElementHighlight.d.ts +0 -32
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/ElementHighlight.d.ts.map +0 -1
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/ElementHighlight.js +0 -85
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/ElementHighlightLit.d.ts +0 -90
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/ElementHighlightLit.d.ts.map +0 -1
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/ElementHighlightLit.js +0 -242
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/EmptyState.d.ts +0 -6
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/EmptyState.d.ts.map +0 -1
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/EmptyState.js +0 -4
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/EmptyStateLit.d.ts +0 -12
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/EmptyStateLit.d.ts.map +0 -1
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/EmptyStateLit.js +0 -21
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/GroupHeader.d.ts +0 -8
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/GroupHeader.d.ts.map +0 -1
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/GroupHeader.js +0 -5
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/GroupHeaderLit.d.ts +0 -21
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/GroupHeaderLit.d.ts.map +0 -1
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/GroupHeaderLit.js +0 -33
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/TriggerJourney.d.ts +0 -12
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/TriggerJourney.d.ts.map +0 -1
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/TriggerJourney.js +0 -40
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/TriggerJourneyLit.d.ts +0 -28
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/TriggerJourneyLit.d.ts.map +0 -1
- package/node_modules/@syntrologie/shared-editor-ui/dist/components/TriggerJourneyLit.js +0 -121
- package/node_modules/@syntrologie/shared-editor-ui/dist/controllers/PanelShellController.d.ts +0 -110
- package/node_modules/@syntrologie/shared-editor-ui/dist/controllers/PanelShellController.d.ts.map +0 -1
- package/node_modules/@syntrologie/shared-editor-ui/dist/controllers/PanelShellController.js +0 -481
- package/node_modules/@syntrologie/shared-editor-ui/dist/formatConditionLabel.d.ts +0 -26
- package/node_modules/@syntrologie/shared-editor-ui/dist/formatConditionLabel.d.ts.map +0 -1
- package/node_modules/@syntrologie/shared-editor-ui/dist/formatConditionLabel.js +0 -202
- package/node_modules/@syntrologie/shared-editor-ui/dist/hooks/useElementRect.d.ts +0 -8
- package/node_modules/@syntrologie/shared-editor-ui/dist/hooks/useElementRect.d.ts.map +0 -1
- package/node_modules/@syntrologie/shared-editor-ui/dist/hooks/useElementRect.js +0 -46
- package/node_modules/@syntrologie/shared-editor-ui/dist/hooks/useTriggerWhenStatus.d.ts +0 -24
- package/node_modules/@syntrologie/shared-editor-ui/dist/hooks/useTriggerWhenStatus.d.ts.map +0 -1
- package/node_modules/@syntrologie/shared-editor-ui/dist/hooks/useTriggerWhenStatus.js +0 -86
- package/node_modules/@syntrologie/shared-editor-ui/dist/index.d.ts +0 -36
- package/node_modules/@syntrologie/shared-editor-ui/dist/index.d.ts.map +0 -1
- package/node_modules/@syntrologie/shared-editor-ui/dist/index.js +0 -26
- package/node_modules/@syntrologie/shared-editor-ui/dist/lit-elements.d.ts +0 -15
- package/node_modules/@syntrologie/shared-editor-ui/dist/lit-elements.d.ts.map +0 -1
- package/node_modules/@syntrologie/shared-editor-ui/dist/lit-elements.js +0 -14
- package/node_modules/@syntrologie/shared-editor-ui/dist/utils/elementChainRecommender.d.ts +0 -33
- package/node_modules/@syntrologie/shared-editor-ui/dist/utils/elementChainRecommender.d.ts.map +0 -1
- package/node_modules/@syntrologie/shared-editor-ui/dist/utils/elementChainRecommender.js +0 -68
- package/node_modules/@syntrologie/shared-editor-ui/dist/utils/selectorGenerator.d.ts +0 -22
- package/node_modules/@syntrologie/shared-editor-ui/dist/utils/selectorGenerator.d.ts.map +0 -1
- package/node_modules/@syntrologie/shared-editor-ui/dist/utils/selectorGenerator.js +0 -143
- package/node_modules/@syntrologie/shared-editor-ui/package.json +0 -55
|
@@ -1,455 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Syntro Design System - Tailwind Preset
|
|
3
|
-
*
|
|
4
|
-
* Import and extend this preset in your Tailwind config to use the design system.
|
|
5
|
-
*
|
|
6
|
-
* @example
|
|
7
|
-
* ```typescript
|
|
8
|
-
* import { syntroPreset } from '@syntro/design-system/tailwind-preset';
|
|
9
|
-
*
|
|
10
|
-
* export default {
|
|
11
|
-
* presets: [syntroPreset],
|
|
12
|
-
* content: ['./src/**\/*.{ts,tsx}'],
|
|
13
|
-
* };
|
|
14
|
-
* ```
|
|
15
|
-
*/
|
|
16
|
-
import { colors } from './tokens/colors';
|
|
17
|
-
import { backdropBlur, elevationShadows, focusRings, glowShadows, overlay, shadows, } from './tokens/effects';
|
|
18
|
-
export const syntroPreset = {
|
|
19
|
-
darkMode: ['class'],
|
|
20
|
-
theme: {
|
|
21
|
-
extend: {
|
|
22
|
-
colors: {
|
|
23
|
-
// Base colors
|
|
24
|
-
white: colors.base.white,
|
|
25
|
-
black: colors.base.black,
|
|
26
|
-
// Brand scale
|
|
27
|
-
brand: {
|
|
28
|
-
0: colors.brand[0],
|
|
29
|
-
1: colors.brand[1],
|
|
30
|
-
2: colors.brand[2],
|
|
31
|
-
3: colors.brand[3],
|
|
32
|
-
4: colors.brand[4],
|
|
33
|
-
5: colors.brand[5],
|
|
34
|
-
6: colors.brand[6],
|
|
35
|
-
7: colors.brand[7],
|
|
36
|
-
8: colors.brand[8],
|
|
37
|
-
9: colors.brand[9],
|
|
38
|
-
DEFAULT: colors.brand[3],
|
|
39
|
-
},
|
|
40
|
-
// Neutral scale (Slate Grey)
|
|
41
|
-
'slate-grey': {
|
|
42
|
-
0: colors.slateGrey[0],
|
|
43
|
-
1: colors.slateGrey[1],
|
|
44
|
-
2: colors.slateGrey[2],
|
|
45
|
-
3: colors.slateGrey[3],
|
|
46
|
-
4: colors.slateGrey[4],
|
|
47
|
-
5: colors.slateGrey[5],
|
|
48
|
-
6: colors.slateGrey[6],
|
|
49
|
-
7: colors.slateGrey[7],
|
|
50
|
-
8: colors.slateGrey[8],
|
|
51
|
-
9: colors.slateGrey[9],
|
|
52
|
-
10: colors.slateGrey[10],
|
|
53
|
-
11: colors.slateGrey[11],
|
|
54
|
-
12: colors.slateGrey[12],
|
|
55
|
-
DEFAULT: colors.slateGrey[6],
|
|
56
|
-
},
|
|
57
|
-
// Semantic color scales
|
|
58
|
-
green: {
|
|
59
|
-
0: colors.green[0],
|
|
60
|
-
1: colors.green[1],
|
|
61
|
-
2: colors.green[2],
|
|
62
|
-
3: colors.green[3],
|
|
63
|
-
4: colors.green[4],
|
|
64
|
-
5: colors.green[5],
|
|
65
|
-
6: colors.green[6],
|
|
66
|
-
7: colors.green[7],
|
|
67
|
-
8: colors.green[8],
|
|
68
|
-
9: colors.green[9],
|
|
69
|
-
DEFAULT: colors.green[4],
|
|
70
|
-
},
|
|
71
|
-
yellow: {
|
|
72
|
-
0: colors.yellow[0],
|
|
73
|
-
1: colors.yellow[1],
|
|
74
|
-
2: colors.yellow[2],
|
|
75
|
-
3: colors.yellow[3],
|
|
76
|
-
4: colors.yellow[4],
|
|
77
|
-
5: colors.yellow[5],
|
|
78
|
-
6: colors.yellow[6],
|
|
79
|
-
7: colors.yellow[7],
|
|
80
|
-
8: colors.yellow[8],
|
|
81
|
-
9: colors.yellow[9],
|
|
82
|
-
DEFAULT: colors.yellow[4],
|
|
83
|
-
},
|
|
84
|
-
red: {
|
|
85
|
-
0: colors.red[0],
|
|
86
|
-
1: colors.red[1],
|
|
87
|
-
2: colors.red[2],
|
|
88
|
-
3: colors.red[3],
|
|
89
|
-
4: colors.red[4],
|
|
90
|
-
5: colors.red[5],
|
|
91
|
-
6: colors.red[6],
|
|
92
|
-
7: colors.red[7],
|
|
93
|
-
8: colors.red[8],
|
|
94
|
-
9: colors.red[9],
|
|
95
|
-
DEFAULT: colors.red[4],
|
|
96
|
-
},
|
|
97
|
-
blue: {
|
|
98
|
-
0: colors.blue[0],
|
|
99
|
-
1: colors.blue[1],
|
|
100
|
-
2: colors.blue[2],
|
|
101
|
-
3: colors.blue[3],
|
|
102
|
-
4: colors.blue[4],
|
|
103
|
-
5: colors.blue[5],
|
|
104
|
-
6: colors.blue[6],
|
|
105
|
-
7: colors.blue[7],
|
|
106
|
-
8: colors.blue[8],
|
|
107
|
-
9: colors.blue[9],
|
|
108
|
-
DEFAULT: colors.blue[4],
|
|
109
|
-
},
|
|
110
|
-
orange: {
|
|
111
|
-
0: colors.orange[0],
|
|
112
|
-
1: colors.orange[1],
|
|
113
|
-
2: colors.orange[2],
|
|
114
|
-
3: colors.orange[3],
|
|
115
|
-
4: colors.orange[4],
|
|
116
|
-
5: colors.orange[5],
|
|
117
|
-
6: colors.orange[6],
|
|
118
|
-
7: colors.orange[7],
|
|
119
|
-
8: colors.orange[8],
|
|
120
|
-
9: colors.orange[9],
|
|
121
|
-
DEFAULT: colors.orange[3],
|
|
122
|
-
},
|
|
123
|
-
purple: {
|
|
124
|
-
0: colors.purple[0],
|
|
125
|
-
1: colors.purple[1],
|
|
126
|
-
2: colors.purple[2],
|
|
127
|
-
3: colors.purple[3],
|
|
128
|
-
4: colors.purple[4],
|
|
129
|
-
5: colors.purple[5],
|
|
130
|
-
6: colors.purple[6],
|
|
131
|
-
7: colors.purple[7],
|
|
132
|
-
8: colors.purple[8],
|
|
133
|
-
9: colors.purple[9],
|
|
134
|
-
DEFAULT: colors.purple[4],
|
|
135
|
-
},
|
|
136
|
-
pink: {
|
|
137
|
-
0: colors.pink[0],
|
|
138
|
-
1: colors.pink[1],
|
|
139
|
-
2: colors.pink[2],
|
|
140
|
-
3: colors.pink[3],
|
|
141
|
-
4: colors.pink[4],
|
|
142
|
-
5: colors.pink[5],
|
|
143
|
-
6: colors.pink[6],
|
|
144
|
-
7: colors.pink[7],
|
|
145
|
-
8: colors.pink[8],
|
|
146
|
-
9: colors.pink[9],
|
|
147
|
-
DEFAULT: colors.pink[4],
|
|
148
|
-
},
|
|
149
|
-
// Semantic tokens
|
|
150
|
-
// biome-ignore lint: Tailwind preset intentionally maps design tokens from source
|
|
151
|
-
text: {
|
|
152
|
-
primary: colors.text.primary,
|
|
153
|
-
secondary: colors.text.secondary,
|
|
154
|
-
tertiary: colors.text.tertiary,
|
|
155
|
-
DEFAULT: colors.text.primary,
|
|
156
|
-
},
|
|
157
|
-
// biome-ignore lint: Tailwind preset intentionally maps design tokens from source
|
|
158
|
-
background: {
|
|
159
|
-
primary: colors.background.primary,
|
|
160
|
-
secondary: colors.background.secondary,
|
|
161
|
-
DEFAULT: colors.background.primary,
|
|
162
|
-
},
|
|
163
|
-
// biome-ignore lint: Tailwind preset intentionally maps design tokens from source
|
|
164
|
-
border: {
|
|
165
|
-
primary: colors.border.primary,
|
|
166
|
-
secondary: colors.border.secondary,
|
|
167
|
-
DEFAULT: colors.border.primary,
|
|
168
|
-
},
|
|
169
|
-
// Component tokens - Button
|
|
170
|
-
// biome-ignore lint: Tailwind preset intentionally maps design tokens from source
|
|
171
|
-
'btn-primary': {
|
|
172
|
-
DEFAULT: colors.button.primary.backgroundDefault,
|
|
173
|
-
hover: colors.button.primary.backgroundHover,
|
|
174
|
-
text: colors.button.primary.text,
|
|
175
|
-
border: colors.button.primary.border,
|
|
176
|
-
},
|
|
177
|
-
// biome-ignore lint: Tailwind preset intentionally maps design tokens from source
|
|
178
|
-
'btn-neutral': {
|
|
179
|
-
DEFAULT: colors.button.neutral.background,
|
|
180
|
-
text: colors.button.neutral.text,
|
|
181
|
-
'text-hover': colors.button.neutral.textHover,
|
|
182
|
-
border: colors.button.neutral.border,
|
|
183
|
-
},
|
|
184
|
-
'btn-link': {
|
|
185
|
-
text: colors.button.link.text,
|
|
186
|
-
hover: colors.button.link.hover,
|
|
187
|
-
},
|
|
188
|
-
'btn-error': {
|
|
189
|
-
text: colors.button.error.text,
|
|
190
|
-
hover: colors.button.error.hover,
|
|
191
|
-
},
|
|
192
|
-
'btn-success': {
|
|
193
|
-
text: colors.button.success.text,
|
|
194
|
-
hover: colors.button.success.hover,
|
|
195
|
-
},
|
|
196
|
-
// Component tokens - Card
|
|
197
|
-
// biome-ignore lint: Tailwind preset intentionally maps design tokens from source
|
|
198
|
-
card: {
|
|
199
|
-
bg: colors.card.background,
|
|
200
|
-
content: colors.card.content,
|
|
201
|
-
border: colors.card.border,
|
|
202
|
-
},
|
|
203
|
-
// Component tokens - Modal
|
|
204
|
-
// biome-ignore lint: Tailwind preset intentionally maps design tokens from source
|
|
205
|
-
modal: {
|
|
206
|
-
bg: colors.modal.background,
|
|
207
|
-
content: colors.modal.content,
|
|
208
|
-
border: colors.modal.border,
|
|
209
|
-
},
|
|
210
|
-
// Component tokens - Sidebar
|
|
211
|
-
sidebar: {
|
|
212
|
-
DEFAULT: colors.sidebar.backgroundDefault,
|
|
213
|
-
hover: colors.sidebar.backgroundHover,
|
|
214
|
-
active: colors.sidebar.backgroundActive,
|
|
215
|
-
border: colors.sidebar.border,
|
|
216
|
-
'content-primary': colors.sidebar.contentPrimary,
|
|
217
|
-
'content-secondary': colors.sidebar.contentSecondary,
|
|
218
|
-
'content-tertiary': colors.sidebar.contentTertiary,
|
|
219
|
-
},
|
|
220
|
-
// Component tokens - Tab
|
|
221
|
-
// biome-ignore lint: Tailwind preset intentionally maps design tokens from source
|
|
222
|
-
tab: {
|
|
223
|
-
'active-bg': colors.tab.activeBackground,
|
|
224
|
-
'active-content': colors.tab.activeContent,
|
|
225
|
-
'inactive-content': colors.tab.inactiveContent,
|
|
226
|
-
border: colors.tab.border,
|
|
227
|
-
},
|
|
228
|
-
// Component tokens - Table
|
|
229
|
-
// biome-ignore lint: Tailwind preset intentionally maps design tokens from source
|
|
230
|
-
'table-header': {
|
|
231
|
-
text: colors.table.header.textDefault,
|
|
232
|
-
'text-hover': colors.table.header.textHover,
|
|
233
|
-
bg: colors.table.header.backgroundDefault,
|
|
234
|
-
},
|
|
235
|
-
// biome-ignore lint: Tailwind preset intentionally maps design tokens from source
|
|
236
|
-
'table-cell': {
|
|
237
|
-
// biome-ignore lint: Tailwind preset defines semantic token names, not usage of shadcn color classes
|
|
238
|
-
'text-primary': colors.table.cell.textPrimary,
|
|
239
|
-
// biome-ignore lint: Tailwind preset defines semantic token names, not usage of shadcn color classes
|
|
240
|
-
'text-secondary': colors.table.cell.textSecondary,
|
|
241
|
-
bg: colors.table.cell.backgroundDefault,
|
|
242
|
-
'bg-hover': colors.table.cell.backgroundHover,
|
|
243
|
-
},
|
|
244
|
-
'table-border': colors.table.border,
|
|
245
|
-
// Component tokens - Input
|
|
246
|
-
'input-field': {
|
|
247
|
-
bg: colors.inputField.backgroundDefault,
|
|
248
|
-
'bg-disabled': colors.inputField.backgroundDisabled,
|
|
249
|
-
'text-label': colors.inputField.textLabel,
|
|
250
|
-
'text-placeholder': colors.inputField.textPlaceholder,
|
|
251
|
-
'text-hint': colors.inputField.textHint,
|
|
252
|
-
'text-error': colors.inputField.textError,
|
|
253
|
-
border: colors.inputField.borderDefault,
|
|
254
|
-
'border-selected': colors.inputField.borderSelected,
|
|
255
|
-
'border-error': colors.inputField.borderError,
|
|
256
|
-
},
|
|
257
|
-
// Component tokens - Badge (9 variants)
|
|
258
|
-
// biome-ignore lint: Tailwind preset intentionally maps design tokens from source
|
|
259
|
-
'badge-slate': {
|
|
260
|
-
content: colors.badge.slateGrey.content,
|
|
261
|
-
outline: colors.badge.slateGrey.pillOutline,
|
|
262
|
-
border: colors.badge.slateGrey.borderPrimary,
|
|
263
|
-
bg: colors.badge.slateGrey.background,
|
|
264
|
-
},
|
|
265
|
-
// biome-ignore lint: Tailwind preset intentionally maps design tokens from source
|
|
266
|
-
'badge-brand': {
|
|
267
|
-
content: colors.badge.brand.content,
|
|
268
|
-
outline: colors.badge.brand.pillOutline,
|
|
269
|
-
border: colors.badge.brand.borderPrimary,
|
|
270
|
-
bg: colors.badge.brand.background,
|
|
271
|
-
},
|
|
272
|
-
// biome-ignore lint: Tailwind preset intentionally maps design tokens from source
|
|
273
|
-
'badge-green': {
|
|
274
|
-
content: colors.badge.green.content,
|
|
275
|
-
outline: colors.badge.green.pillOutline,
|
|
276
|
-
border: colors.badge.green.borderPrimary,
|
|
277
|
-
bg: colors.badge.green.background,
|
|
278
|
-
},
|
|
279
|
-
// biome-ignore lint: Tailwind preset intentionally maps design tokens from source
|
|
280
|
-
'badge-yellow': {
|
|
281
|
-
content: colors.badge.yellow.content,
|
|
282
|
-
outline: colors.badge.yellow.pillOutline,
|
|
283
|
-
border: colors.badge.yellow.borderPrimary,
|
|
284
|
-
bg: colors.badge.yellow.background,
|
|
285
|
-
},
|
|
286
|
-
// biome-ignore lint: Tailwind preset intentionally maps design tokens from source
|
|
287
|
-
'badge-red': {
|
|
288
|
-
content: colors.badge.red.content,
|
|
289
|
-
outline: colors.badge.red.pillOutline,
|
|
290
|
-
border: colors.badge.red.borderPrimary,
|
|
291
|
-
bg: colors.badge.red.background,
|
|
292
|
-
},
|
|
293
|
-
// biome-ignore lint: Tailwind preset intentionally maps design tokens from source
|
|
294
|
-
'badge-blue': {
|
|
295
|
-
content: colors.badge.blue.content,
|
|
296
|
-
outline: colors.badge.blue.pillOutline,
|
|
297
|
-
border: colors.badge.blue.borderPrimary,
|
|
298
|
-
bg: colors.badge.blue.background,
|
|
299
|
-
},
|
|
300
|
-
// biome-ignore lint: Tailwind preset intentionally maps design tokens from source
|
|
301
|
-
'badge-purple': {
|
|
302
|
-
content: colors.badge.purple.content,
|
|
303
|
-
outline: colors.badge.purple.pillOutline,
|
|
304
|
-
border: colors.badge.purple.borderPrimary,
|
|
305
|
-
bg: colors.badge.purple.background,
|
|
306
|
-
},
|
|
307
|
-
// biome-ignore lint: Tailwind preset intentionally maps design tokens from source
|
|
308
|
-
'badge-orange': {
|
|
309
|
-
content: colors.badge.orange.content,
|
|
310
|
-
outline: colors.badge.orange.pillOutline,
|
|
311
|
-
border: colors.badge.orange.borderPrimary,
|
|
312
|
-
bg: colors.badge.orange.background,
|
|
313
|
-
},
|
|
314
|
-
// biome-ignore lint: Tailwind preset intentionally maps design tokens from source
|
|
315
|
-
'badge-pink': {
|
|
316
|
-
content: colors.badge.pink.content,
|
|
317
|
-
outline: colors.badge.pink.pillOutline,
|
|
318
|
-
border: colors.badge.pink.borderPrimary,
|
|
319
|
-
bg: colors.badge.pink.background,
|
|
320
|
-
},
|
|
321
|
-
// Component tokens - Toggle
|
|
322
|
-
toggle: {
|
|
323
|
-
handle: colors.toggle.handleDefault,
|
|
324
|
-
'handle-disabled': colors.toggle.handleDisabled,
|
|
325
|
-
'off-bg': colors.toggle.off.backgroundDefault,
|
|
326
|
-
'off-bg-hover': colors.toggle.off.backgroundHover,
|
|
327
|
-
'on-bg': colors.toggle.on.backgroundDefault,
|
|
328
|
-
'on-bg-hover': colors.toggle.on.backgroundHover,
|
|
329
|
-
},
|
|
330
|
-
// Component tokens - Menu
|
|
331
|
-
// biome-ignore lint: Tailwind preset intentionally maps design tokens from source
|
|
332
|
-
menu: {
|
|
333
|
-
DEFAULT: colors.menu.backgroundDefault,
|
|
334
|
-
hover: colors.menu.backgroundHover,
|
|
335
|
-
selected: colors.menu.selected,
|
|
336
|
-
},
|
|
337
|
-
// Component tokens - Alert
|
|
338
|
-
'alert-green': {
|
|
339
|
-
content: colors.alert.green.content,
|
|
340
|
-
bg: colors.alert.green.background,
|
|
341
|
-
},
|
|
342
|
-
'alert-yellow': {
|
|
343
|
-
content: colors.alert.yellow.content,
|
|
344
|
-
bg: colors.alert.yellow.background,
|
|
345
|
-
},
|
|
346
|
-
'alert-red': {
|
|
347
|
-
content: colors.alert.red.content,
|
|
348
|
-
bg: colors.alert.red.background,
|
|
349
|
-
},
|
|
350
|
-
},
|
|
351
|
-
// Typography
|
|
352
|
-
fontSize: {
|
|
353
|
-
xs: ['0.75rem', { lineHeight: '1rem' }],
|
|
354
|
-
sm: ['0.875rem', { lineHeight: '1.25rem' }],
|
|
355
|
-
base: ['1rem', { lineHeight: '1.5rem' }],
|
|
356
|
-
lg: ['1.125rem', { lineHeight: '1.75rem' }],
|
|
357
|
-
xl: ['1.25rem', { lineHeight: '1.75rem' }],
|
|
358
|
-
'2xl': ['1.5rem', { lineHeight: '2rem' }],
|
|
359
|
-
'3xl': ['1.875rem', { lineHeight: '2.25rem' }],
|
|
360
|
-
'4xl': ['2.25rem', { lineHeight: '2.5rem' }],
|
|
361
|
-
'5xl': ['3rem', { lineHeight: '1' }],
|
|
362
|
-
'6xl': ['3.75rem', { lineHeight: '1' }],
|
|
363
|
-
},
|
|
364
|
-
// Spacing
|
|
365
|
-
spacing: {
|
|
366
|
-
0: '0',
|
|
367
|
-
1: '0.25rem',
|
|
368
|
-
2: '0.5rem',
|
|
369
|
-
3: '0.75rem',
|
|
370
|
-
4: '1rem',
|
|
371
|
-
5: '1.25rem',
|
|
372
|
-
6: '1.5rem',
|
|
373
|
-
8: '2rem',
|
|
374
|
-
10: '2.5rem',
|
|
375
|
-
12: '3rem',
|
|
376
|
-
16: '4rem',
|
|
377
|
-
20: '5rem',
|
|
378
|
-
24: '6rem',
|
|
379
|
-
32: '8rem',
|
|
380
|
-
},
|
|
381
|
-
// Border radius
|
|
382
|
-
borderRadius: {
|
|
383
|
-
none: '0',
|
|
384
|
-
sm: '0.125rem',
|
|
385
|
-
DEFAULT: '0.25rem',
|
|
386
|
-
md: '0.375rem',
|
|
387
|
-
lg: '0.5rem',
|
|
388
|
-
xl: '0.75rem',
|
|
389
|
-
'2xl': '1rem',
|
|
390
|
-
'3xl': '1.5rem',
|
|
391
|
-
full: '9999px',
|
|
392
|
-
},
|
|
393
|
-
// Box shadow — Figma shadow scale + product glows + elevation
|
|
394
|
-
boxShadow: {
|
|
395
|
-
...shadows,
|
|
396
|
-
...glowShadows,
|
|
397
|
-
...elevationShadows,
|
|
398
|
-
DEFAULT: shadows.sm,
|
|
399
|
-
// Focus rings (4px spread + xs shadow)
|
|
400
|
-
'focus-primary': focusRings.primary,
|
|
401
|
-
'focus-neutral': focusRings.neutral,
|
|
402
|
-
'focus-error': focusRings.error,
|
|
403
|
-
},
|
|
404
|
-
// Backdrop blur — Figma scale
|
|
405
|
-
// biome-ignore lint: Tailwind preset intentionally maps design tokens from source
|
|
406
|
-
backdropBlur: {
|
|
407
|
-
sm: backdropBlur.sm,
|
|
408
|
-
md: backdropBlur.md,
|
|
409
|
-
lg: backdropBlur.lg,
|
|
410
|
-
xl: backdropBlur.xl,
|
|
411
|
-
},
|
|
412
|
-
// Overlay background colors
|
|
413
|
-
backgroundColor: {
|
|
414
|
-
'overlay-solid': overlay.solid,
|
|
415
|
-
'overlay-blur': overlay.blur,
|
|
416
|
-
},
|
|
417
|
-
// Animation
|
|
418
|
-
keyframes: {
|
|
419
|
-
'fade-in': {
|
|
420
|
-
'0%': { opacity: '0' },
|
|
421
|
-
'100%': { opacity: '1' },
|
|
422
|
-
},
|
|
423
|
-
'fade-out': {
|
|
424
|
-
'0%': { opacity: '1' },
|
|
425
|
-
'100%': { opacity: '0' },
|
|
426
|
-
},
|
|
427
|
-
'slide-in-from-top': {
|
|
428
|
-
'0%': { transform: 'translateY(-100%)' },
|
|
429
|
-
'100%': { transform: 'translateY(0)' },
|
|
430
|
-
},
|
|
431
|
-
'slide-in-from-bottom': {
|
|
432
|
-
'0%': { transform: 'translateY(100%)' },
|
|
433
|
-
'100%': { transform: 'translateY(0)' },
|
|
434
|
-
},
|
|
435
|
-
'slide-in-from-left': {
|
|
436
|
-
'0%': { transform: 'translateX(-100%)' },
|
|
437
|
-
'100%': { transform: 'translateX(0)' },
|
|
438
|
-
},
|
|
439
|
-
'slide-in-from-right': {
|
|
440
|
-
'0%': { transform: 'translateX(100%)' },
|
|
441
|
-
'100%': { transform: 'translateX(0)' },
|
|
442
|
-
},
|
|
443
|
-
},
|
|
444
|
-
animation: {
|
|
445
|
-
'fade-in': 'fade-in 0.2s ease-out',
|
|
446
|
-
'fade-out': 'fade-out 0.2s ease-out',
|
|
447
|
-
'slide-in-from-top': 'slide-in-from-top 0.3s ease-out',
|
|
448
|
-
'slide-in-from-bottom': 'slide-in-from-bottom 0.3s ease-out',
|
|
449
|
-
'slide-in-from-left': 'slide-in-from-left 0.3s ease-out',
|
|
450
|
-
'slide-in-from-right': 'slide-in-from-right 0.3s ease-out',
|
|
451
|
-
},
|
|
452
|
-
},
|
|
453
|
-
},
|
|
454
|
-
};
|
|
455
|
-
export default syntroPreset;
|