@uipath/apollo-wind 0.9.1 → 0.10.0-pr219.61d64eb
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/components/custom/canvas.cjs +44 -0
- package/dist/components/custom/canvas.d.ts +14 -0
- package/dist/components/custom/canvas.js +10 -0
- package/dist/components/custom/chat-composer.cjs +105 -0
- package/dist/components/custom/chat-composer.d.ts +15 -0
- package/dist/components/custom/chat-composer.js +71 -0
- package/dist/components/custom/chat-first-experience.cjs +87 -0
- package/dist/components/custom/chat-first-experience.d.ts +24 -0
- package/dist/components/custom/chat-first-experience.js +53 -0
- package/dist/components/custom/chat-prompt-suggestions.cjs +48 -0
- package/dist/components/custom/chat-prompt-suggestions.d.ts +18 -0
- package/dist/components/custom/chat-prompt-suggestions.js +14 -0
- package/dist/components/custom/chat-steps-view.cjs +307 -0
- package/dist/components/custom/chat-steps-view.d.ts +38 -0
- package/dist/components/custom/chat-steps-view.js +273 -0
- package/dist/components/custom/flow-node.cjs +76 -0
- package/dist/components/custom/flow-node.d.ts +20 -0
- package/dist/components/custom/flow-node.js +42 -0
- package/dist/components/custom/flow-properties-bar.cjs +101 -0
- package/dist/components/custom/flow-properties-bar.d.ts +21 -0
- package/dist/components/custom/flow-properties-bar.js +67 -0
- package/dist/components/custom/flow-properties-expanded.cjs +324 -0
- package/dist/components/custom/flow-properties-expanded.d.ts +19 -0
- package/dist/components/custom/flow-properties-expanded.js +290 -0
- package/dist/components/custom/flow-properties-simple.cjs +357 -0
- package/dist/components/custom/flow-properties-simple.d.ts +62 -0
- package/dist/components/custom/flow-properties-simple.js +323 -0
- package/dist/components/custom/flow-properties.cjs +56 -0
- package/dist/components/custom/flow-properties.d.ts +28 -0
- package/dist/components/custom/flow-properties.js +22 -0
- package/dist/components/custom/global-header.cjs +415 -0
- package/dist/components/custom/global-header.d.ts +38 -0
- package/dist/components/custom/global-header.js +381 -0
- package/dist/components/custom/grid-maestro.cjs +62 -0
- package/dist/components/custom/grid-maestro.d.ts +19 -0
- package/dist/components/custom/grid-maestro.js +22 -0
- package/dist/components/custom/panel-delegate.cjs +280 -0
- package/dist/components/custom/panel-delegate.d.ts +34 -0
- package/dist/components/custom/panel-delegate.js +246 -0
- package/dist/components/custom/panel-flow.cjs +260 -0
- package/dist/components/custom/panel-flow.d.ts +38 -0
- package/dist/components/custom/panel-flow.js +223 -0
- package/dist/components/custom/panel-maestro.cjs +73 -0
- package/dist/components/custom/panel-maestro.d.ts +30 -0
- package/dist/components/custom/panel-maestro.js +39 -0
- package/dist/components/custom/toolbar-canvas.cjs +121 -0
- package/dist/components/custom/toolbar-canvas.d.ts +15 -0
- package/dist/components/custom/toolbar-canvas.js +87 -0
- package/dist/components/custom/toolbar-view.cjs +119 -0
- package/dist/components/custom/toolbar-view.d.ts +14 -0
- package/dist/components/custom/toolbar-view.js +85 -0
- package/dist/components/custom/viewport-guard.cjs +92 -0
- package/dist/components/custom/viewport-guard.d.ts +23 -0
- package/dist/components/custom/viewport-guard.js +55 -0
- package/dist/components/ui/button.cjs +3 -3
- package/dist/components/ui/button.js +3 -3
- package/dist/components/ui/chart.cjs +218 -0
- package/dist/components/ui/chart.d.ts +40 -0
- package/dist/components/ui/chart.js +169 -0
- package/dist/components/ui/data-table.cjs +14 -2
- package/dist/components/ui/data-table.d.ts +4 -1
- package/dist/components/ui/data-table.js +15 -3
- package/dist/components/ui/empty-state.cjs +17 -6
- package/dist/components/ui/empty-state.d.ts +7 -0
- package/dist/components/ui/empty-state.js +17 -6
- package/dist/components/ui/file-upload.cjs +82 -42
- package/dist/components/ui/file-upload.d.ts +3 -1
- package/dist/components/ui/file-upload.js +82 -42
- package/dist/components/ui/index.cjs +289 -149
- package/dist/components/ui/index.d.ts +2 -3
- package/dist/components/ui/index.js +2 -3
- package/dist/components/ui/tree-view.cjs +1101 -0
- package/dist/components/ui/tree-view.d.ts +95 -0
- package/dist/components/ui/tree-view.js +1067 -0
- package/dist/foundation/Future/colors.cjs +92 -0
- package/dist/foundation/Future/colors.d.ts +132 -0
- package/dist/foundation/Future/colors.js +43 -0
- package/dist/foundation/Future/radius.cjs +46 -0
- package/dist/foundation/Future/radius.d.ts +33 -0
- package/dist/foundation/Future/radius.js +12 -0
- package/dist/foundation/Future/responsive.cjs +49 -0
- package/dist/foundation/Future/responsive.d.ts +40 -0
- package/dist/foundation/Future/responsive.js +12 -0
- package/dist/foundation/Future/shadows.cjs +48 -0
- package/dist/foundation/Future/shadows.d.ts +29 -0
- package/dist/foundation/Future/shadows.js +11 -0
- package/dist/foundation/Future/spacing.cjs +71 -0
- package/dist/foundation/Future/spacing.d.ts +80 -0
- package/dist/foundation/Future/spacing.js +31 -0
- package/dist/foundation/Future/strokes.cjs +59 -0
- package/dist/foundation/Future/strokes.d.ts +49 -0
- package/dist/foundation/Future/strokes.js +19 -0
- package/dist/foundation/Future/types.cjs +18 -0
- package/dist/foundation/Future/types.d.ts +18 -0
- package/dist/foundation/Future/types.js +0 -0
- package/dist/foundation/Future/typography.cjs +79 -0
- package/dist/foundation/Future/typography.d.ts +86 -0
- package/dist/foundation/Future/typography.js +33 -0
- package/dist/index.cjs +125 -219
- package/dist/index.d.ts +2 -3
- package/dist/index.js +2 -4
- package/dist/src/foundation/Future/themes.css +371 -0
- package/dist/styles.css +1704 -582
- package/dist/tailwind.css +4 -0
- package/dist/templates/Admin/settings-admin.d.ts +5 -0
- package/dist/templates/Admin/template-admin.d.ts +105 -0
- package/dist/templates/Delegate/template-delegate.d.ts +26 -0
- package/dist/templates/EmptyErrors/error-components.d.ts +3 -0
- package/dist/templates/Experiments/ideas-AnimatedGradientText.d.ts +23 -0
- package/dist/templates/Flow/template-flow.d.ts +52 -0
- package/dist/templates/Maestro/template-maestro.d.ts +52 -0
- package/dist/templates/{vscode-example.d.ts → VisualStudio/shell.d.ts} +1 -1
- package/package.json +10 -1
- package/dist/components/ui/menubar.cjs +0 -210
- package/dist/components/ui/menubar.d.ts +0 -28
- package/dist/components/ui/menubar.js +0 -131
- package/dist/components/ui/navigation-menu.cjs +0 -122
- package/dist/components/ui/navigation-menu.d.ts +0 -12
- package/dist/components/ui/navigation-menu.js +0 -64
- package/dist/examples/admin-layout-example.cjs +0 -490
- package/dist/examples/admin-layout-example.d.ts +0 -92
- package/dist/examples/admin-layout-example.js +0 -411
- package/dist/examples/app-shell-example.cjs +0 -452
- package/dist/examples/app-shell-example.d.ts +0 -52
- package/dist/examples/app-shell-example.js +0 -418
- package/dist/examples/dashboard-example.cjs +0 -590
- package/dist/examples/dashboard-example.d.ts +0 -11
- package/dist/examples/dashboard-example.js +0 -556
- package/dist/examples/data-management-example.cjs +0 -584
- package/dist/examples/data-management-example.d.ts +0 -1
- package/dist/examples/data-management-example.js +0 -550
- package/dist/examples/flow-editor-layout-example.cjs +0 -309
- package/dist/examples/flow-editor-layout-example.d.ts +0 -22
- package/dist/examples/flow-editor-layout-example.js +0 -269
- package/dist/examples/flow-start-example.cjs +0 -467
- package/dist/examples/flow-start-example.d.ts +0 -30
- package/dist/examples/flow-start-example.js +0 -433
- package/dist/examples/form-builder-example.cjs +0 -674
- package/dist/examples/form-builder-example.js +0 -640
- package/dist/examples/new-project-example.cjs +0 -550
- package/dist/examples/new-project-example.d.ts +0 -30
- package/dist/examples/new-project-example.js +0 -516
- package/dist/examples/settings-example.cjs +0 -864
- package/dist/examples/settings-example.d.ts +0 -1
- package/dist/examples/settings-example.js +0 -830
- package/dist/examples/vscode-example.cjs +0 -340
- package/dist/examples/vscode-example.d.ts +0 -80
- package/dist/examples/vscode-example.js +0 -270
- package/dist/templates/admin-layout-example.d.ts +0 -92
- package/dist/templates/app-shell-example.d.ts +0 -52
- package/dist/templates/dashboard-example.d.ts +0 -11
- package/dist/templates/data-management-example.d.ts +0 -1
- package/dist/templates/flow-editor-layout-example.d.ts +0 -22
- package/dist/templates/flow-start-example.d.ts +0 -30
- package/dist/templates/form-builder-example.d.ts +0 -1
- package/dist/templates/new-project-example.d.ts +0 -30
- package/dist/templates/settings-example.d.ts +0 -1
- /package/dist/{examples → templates/Forms}/form-builder-example.d.ts +0 -0
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Apollo Future — Spacing Tokens
|
|
3
|
+
*
|
|
4
|
+
* Single source of truth for spacing (padding, margin, gap, dimensions)
|
|
5
|
+
* in the Future design language.
|
|
6
|
+
* Includes values actively used in both Delegate and Flow templates.
|
|
7
|
+
* All values map to Tailwind spacing scale or arbitrary values in use.
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* Spacing scale in pixels.
|
|
11
|
+
*
|
|
12
|
+
* | Token | px | Tailwind | Usage example |
|
|
13
|
+
* |-------|-----|--------------|---------------------------|
|
|
14
|
+
* | 0 | 0 | p-0 | Reset padding |
|
|
15
|
+
* | 1 | 4 | p-1, gap-1 | Tight padding |
|
|
16
|
+
* | 2 | 8 | p-2, gap-2 | Default gaps |
|
|
17
|
+
* | 3 | 12 | px-3, py-3 | Inline padding |
|
|
18
|
+
* | 4 | 16 | p-4, gap-4 | Content padding |
|
|
19
|
+
* | 5 | 20 | py-5 | Section padding |
|
|
20
|
+
* | 6 | 24 | gap-6, px-6 | Large gaps |
|
|
21
|
+
* | 7 | 28 | gap-7 | Chat message gap (Flow) |
|
|
22
|
+
* | 8 | 32 | gap-8 | Section gaps |
|
|
23
|
+
* | 10 | 40 | px-10 | Page horizontal |
|
|
24
|
+
*/
|
|
25
|
+
export declare const spacing: {
|
|
26
|
+
readonly 0: 0;
|
|
27
|
+
readonly 1: 4;
|
|
28
|
+
readonly 2: 8;
|
|
29
|
+
readonly 3: 12;
|
|
30
|
+
readonly 4: 16;
|
|
31
|
+
readonly 5: 20;
|
|
32
|
+
readonly 6: 24;
|
|
33
|
+
readonly 7: 28;
|
|
34
|
+
readonly 8: 32;
|
|
35
|
+
readonly 10: 40;
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* Fractional / half-unit spacing used in templates.
|
|
39
|
+
*
|
|
40
|
+
* | Token | px | Tailwind | Usage |
|
|
41
|
+
* |-------|-----|-----------|-------------------------------|
|
|
42
|
+
* | 0.5 | 2 | gap-0.5 | Tight gaps |
|
|
43
|
+
* | 2.5 | 10 | pt-2.5 | Node card padding, toolbar |
|
|
44
|
+
*/
|
|
45
|
+
export declare const spacingHalf: {
|
|
46
|
+
readonly '0.5': 2;
|
|
47
|
+
readonly '2.5': 10;
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
* Arbitrary spacing values used in Future templates.
|
|
51
|
+
*
|
|
52
|
+
* | Token | px | Usage |
|
|
53
|
+
* |-------|------|----------------------------------|
|
|
54
|
+
* | 15 | 15 | gap-[15px] (Flow node) |
|
|
55
|
+
* | 18 | 18 | gap-[18px], pt-[18px] (Delegate) |
|
|
56
|
+
* | 20 | 20 | mt-20 (Delegate) |
|
|
57
|
+
* | 37 | 37 | gap-[37px] (Delegate) |
|
|
58
|
+
* | 60 | 60 | Panel icon rail (60×60px) |
|
|
59
|
+
* | 78 | 78 | min-h-[78px] (Delegate) |
|
|
60
|
+
* | 124 | 124 | min-h-[124px] (Delegate) |
|
|
61
|
+
* | 360 | 360 | Flow node size (360×360px) |
|
|
62
|
+
* | 420 | 420 | Flow expanded panel width |
|
|
63
|
+
* | 680 | 680 | max-w-[680px] (properties bar) |
|
|
64
|
+
* | 800 | 800 | max-w-[800px] (Delegate) |
|
|
65
|
+
* | 930 | 930 | Properties expanded panel width |
|
|
66
|
+
*/
|
|
67
|
+
export declare const spacingArbitrary: {
|
|
68
|
+
readonly 15: 15;
|
|
69
|
+
readonly 18: 18;
|
|
70
|
+
readonly 20: 20;
|
|
71
|
+
readonly 37: 37;
|
|
72
|
+
readonly 60: 60;
|
|
73
|
+
readonly 78: 78;
|
|
74
|
+
readonly 124: 124;
|
|
75
|
+
readonly 360: 360;
|
|
76
|
+
readonly 420: 420;
|
|
77
|
+
readonly 680: 680;
|
|
78
|
+
readonly 800: 800;
|
|
79
|
+
readonly 930: 930;
|
|
80
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
const spacing = {
|
|
2
|
+
0: 0,
|
|
3
|
+
1: 4,
|
|
4
|
+
2: 8,
|
|
5
|
+
3: 12,
|
|
6
|
+
4: 16,
|
|
7
|
+
5: 20,
|
|
8
|
+
6: 24,
|
|
9
|
+
7: 28,
|
|
10
|
+
8: 32,
|
|
11
|
+
10: 40
|
|
12
|
+
};
|
|
13
|
+
const spacingHalf = {
|
|
14
|
+
'0.5': 2,
|
|
15
|
+
'2.5': 10
|
|
16
|
+
};
|
|
17
|
+
const spacingArbitrary = {
|
|
18
|
+
15: 15,
|
|
19
|
+
18: 18,
|
|
20
|
+
20: 20,
|
|
21
|
+
37: 37,
|
|
22
|
+
60: 60,
|
|
23
|
+
78: 78,
|
|
24
|
+
124: 124,
|
|
25
|
+
360: 360,
|
|
26
|
+
420: 420,
|
|
27
|
+
680: 680,
|
|
28
|
+
800: 800,
|
|
29
|
+
930: 930
|
|
30
|
+
};
|
|
31
|
+
export { spacing, spacingArbitrary, spacingHalf };
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __webpack_require__ = {};
|
|
3
|
+
(()=>{
|
|
4
|
+
__webpack_require__.d = (exports1, definition)=>{
|
|
5
|
+
for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
get: definition[key]
|
|
8
|
+
});
|
|
9
|
+
};
|
|
10
|
+
})();
|
|
11
|
+
(()=>{
|
|
12
|
+
__webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
|
|
13
|
+
})();
|
|
14
|
+
(()=>{
|
|
15
|
+
__webpack_require__.r = (exports1)=>{
|
|
16
|
+
if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
|
|
17
|
+
value: 'Module'
|
|
18
|
+
});
|
|
19
|
+
Object.defineProperty(exports1, '__esModule', {
|
|
20
|
+
value: true
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
})();
|
|
24
|
+
var __webpack_exports__ = {};
|
|
25
|
+
__webpack_require__.r(__webpack_exports__);
|
|
26
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
27
|
+
borderColor: ()=>borderColor,
|
|
28
|
+
borderColorClass: ()=>borderColorClass,
|
|
29
|
+
borderWidth: ()=>borderWidth
|
|
30
|
+
});
|
|
31
|
+
const borderWidth = {
|
|
32
|
+
none: 0,
|
|
33
|
+
default: 1
|
|
34
|
+
};
|
|
35
|
+
const borderColor = {
|
|
36
|
+
subtle: '#27272a',
|
|
37
|
+
default: '#3f3f46',
|
|
38
|
+
muted: '#18181b',
|
|
39
|
+
strong: '#e4e4e7',
|
|
40
|
+
hover: '#52525b'
|
|
41
|
+
};
|
|
42
|
+
const borderColorClass = {
|
|
43
|
+
subtle: 'border-zinc-800',
|
|
44
|
+
default: 'border-zinc-700',
|
|
45
|
+
muted: 'border-zinc-900',
|
|
46
|
+
strong: 'border-zinc-200',
|
|
47
|
+
hover: 'border-zinc-600'
|
|
48
|
+
};
|
|
49
|
+
exports.borderColor = __webpack_exports__.borderColor;
|
|
50
|
+
exports.borderColorClass = __webpack_exports__.borderColorClass;
|
|
51
|
+
exports.borderWidth = __webpack_exports__.borderWidth;
|
|
52
|
+
for(var __webpack_i__ in __webpack_exports__)if (-1 === [
|
|
53
|
+
"borderColor",
|
|
54
|
+
"borderColorClass",
|
|
55
|
+
"borderWidth"
|
|
56
|
+
].indexOf(__webpack_i__)) exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
|
|
57
|
+
Object.defineProperty(exports, '__esModule', {
|
|
58
|
+
value: true
|
|
59
|
+
});
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Apollo Future — Stroke Tokens
|
|
3
|
+
*
|
|
4
|
+
* Single source of truth for border widths and border colors
|
|
5
|
+
* in the Future design language.
|
|
6
|
+
* Includes values actively used in both Delegate and Flow templates.
|
|
7
|
+
*
|
|
8
|
+
* For border radius tokens, see `radius.ts`.
|
|
9
|
+
*/
|
|
10
|
+
/**
|
|
11
|
+
* Border width scale in pixels.
|
|
12
|
+
*
|
|
13
|
+
* | Token | px | Tailwind |
|
|
14
|
+
* |---------|----|----------------|
|
|
15
|
+
* | none | 0 | border-0 |
|
|
16
|
+
* | default | 1 | border |
|
|
17
|
+
*/
|
|
18
|
+
export declare const borderWidth: {
|
|
19
|
+
readonly none: 0;
|
|
20
|
+
readonly default: 1;
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Semantic border color tokens mapped to Tailwind Zinc palette.
|
|
24
|
+
*
|
|
25
|
+
* | Token | Hex | Tailwind | Usage |
|
|
26
|
+
* |----------|---------|-------------------|--------------------------------|
|
|
27
|
+
* | subtle | #27272a | border-zinc-800 | Dividers, card borders |
|
|
28
|
+
* | default | #3f3f46 | border-zinc-700 | Default component borders |
|
|
29
|
+
* | muted | #18181b | border-zinc-900 | Subdued container borders |
|
|
30
|
+
* | strong | #e4e4e7 | border-zinc-200 | High-contrast borders on dark |
|
|
31
|
+
* | hover | #52525b | border-zinc-600 | Hover state borders |
|
|
32
|
+
*/
|
|
33
|
+
export declare const borderColor: {
|
|
34
|
+
readonly subtle: "#27272a";
|
|
35
|
+
readonly default: "#3f3f46";
|
|
36
|
+
readonly muted: "#18181b";
|
|
37
|
+
readonly strong: "#e4e4e7";
|
|
38
|
+
readonly hover: "#52525b";
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* Tailwind class mapping for quick reference.
|
|
42
|
+
*/
|
|
43
|
+
export declare const borderColorClass: {
|
|
44
|
+
readonly subtle: "border-zinc-800";
|
|
45
|
+
readonly default: "border-zinc-700";
|
|
46
|
+
readonly muted: "border-zinc-900";
|
|
47
|
+
readonly strong: "border-zinc-200";
|
|
48
|
+
readonly hover: "border-zinc-600";
|
|
49
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
const borderWidth = {
|
|
2
|
+
none: 0,
|
|
3
|
+
default: 1
|
|
4
|
+
};
|
|
5
|
+
const borderColor = {
|
|
6
|
+
subtle: '#27272a',
|
|
7
|
+
default: '#3f3f46',
|
|
8
|
+
muted: '#18181b',
|
|
9
|
+
strong: '#e4e4e7',
|
|
10
|
+
hover: '#52525b'
|
|
11
|
+
};
|
|
12
|
+
const borderColorClass = {
|
|
13
|
+
subtle: 'border-zinc-800',
|
|
14
|
+
default: 'border-zinc-700',
|
|
15
|
+
muted: 'border-zinc-900',
|
|
16
|
+
strong: 'border-zinc-200',
|
|
17
|
+
hover: 'border-zinc-600'
|
|
18
|
+
};
|
|
19
|
+
export { borderColor, borderColorClass, borderWidth };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __webpack_require__ = {};
|
|
3
|
+
(()=>{
|
|
4
|
+
__webpack_require__.r = (exports1)=>{
|
|
5
|
+
if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
|
|
6
|
+
value: 'Module'
|
|
7
|
+
});
|
|
8
|
+
Object.defineProperty(exports1, '__esModule', {
|
|
9
|
+
value: true
|
|
10
|
+
});
|
|
11
|
+
};
|
|
12
|
+
})();
|
|
13
|
+
var __webpack_exports__ = {};
|
|
14
|
+
__webpack_require__.r(__webpack_exports__);
|
|
15
|
+
for(var __webpack_i__ in __webpack_exports__)exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
|
|
16
|
+
Object.defineProperty(exports, '__esModule', {
|
|
17
|
+
value: true
|
|
18
|
+
});
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Apollo Future — Shared Types
|
|
3
|
+
*
|
|
4
|
+
* Centralised type definitions used across all Future design-system templates
|
|
5
|
+
* and components. Import from this file to keep theme-related types consistent.
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* All supported theme modes for Future templates.
|
|
9
|
+
*
|
|
10
|
+
* - `'dark'` — Future dark theme (default)
|
|
11
|
+
* - `'light'` — Future light theme
|
|
12
|
+
* - `'core-dark'` — Core dark theme (apollo-core design language)
|
|
13
|
+
* - `'core-light'` — Core light theme (apollo-core design language)
|
|
14
|
+
* - `'wireframe'` — Demo: low-fidelity wireframe theme (may be removed)
|
|
15
|
+
* - `'vertex'` — Demo: Apollo Vertex dark palette (may be removed)
|
|
16
|
+
* - `'canvas'` — Demo: Apollo React / MUI dark palette (may be removed)
|
|
17
|
+
*/
|
|
18
|
+
export type FutureTheme = 'dark' | 'light' | 'core-dark' | 'core-light' | 'wireframe' | 'vertex' | 'canvas';
|
|
File without changes
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __webpack_require__ = {};
|
|
3
|
+
(()=>{
|
|
4
|
+
__webpack_require__.d = (exports1, definition)=>{
|
|
5
|
+
for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
get: definition[key]
|
|
8
|
+
});
|
|
9
|
+
};
|
|
10
|
+
})();
|
|
11
|
+
(()=>{
|
|
12
|
+
__webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
|
|
13
|
+
})();
|
|
14
|
+
(()=>{
|
|
15
|
+
__webpack_require__.r = (exports1)=>{
|
|
16
|
+
if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
|
|
17
|
+
value: 'Module'
|
|
18
|
+
});
|
|
19
|
+
Object.defineProperty(exports1, '__esModule', {
|
|
20
|
+
value: true
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
})();
|
|
24
|
+
var __webpack_exports__ = {};
|
|
25
|
+
__webpack_require__.r(__webpack_exports__);
|
|
26
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
27
|
+
fontFamily: ()=>fontFamily,
|
|
28
|
+
fontSize: ()=>fontSize,
|
|
29
|
+
fontWeight: ()=>fontWeight,
|
|
30
|
+
letterSpacing: ()=>letterSpacing,
|
|
31
|
+
lineHeight: ()=>lineHeight
|
|
32
|
+
});
|
|
33
|
+
const fontFamily = {
|
|
34
|
+
base: "'Inter', system-ui, -apple-system, sans-serif",
|
|
35
|
+
monospace: "'JetBrains Mono', 'SF Mono', 'Fira Code', 'Fira Mono', Menlo, monospace",
|
|
36
|
+
numeric: "'Inter', system-ui, -apple-system, sans-serif",
|
|
37
|
+
sans: "'Inter', system-ui, -apple-system, sans-serif"
|
|
38
|
+
};
|
|
39
|
+
const fontSize = {
|
|
40
|
+
xs: 12,
|
|
41
|
+
sm: 14,
|
|
42
|
+
md: 15,
|
|
43
|
+
base: 16,
|
|
44
|
+
xl: 20,
|
|
45
|
+
'4xl': 40
|
|
46
|
+
};
|
|
47
|
+
const fontWeight = {
|
|
48
|
+
normal: 400,
|
|
49
|
+
medium: 500,
|
|
50
|
+
semibold: 600,
|
|
51
|
+
bold: 700
|
|
52
|
+
};
|
|
53
|
+
const lineHeight = {
|
|
54
|
+
snug: 20,
|
|
55
|
+
normal: 24,
|
|
56
|
+
loose: 36
|
|
57
|
+
};
|
|
58
|
+
const letterSpacing = {
|
|
59
|
+
tight: '-0.8px',
|
|
60
|
+
snug: '-0.6px',
|
|
61
|
+
normal: '-0.4px',
|
|
62
|
+
subtle: '-0.35px',
|
|
63
|
+
fine: '-0.3px'
|
|
64
|
+
};
|
|
65
|
+
exports.fontFamily = __webpack_exports__.fontFamily;
|
|
66
|
+
exports.fontSize = __webpack_exports__.fontSize;
|
|
67
|
+
exports.fontWeight = __webpack_exports__.fontWeight;
|
|
68
|
+
exports.letterSpacing = __webpack_exports__.letterSpacing;
|
|
69
|
+
exports.lineHeight = __webpack_exports__.lineHeight;
|
|
70
|
+
for(var __webpack_i__ in __webpack_exports__)if (-1 === [
|
|
71
|
+
"fontFamily",
|
|
72
|
+
"fontSize",
|
|
73
|
+
"fontWeight",
|
|
74
|
+
"letterSpacing",
|
|
75
|
+
"lineHeight"
|
|
76
|
+
].indexOf(__webpack_i__)) exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
|
|
77
|
+
Object.defineProperty(exports, '__esModule', {
|
|
78
|
+
value: true
|
|
79
|
+
});
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Apollo Future — Typography Tokens
|
|
3
|
+
*
|
|
4
|
+
* Single source of truth for all typography in the Future design language.
|
|
5
|
+
* Includes values actively used in both Delegate and Flow templates.
|
|
6
|
+
* Templates and components should import from this file rather than
|
|
7
|
+
* hard-coding font values.
|
|
8
|
+
*/
|
|
9
|
+
export declare const fontFamily: {
|
|
10
|
+
/** Primary sans-serif stack — used for all UI text */
|
|
11
|
+
readonly base: "'Inter', system-ui, -apple-system, sans-serif";
|
|
12
|
+
/** Monospace stack — used for code, data, and technical content */
|
|
13
|
+
readonly monospace: "'JetBrains Mono', 'SF Mono', 'Fira Code', 'Fira Mono', Menlo, monospace";
|
|
14
|
+
/** Numeric stack — used for tabular numbers and data displays */
|
|
15
|
+
readonly numeric: "'Inter', system-ui, -apple-system, sans-serif";
|
|
16
|
+
/** @deprecated Use `fontFamily.base` instead */
|
|
17
|
+
readonly sans: "'Inter', system-ui, -apple-system, sans-serif";
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* Font size scale in pixels.
|
|
21
|
+
*
|
|
22
|
+
* | Token | px | Tailwind |
|
|
23
|
+
* |--------|-----|----------------|
|
|
24
|
+
* | xs | 12 | text-xs |
|
|
25
|
+
* | sm | 14 | text-sm |
|
|
26
|
+
* | md | 15 | text-[15px] |
|
|
27
|
+
* | base | 16 | text-base |
|
|
28
|
+
* | xl | 20 | text-xl |
|
|
29
|
+
* | 4xl | 40 | text-[40px] |
|
|
30
|
+
*/
|
|
31
|
+
export declare const fontSize: {
|
|
32
|
+
readonly xs: 12;
|
|
33
|
+
readonly sm: 14;
|
|
34
|
+
readonly md: 15;
|
|
35
|
+
readonly base: 16;
|
|
36
|
+
readonly xl: 20;
|
|
37
|
+
readonly '4xl': 40;
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* Font weight scale.
|
|
41
|
+
*
|
|
42
|
+
* | Token | Value | Tailwind |
|
|
43
|
+
* |-----------|-------|-----------------|
|
|
44
|
+
* | normal | 400 | font-normal |
|
|
45
|
+
* | medium | 500 | font-medium |
|
|
46
|
+
* | semibold | 600 | font-semibold |
|
|
47
|
+
* | bold | 700 | font-bold |
|
|
48
|
+
*/
|
|
49
|
+
export declare const fontWeight: {
|
|
50
|
+
readonly normal: 400;
|
|
51
|
+
readonly medium: 500;
|
|
52
|
+
readonly semibold: 600;
|
|
53
|
+
readonly bold: 700;
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* Line height scale in pixels.
|
|
57
|
+
*
|
|
58
|
+
* | Token | px | Tailwind |
|
|
59
|
+
* |----------|-----|-------------|
|
|
60
|
+
* | snug | 20 | leading-5 |
|
|
61
|
+
* | normal | 24 | leading-6 |
|
|
62
|
+
* | loose | 36 | leading-9 |
|
|
63
|
+
*/
|
|
64
|
+
export declare const lineHeight: {
|
|
65
|
+
readonly snug: 20;
|
|
66
|
+
readonly normal: 24;
|
|
67
|
+
readonly loose: 36;
|
|
68
|
+
};
|
|
69
|
+
/**
|
|
70
|
+
* Letter spacing tokens in pixels.
|
|
71
|
+
*
|
|
72
|
+
* | Token | Value | Tailwind | Usage |
|
|
73
|
+
* |----------|---------|-----------------------|----------------------------|
|
|
74
|
+
* | tight | -0.8px | tracking-[-0.8px] | Large headings (40px) |
|
|
75
|
+
* | snug | -0.6px | tracking-[-0.6px] | Panel tab titles |
|
|
76
|
+
* | normal | -0.4px | tracking-[-0.4px] | Primary text (16px) |
|
|
77
|
+
* | subtle | -0.35px | tracking-[-0.35px] | Subtitles, labels (14px) |
|
|
78
|
+
* | fine | -0.3px | tracking-[-0.3px] | Small labels (12px) |
|
|
79
|
+
*/
|
|
80
|
+
export declare const letterSpacing: {
|
|
81
|
+
readonly tight: "-0.8px";
|
|
82
|
+
readonly snug: "-0.6px";
|
|
83
|
+
readonly normal: "-0.4px";
|
|
84
|
+
readonly subtle: "-0.35px";
|
|
85
|
+
readonly fine: "-0.3px";
|
|
86
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
const fontFamily = {
|
|
2
|
+
base: "'Inter', system-ui, -apple-system, sans-serif",
|
|
3
|
+
monospace: "'JetBrains Mono', 'SF Mono', 'Fira Code', 'Fira Mono', Menlo, monospace",
|
|
4
|
+
numeric: "'Inter', system-ui, -apple-system, sans-serif",
|
|
5
|
+
sans: "'Inter', system-ui, -apple-system, sans-serif"
|
|
6
|
+
};
|
|
7
|
+
const fontSize = {
|
|
8
|
+
xs: 12,
|
|
9
|
+
sm: 14,
|
|
10
|
+
md: 15,
|
|
11
|
+
base: 16,
|
|
12
|
+
xl: 20,
|
|
13
|
+
'4xl': 40
|
|
14
|
+
};
|
|
15
|
+
const fontWeight = {
|
|
16
|
+
normal: 400,
|
|
17
|
+
medium: 500,
|
|
18
|
+
semibold: 600,
|
|
19
|
+
bold: 700
|
|
20
|
+
};
|
|
21
|
+
const lineHeight = {
|
|
22
|
+
snug: 20,
|
|
23
|
+
normal: 24,
|
|
24
|
+
loose: 36
|
|
25
|
+
};
|
|
26
|
+
const letterSpacing = {
|
|
27
|
+
tight: '-0.8px',
|
|
28
|
+
snug: '-0.6px',
|
|
29
|
+
normal: '-0.4px',
|
|
30
|
+
subtle: '-0.35px',
|
|
31
|
+
fine: '-0.3px'
|
|
32
|
+
};
|
|
33
|
+
export { fontFamily, fontSize, fontWeight, letterSpacing, lineHeight };
|