@uipath/apollo-wind 2.20.1 → 2.22.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/components/forms/metadata-form.cjs +67 -10
- package/dist/components/forms/metadata-form.d.ts +8 -1
- package/dist/components/forms/metadata-form.js +68 -11
- package/dist/components/ui/index.cjs +10 -10
- package/dist/editor-themes/codemirror.cjs +194 -0
- package/dist/editor-themes/codemirror.d.ts +128 -0
- package/dist/editor-themes/codemirror.js +145 -0
- package/dist/editor-themes/index.cjs +70 -0
- package/dist/editor-themes/index.d.ts +23 -0
- package/dist/editor-themes/index.js +3 -0
- package/dist/editor-themes/monaco.cjs +1052 -0
- package/dist/editor-themes/monaco.d.ts +830 -0
- package/dist/editor-themes/monaco.js +1003 -0
- package/dist/index.cjs +9 -13
- package/dist/index.d.ts +0 -2
- package/dist/index.js +1 -2
- package/dist/styles.css +80 -7
- package/package.json +13 -3
- package/dist/components/ui/code-block.cjs +0 -235
- package/dist/components/ui/code-block.d.ts +0 -48
- package/dist/components/ui/code-block.js +0 -201
- /package/dist/templates/{Experiments → Patterns}/ideas-AnimatedGradientText.d.ts +0 -0
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
const apolloFutureDarkCodeMirror = {
|
|
2
|
+
syntax: {
|
|
3
|
+
rest: '#a1a1aa',
|
|
4
|
+
comment: '#52525b',
|
|
5
|
+
punctuation: '#71717a',
|
|
6
|
+
keyword: '#22d3ee',
|
|
7
|
+
string: '#34d399',
|
|
8
|
+
number: '#fbbf24',
|
|
9
|
+
literal: '#a78bfa',
|
|
10
|
+
operator: '#22d3ee',
|
|
11
|
+
meta: '#71717a'
|
|
12
|
+
},
|
|
13
|
+
ui: {
|
|
14
|
+
background: '#18181b',
|
|
15
|
+
foreground: '#a1a1aa',
|
|
16
|
+
cursor: '#22d3ee',
|
|
17
|
+
selection: '#3f3f4666',
|
|
18
|
+
lineHighlight: '#27272a80',
|
|
19
|
+
lineNumber: '#52525b',
|
|
20
|
+
lineNumberActive: '#a1a1aa',
|
|
21
|
+
indentGuide: '#3f3f46',
|
|
22
|
+
matchingBracket: '#22d3ee'
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
const apolloFutureLightCodeMirror = {
|
|
26
|
+
syntax: {
|
|
27
|
+
rest: '#52525b',
|
|
28
|
+
comment: '#a1a1aa',
|
|
29
|
+
punctuation: '#71717a',
|
|
30
|
+
keyword: '#0e7490',
|
|
31
|
+
string: '#047857',
|
|
32
|
+
number: '#b45309',
|
|
33
|
+
literal: '#7c3aed',
|
|
34
|
+
operator: '#0e7490',
|
|
35
|
+
meta: '#71717a'
|
|
36
|
+
},
|
|
37
|
+
ui: {
|
|
38
|
+
background: '#f4f4f5',
|
|
39
|
+
foreground: '#52525b',
|
|
40
|
+
cursor: '#0891b2',
|
|
41
|
+
selection: '#d4d4d866',
|
|
42
|
+
lineHighlight: '#e4e4e780',
|
|
43
|
+
lineNumber: '#a1a1aa',
|
|
44
|
+
lineNumberActive: '#71717a',
|
|
45
|
+
indentGuide: '#d4d4d8',
|
|
46
|
+
matchingBracket: '#0891b2'
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
const apolloCoreDarkCodeMirror = {
|
|
50
|
+
syntax: {
|
|
51
|
+
rest: '#cfd8dd',
|
|
52
|
+
comment: '#526069',
|
|
53
|
+
punctuation: '#8a97a0',
|
|
54
|
+
keyword: '#66adff',
|
|
55
|
+
string: '#f25a8c',
|
|
56
|
+
number: '#6ecdb6',
|
|
57
|
+
literal: '#dc80db',
|
|
58
|
+
operator: '#66adff',
|
|
59
|
+
meta: '#8a97a0'
|
|
60
|
+
},
|
|
61
|
+
ui: {
|
|
62
|
+
background: '#182027',
|
|
63
|
+
foreground: '#cfd8dd',
|
|
64
|
+
cursor: '#66adff',
|
|
65
|
+
selection: '#37465266',
|
|
66
|
+
lineHighlight: '#27313980',
|
|
67
|
+
lineNumber: '#526069',
|
|
68
|
+
lineNumberActive: '#8a97a0',
|
|
69
|
+
indentGuide: '#374652',
|
|
70
|
+
matchingBracket: '#66adff'
|
|
71
|
+
}
|
|
72
|
+
};
|
|
73
|
+
const apolloCoreLightCodeMirror = {
|
|
74
|
+
syntax: {
|
|
75
|
+
rest: '#526069',
|
|
76
|
+
comment: '#a4b1b8',
|
|
77
|
+
punctuation: '#6b7882',
|
|
78
|
+
keyword: '#0067df',
|
|
79
|
+
string: '#d91153',
|
|
80
|
+
number: '#1e7f5a',
|
|
81
|
+
literal: '#b748b6',
|
|
82
|
+
operator: '#0067df',
|
|
83
|
+
meta: '#6b7882'
|
|
84
|
+
},
|
|
85
|
+
ui: {
|
|
86
|
+
background: '#ffffff',
|
|
87
|
+
foreground: '#526069',
|
|
88
|
+
cursor: '#0067df',
|
|
89
|
+
selection: '#e9f1fa',
|
|
90
|
+
lineHighlight: '#f4f5f780',
|
|
91
|
+
lineNumber: '#a4b1b8',
|
|
92
|
+
lineNumberActive: '#6b7882',
|
|
93
|
+
indentGuide: '#cfd8dd',
|
|
94
|
+
matchingBracket: '#0067df'
|
|
95
|
+
}
|
|
96
|
+
};
|
|
97
|
+
const apolloCoreDarkHCCodeMirror = {
|
|
98
|
+
syntax: {
|
|
99
|
+
rest: '#cfd8dd',
|
|
100
|
+
comment: '#526069',
|
|
101
|
+
punctuation: '#8a97a0',
|
|
102
|
+
keyword: '#badaff',
|
|
103
|
+
string: '#fd7da7',
|
|
104
|
+
number: '#6ecdb6',
|
|
105
|
+
literal: '#dc80db',
|
|
106
|
+
operator: '#badaff',
|
|
107
|
+
meta: '#8a97a0'
|
|
108
|
+
},
|
|
109
|
+
ui: {
|
|
110
|
+
background: '#182027',
|
|
111
|
+
foreground: '#cfd8dd',
|
|
112
|
+
cursor: '#badaff',
|
|
113
|
+
selection: '#37465266',
|
|
114
|
+
lineHighlight: '#27313980',
|
|
115
|
+
lineNumber: '#526069',
|
|
116
|
+
lineNumberActive: '#bbc7cd',
|
|
117
|
+
indentGuide: '#374652',
|
|
118
|
+
matchingBracket: '#badaff'
|
|
119
|
+
}
|
|
120
|
+
};
|
|
121
|
+
const apolloCoreLightHCCodeMirror = {
|
|
122
|
+
syntax: {
|
|
123
|
+
rest: '#374652',
|
|
124
|
+
comment: '#8a97a0',
|
|
125
|
+
punctuation: '#526069',
|
|
126
|
+
keyword: '#00489d',
|
|
127
|
+
string: '#a60e3f',
|
|
128
|
+
number: '#176245',
|
|
129
|
+
literal: '#8c338b',
|
|
130
|
+
operator: '#00489d',
|
|
131
|
+
meta: '#526069'
|
|
132
|
+
},
|
|
133
|
+
ui: {
|
|
134
|
+
background: '#ffffff',
|
|
135
|
+
foreground: '#374652',
|
|
136
|
+
cursor: '#00489d',
|
|
137
|
+
selection: '#e9f1fa',
|
|
138
|
+
lineHighlight: '#f4f5f780',
|
|
139
|
+
lineNumber: '#8a97a0',
|
|
140
|
+
lineNumberActive: '#526069',
|
|
141
|
+
indentGuide: '#cfd8dd',
|
|
142
|
+
matchingBracket: '#00489d'
|
|
143
|
+
}
|
|
144
|
+
};
|
|
145
|
+
export { apolloCoreDarkCodeMirror, apolloCoreDarkHCCodeMirror, apolloCoreLightCodeMirror, apolloCoreLightHCCodeMirror, apolloFutureDarkCodeMirror, apolloFutureLightCodeMirror };
|
|
@@ -0,0 +1,70 @@
|
|
|
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 ("u" > 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
|
+
apolloCoreDarkHCCodeMirror: ()=>external_codemirror_cjs_namespaceObject.apolloCoreDarkHCCodeMirror,
|
|
28
|
+
apolloCoreDarkHCMonaco: ()=>external_monaco_cjs_namespaceObject.apolloCoreDarkHCMonaco,
|
|
29
|
+
apolloCoreLightHCMonaco: ()=>external_monaco_cjs_namespaceObject.apolloCoreLightHCMonaco,
|
|
30
|
+
apolloCoreDarkCodeMirror: ()=>external_codemirror_cjs_namespaceObject.apolloCoreDarkCodeMirror,
|
|
31
|
+
apolloCoreLightHCCodeMirror: ()=>external_codemirror_cjs_namespaceObject.apolloCoreLightHCCodeMirror,
|
|
32
|
+
apolloFutureDarkMonaco: ()=>external_monaco_cjs_namespaceObject.apolloFutureDarkMonaco,
|
|
33
|
+
apolloCoreLightCodeMirror: ()=>external_codemirror_cjs_namespaceObject.apolloCoreLightCodeMirror,
|
|
34
|
+
apolloFutureDarkCodeMirror: ()=>external_codemirror_cjs_namespaceObject.apolloFutureDarkCodeMirror,
|
|
35
|
+
apolloCoreDarkMonaco: ()=>external_monaco_cjs_namespaceObject.apolloCoreDarkMonaco,
|
|
36
|
+
apolloCoreLightMonaco: ()=>external_monaco_cjs_namespaceObject.apolloCoreLightMonaco,
|
|
37
|
+
apolloFutureLightCodeMirror: ()=>external_codemirror_cjs_namespaceObject.apolloFutureLightCodeMirror,
|
|
38
|
+
apolloFutureLightMonaco: ()=>external_monaco_cjs_namespaceObject.apolloFutureLightMonaco
|
|
39
|
+
});
|
|
40
|
+
const external_codemirror_cjs_namespaceObject = require("./codemirror.cjs");
|
|
41
|
+
const external_monaco_cjs_namespaceObject = require("./monaco.cjs");
|
|
42
|
+
exports.apolloCoreDarkCodeMirror = __webpack_exports__.apolloCoreDarkCodeMirror;
|
|
43
|
+
exports.apolloCoreDarkHCCodeMirror = __webpack_exports__.apolloCoreDarkHCCodeMirror;
|
|
44
|
+
exports.apolloCoreDarkHCMonaco = __webpack_exports__.apolloCoreDarkHCMonaco;
|
|
45
|
+
exports.apolloCoreDarkMonaco = __webpack_exports__.apolloCoreDarkMonaco;
|
|
46
|
+
exports.apolloCoreLightCodeMirror = __webpack_exports__.apolloCoreLightCodeMirror;
|
|
47
|
+
exports.apolloCoreLightHCCodeMirror = __webpack_exports__.apolloCoreLightHCCodeMirror;
|
|
48
|
+
exports.apolloCoreLightHCMonaco = __webpack_exports__.apolloCoreLightHCMonaco;
|
|
49
|
+
exports.apolloCoreLightMonaco = __webpack_exports__.apolloCoreLightMonaco;
|
|
50
|
+
exports.apolloFutureDarkCodeMirror = __webpack_exports__.apolloFutureDarkCodeMirror;
|
|
51
|
+
exports.apolloFutureDarkMonaco = __webpack_exports__.apolloFutureDarkMonaco;
|
|
52
|
+
exports.apolloFutureLightCodeMirror = __webpack_exports__.apolloFutureLightCodeMirror;
|
|
53
|
+
exports.apolloFutureLightMonaco = __webpack_exports__.apolloFutureLightMonaco;
|
|
54
|
+
for(var __rspack_i in __webpack_exports__)if (-1 === [
|
|
55
|
+
"apolloCoreDarkCodeMirror",
|
|
56
|
+
"apolloCoreDarkHCCodeMirror",
|
|
57
|
+
"apolloCoreDarkHCMonaco",
|
|
58
|
+
"apolloCoreDarkMonaco",
|
|
59
|
+
"apolloCoreLightCodeMirror",
|
|
60
|
+
"apolloCoreLightHCCodeMirror",
|
|
61
|
+
"apolloCoreLightHCMonaco",
|
|
62
|
+
"apolloCoreLightMonaco",
|
|
63
|
+
"apolloFutureDarkCodeMirror",
|
|
64
|
+
"apolloFutureDarkMonaco",
|
|
65
|
+
"apolloFutureLightCodeMirror",
|
|
66
|
+
"apolloFutureLightMonaco"
|
|
67
|
+
].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
|
|
68
|
+
Object.defineProperty(exports, '__esModule', {
|
|
69
|
+
value: true
|
|
70
|
+
});
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Apollo editor theme adapters — Future, Core, and Core HC variants.
|
|
3
|
+
*
|
|
4
|
+
* These are pure data exports — no Monaco or CodeMirror imports required.
|
|
5
|
+
* Pass them directly into your editor's theme registration API.
|
|
6
|
+
*
|
|
7
|
+
* @example Monaco
|
|
8
|
+
* ```ts
|
|
9
|
+
* import * as monaco from 'monaco-editor';
|
|
10
|
+
* import { apolloFutureDarkMonaco } from '@uipath/apollo-wind/editor-themes';
|
|
11
|
+
* monaco.editor.defineTheme('apollo-future-dark', apolloFutureDarkMonaco);
|
|
12
|
+
* ```
|
|
13
|
+
*
|
|
14
|
+
* @example CodeMirror v6
|
|
15
|
+
* ```ts
|
|
16
|
+
* import { apolloFutureDarkCodeMirror } from '@uipath/apollo-wind/editor-themes';
|
|
17
|
+
* // Use apolloFutureDarkCodeMirror.syntax and apolloFutureDarkCodeMirror.ui
|
|
18
|
+
* // to build your HighlightStyle + EditorView.theme extensions.
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
export type { ApolloCodeMirrorTheme, CodeMirrorSyntaxTokens, CodeMirrorUiTokens, } from './codemirror';
|
|
22
|
+
export { apolloCoreDarkCodeMirror, apolloCoreDarkHCCodeMirror, apolloCoreLightCodeMirror, apolloCoreLightHCCodeMirror, apolloFutureDarkCodeMirror, apolloFutureLightCodeMirror, } from './codemirror';
|
|
23
|
+
export { apolloCoreDarkHCMonaco, apolloCoreDarkMonaco, apolloCoreLightHCMonaco, apolloCoreLightMonaco, apolloFutureDarkMonaco, apolloFutureLightMonaco, } from './monaco';
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { apolloCoreDarkCodeMirror, apolloCoreDarkHCCodeMirror, apolloCoreLightCodeMirror, apolloCoreLightHCCodeMirror, apolloFutureDarkCodeMirror, apolloFutureLightCodeMirror } from "./codemirror.js";
|
|
2
|
+
import { apolloCoreDarkHCMonaco, apolloCoreDarkMonaco, apolloCoreLightHCMonaco, apolloCoreLightMonaco, apolloFutureDarkMonaco, apolloFutureLightMonaco } from "./monaco.js";
|
|
3
|
+
export { apolloCoreDarkCodeMirror, apolloCoreDarkHCCodeMirror, apolloCoreDarkHCMonaco, apolloCoreDarkMonaco, apolloCoreLightCodeMirror, apolloCoreLightHCCodeMirror, apolloCoreLightHCMonaco, apolloCoreLightMonaco, apolloFutureDarkCodeMirror, apolloFutureDarkMonaco, apolloFutureLightCodeMirror, apolloFutureLightMonaco };
|