@uipath/apollo-wind 2.33.0 → 2.33.2
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.
|
@@ -29,7 +29,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
29
29
|
});
|
|
30
30
|
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
31
31
|
const external_class_variance_authority_namespaceObject = require("class-variance-authority");
|
|
32
|
-
require("react");
|
|
32
|
+
const external_react_namespaceObject = require("react");
|
|
33
33
|
const index_cjs_namespaceObject = require("../../lib/index.cjs");
|
|
34
34
|
const badgeVariants = (0, external_class_variance_authority_namespaceObject.cva)('inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2', {
|
|
35
35
|
variants: {
|
|
@@ -48,14 +48,14 @@ const badgeVariants = (0, external_class_variance_authority_namespaceObject.cva)
|
|
|
48
48
|
variant: 'default'
|
|
49
49
|
}
|
|
50
50
|
});
|
|
51
|
-
|
|
52
|
-
|
|
51
|
+
const Badge = /*#__PURE__*/ external_react_namespaceObject.forwardRef(({ className, variant, ...props }, ref)=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
|
|
52
|
+
ref: ref,
|
|
53
53
|
className: (0, index_cjs_namespaceObject.cn)(badgeVariants({
|
|
54
54
|
variant
|
|
55
55
|
}), className),
|
|
56
56
|
...props
|
|
57
|
-
});
|
|
58
|
-
|
|
57
|
+
}));
|
|
58
|
+
Badge.displayName = 'Badge';
|
|
59
59
|
exports.Badge = __webpack_exports__.Badge;
|
|
60
60
|
exports.badgeVariants = __webpack_exports__.badgeVariants;
|
|
61
61
|
for(var __rspack_i in __webpack_exports__)if (-1 === [
|
|
@@ -5,5 +5,5 @@ declare const badgeVariants: (props?: ({
|
|
|
5
5
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
6
6
|
export interface BadgeProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
|
|
7
7
|
}
|
|
8
|
-
declare
|
|
8
|
+
declare const Badge: React.ForwardRefExoticComponent<BadgeProps & React.RefAttributes<HTMLDivElement>>;
|
|
9
9
|
export { Badge, badgeVariants };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { cva } from "class-variance-authority";
|
|
3
|
-
import "react";
|
|
3
|
+
import { forwardRef } from "react";
|
|
4
4
|
import { cn } from "../../lib/index.js";
|
|
5
5
|
const badgeVariants = cva('inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2', {
|
|
6
6
|
variants: {
|
|
@@ -19,12 +19,12 @@ const badgeVariants = cva('inline-flex items-center rounded-full border px-2.5 p
|
|
|
19
19
|
variant: 'default'
|
|
20
20
|
}
|
|
21
21
|
});
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
const Badge = /*#__PURE__*/ forwardRef(({ className, variant, ...props }, ref)=>/*#__PURE__*/ jsx("div", {
|
|
23
|
+
ref: ref,
|
|
24
24
|
className: cn(badgeVariants({
|
|
25
25
|
variant
|
|
26
26
|
}), className),
|
|
27
27
|
...props
|
|
28
|
-
});
|
|
29
|
-
|
|
28
|
+
}));
|
|
29
|
+
Badge.displayName = 'Badge';
|
|
30
30
|
export { Badge, badgeVariants };
|
|
@@ -33,7 +33,7 @@ var __webpack_modules__ = {
|
|
|
33
33
|
"@/components/ui/card" (module) {
|
|
34
34
|
module.exports = require("./card.cjs");
|
|
35
35
|
},
|
|
36
|
-
"
|
|
36
|
+
"@/components/ui/checkbox" (module) {
|
|
37
37
|
module.exports = require("./checkbox.cjs");
|
|
38
38
|
},
|
|
39
39
|
"./collapsible" (module) {
|
|
@@ -42,7 +42,7 @@ var __webpack_modules__ = {
|
|
|
42
42
|
"./combobox" (module) {
|
|
43
43
|
module.exports = require("./combobox.cjs");
|
|
44
44
|
},
|
|
45
|
-
"
|
|
45
|
+
"@/components/ui/command" (module) {
|
|
46
46
|
module.exports = require("./command.cjs");
|
|
47
47
|
},
|
|
48
48
|
"./context-menu" (module) {
|
|
@@ -57,13 +57,13 @@ var __webpack_modules__ = {
|
|
|
57
57
|
"./datetime-picker" (module) {
|
|
58
58
|
module.exports = require("./datetime-picker.cjs");
|
|
59
59
|
},
|
|
60
|
-
"
|
|
60
|
+
"./dialog" (module) {
|
|
61
61
|
module.exports = require("./dialog.cjs");
|
|
62
62
|
},
|
|
63
|
-
"
|
|
63
|
+
"@/components/ui/dropdown-menu" (module) {
|
|
64
64
|
module.exports = require("./dropdown-menu.cjs");
|
|
65
65
|
},
|
|
66
|
-
"
|
|
66
|
+
"@/components/ui/editable-cell" (module) {
|
|
67
67
|
module.exports = require("./editable-cell.cjs");
|
|
68
68
|
},
|
|
69
69
|
"./empty-state" (module) {
|
|
@@ -81,7 +81,7 @@ var __webpack_modules__ = {
|
|
|
81
81
|
"./input" (module) {
|
|
82
82
|
module.exports = require("./input.cjs");
|
|
83
83
|
},
|
|
84
|
-
"
|
|
84
|
+
"@/components/ui/label" (module) {
|
|
85
85
|
module.exports = require("./label.cjs");
|
|
86
86
|
},
|
|
87
87
|
"./layout" (module) {
|
|
@@ -144,19 +144,19 @@ var __webpack_modules__ = {
|
|
|
144
144
|
"./switch" (module) {
|
|
145
145
|
module.exports = require("./switch.cjs");
|
|
146
146
|
},
|
|
147
|
-
"
|
|
147
|
+
"@/components/ui/table" (module) {
|
|
148
148
|
module.exports = require("./table.cjs");
|
|
149
149
|
},
|
|
150
150
|
"./tabs" (module) {
|
|
151
151
|
module.exports = require("./tabs.cjs");
|
|
152
152
|
},
|
|
153
|
-
"
|
|
153
|
+
"@/components/ui/textarea" (module) {
|
|
154
154
|
module.exports = require("./textarea.cjs");
|
|
155
155
|
},
|
|
156
156
|
"./toggle-group" (module) {
|
|
157
157
|
module.exports = require("./toggle-group.cjs");
|
|
158
158
|
},
|
|
159
|
-
"
|
|
159
|
+
"@/components/ui/toggle" (module) {
|
|
160
160
|
module.exports = require("./toggle.cjs");
|
|
161
161
|
},
|
|
162
162
|
"./tooltip" (module) {
|
|
@@ -289,7 +289,7 @@ var __webpack_exports__ = {};
|
|
|
289
289
|
"default"
|
|
290
290
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_card__rspack_import_10[__rspack_import_key];
|
|
291
291
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
292
|
-
var _checkbox__rspack_import_11 = __webpack_require__("
|
|
292
|
+
var _checkbox__rspack_import_11 = __webpack_require__("@/components/ui/checkbox");
|
|
293
293
|
var __rspack_reexport = {};
|
|
294
294
|
for(const __rspack_import_key in _checkbox__rspack_import_11)if ([
|
|
295
295
|
"TreeView",
|
|
@@ -310,7 +310,7 @@ var __webpack_exports__ = {};
|
|
|
310
310
|
"default"
|
|
311
311
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_combobox__rspack_import_13[__rspack_import_key];
|
|
312
312
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
313
|
-
var _command__rspack_import_14 = __webpack_require__("
|
|
313
|
+
var _command__rspack_import_14 = __webpack_require__("@/components/ui/command");
|
|
314
314
|
var __rspack_reexport = {};
|
|
315
315
|
for(const __rspack_import_key in _command__rspack_import_14)if ([
|
|
316
316
|
"TreeView",
|
|
@@ -345,21 +345,21 @@ var __webpack_exports__ = {};
|
|
|
345
345
|
"default"
|
|
346
346
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_datetime_picker__rspack_import_18[__rspack_import_key];
|
|
347
347
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
348
|
-
var _dialog__rspack_import_19 = __webpack_require__("
|
|
348
|
+
var _dialog__rspack_import_19 = __webpack_require__("./dialog");
|
|
349
349
|
var __rspack_reexport = {};
|
|
350
350
|
for(const __rspack_import_key in _dialog__rspack_import_19)if ([
|
|
351
351
|
"TreeView",
|
|
352
352
|
"default"
|
|
353
353
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_dialog__rspack_import_19[__rspack_import_key];
|
|
354
354
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
355
|
-
var _dropdown_menu__rspack_import_20 = __webpack_require__("
|
|
355
|
+
var _dropdown_menu__rspack_import_20 = __webpack_require__("@/components/ui/dropdown-menu");
|
|
356
356
|
var __rspack_reexport = {};
|
|
357
357
|
for(const __rspack_import_key in _dropdown_menu__rspack_import_20)if ([
|
|
358
358
|
"TreeView",
|
|
359
359
|
"default"
|
|
360
360
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_dropdown_menu__rspack_import_20[__rspack_import_key];
|
|
361
361
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
362
|
-
var _editable_cell__rspack_import_21 = __webpack_require__("
|
|
362
|
+
var _editable_cell__rspack_import_21 = __webpack_require__("@/components/ui/editable-cell");
|
|
363
363
|
var __rspack_reexport = {};
|
|
364
364
|
for(const __rspack_import_key in _editable_cell__rspack_import_21)if ([
|
|
365
365
|
"TreeView",
|
|
@@ -401,7 +401,7 @@ var __webpack_exports__ = {};
|
|
|
401
401
|
"default"
|
|
402
402
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_input_group__rspack_import_26[__rspack_import_key];
|
|
403
403
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
404
|
-
var _label__rspack_import_27 = __webpack_require__("
|
|
404
|
+
var _label__rspack_import_27 = __webpack_require__("@/components/ui/label");
|
|
405
405
|
var __rspack_reexport = {};
|
|
406
406
|
for(const __rspack_import_key in _label__rspack_import_27)if ([
|
|
407
407
|
"TreeView",
|
|
@@ -548,7 +548,7 @@ var __webpack_exports__ = {};
|
|
|
548
548
|
"default"
|
|
549
549
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_switch__rspack_import_47[__rspack_import_key];
|
|
550
550
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
551
|
-
var _table__rspack_import_48 = __webpack_require__("
|
|
551
|
+
var _table__rspack_import_48 = __webpack_require__("@/components/ui/table");
|
|
552
552
|
var __rspack_reexport = {};
|
|
553
553
|
for(const __rspack_import_key in _table__rspack_import_48)if ([
|
|
554
554
|
"TreeView",
|
|
@@ -562,14 +562,14 @@ var __webpack_exports__ = {};
|
|
|
562
562
|
"default"
|
|
563
563
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_tabs__rspack_import_49[__rspack_import_key];
|
|
564
564
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
565
|
-
var _textarea__rspack_import_50 = __webpack_require__("
|
|
565
|
+
var _textarea__rspack_import_50 = __webpack_require__("@/components/ui/textarea");
|
|
566
566
|
var __rspack_reexport = {};
|
|
567
567
|
for(const __rspack_import_key in _textarea__rspack_import_50)if ([
|
|
568
568
|
"TreeView",
|
|
569
569
|
"default"
|
|
570
570
|
].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_textarea__rspack_import_50[__rspack_import_key];
|
|
571
571
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
572
|
-
var _toggle__rspack_import_51 = __webpack_require__("
|
|
572
|
+
var _toggle__rspack_import_51 = __webpack_require__("@/components/ui/toggle");
|
|
573
573
|
var __rspack_reexport = {};
|
|
574
574
|
for(const __rspack_import_key in _toggle__rspack_import_51)if ([
|
|
575
575
|
"TreeView",
|
package/dist/styles.css
CHANGED
|
@@ -6188,12 +6188,12 @@
|
|
|
6188
6188
|
}
|
|
6189
6189
|
}
|
|
6190
6190
|
.dark\:border-destructive {
|
|
6191
|
-
|
|
6191
|
+
&:is(.dark:not(.react-flow), .dark-hc, .future-dark, .dark:not(.react-flow) *, .dark-hc *, .future-dark *) {
|
|
6192
6192
|
border-color: var(--destructive);
|
|
6193
6193
|
}
|
|
6194
6194
|
}
|
|
6195
6195
|
.dark\:bg-green-900\/10 {
|
|
6196
|
-
|
|
6196
|
+
&:is(.dark:not(.react-flow), .dark-hc, .future-dark, .dark:not(.react-flow) *, .dark-hc *, .future-dark *) {
|
|
6197
6197
|
background-color: color-mix(in srgb, oklch(39.3% 0.095 152.535) 10%, transparent);
|
|
6198
6198
|
@supports (color: color-mix(in lab, red, red)) {
|
|
6199
6199
|
background-color: color-mix(in oklab, var(--color-green-900) 10%, transparent);
|
|
@@ -6201,12 +6201,12 @@
|
|
|
6201
6201
|
}
|
|
6202
6202
|
}
|
|
6203
6203
|
.dark\:text-green-400 {
|
|
6204
|
-
|
|
6204
|
+
&:is(.dark:not(.react-flow), .dark-hc, .future-dark, .dark:not(.react-flow) *, .dark-hc *, .future-dark *) {
|
|
6205
6205
|
color: var(--color-green-400);
|
|
6206
6206
|
}
|
|
6207
6207
|
}
|
|
6208
6208
|
.dark\:text-red-400 {
|
|
6209
|
-
|
|
6209
|
+
&:is(.dark:not(.react-flow), .dark-hc, .future-dark, .dark:not(.react-flow) *, .dark-hc *, .future-dark *) {
|
|
6210
6210
|
color: var(--color-red-400);
|
|
6211
6211
|
}
|
|
6212
6212
|
}
|
package/dist/tailwind.css
CHANGED
|
@@ -24,6 +24,19 @@
|
|
|
24
24
|
/* Variant active when the component is inside a Future Dark or Light theme */
|
|
25
25
|
@custom-variant future (:is(.future-dark, .future-light) &);
|
|
26
26
|
|
|
27
|
+
/* Apollo theming is class-driven (see apollo-core theme-variables.css), so
|
|
28
|
+
override Tailwind's default OS-media `dark` variant to match. Covers the
|
|
29
|
+
three apollo-core themes that are dark: .dark, .dark-hc, .future-dark.
|
|
30
|
+
The prototype-only .vertex / .canvas themes are deliberately left out;
|
|
31
|
+
they name a palette, not a mode, and are snapshots of the dark half of a
|
|
32
|
+
two-mode source, so they can't be assumed dark long-term.
|
|
33
|
+
|
|
34
|
+
The :not(.react-flow) exclusion mirrors the token selectors below, so a
|
|
35
|
+
ReactFlow wrapper's colorMode class can't flip `dark:` utilities while the
|
|
36
|
+
tokens around them stay on the host theme. Only .dark needs it, since
|
|
37
|
+
colorMode emits `light`/`dark` and never `dark-hc`/`future-dark`. */
|
|
38
|
+
@custom-variant dark (&:is(.dark:not(.react-flow), .dark-hc, .future-dark, .dark:not(.react-flow) *, .dark-hc *, .future-dark *));
|
|
39
|
+
|
|
27
40
|
/**
|
|
28
41
|
* Theme definitions
|
|
29
42
|
*
|