@uipath/apollo-wind 2.3.0-pr525.f6fa0d2 → 2.4.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.
@@ -15,7 +15,7 @@ var __webpack_modules__ = {
15
15
  "./avatar" (module) {
16
16
  module.exports = require("./avatar.cjs");
17
17
  },
18
- "@/components/ui/badge" (module) {
18
+ "./badge" (module) {
19
19
  module.exports = require("./badge.cjs");
20
20
  },
21
21
  "./breadcrumb" (module) {
@@ -33,10 +33,10 @@ var __webpack_modules__ = {
33
33
  "@/components/ui/card" (module) {
34
34
  module.exports = require("./card.cjs");
35
35
  },
36
- "@/components/ui/checkbox" (module) {
36
+ "./checkbox" (module) {
37
37
  module.exports = require("./checkbox.cjs");
38
38
  },
39
- "@/components/ui/collapsible" (module) {
39
+ "./collapsible" (module) {
40
40
  module.exports = require("./collapsible.cjs");
41
41
  },
42
42
  "./combobox" (module) {
@@ -45,7 +45,7 @@ var __webpack_modules__ = {
45
45
  "@/components/ui/command" (module) {
46
46
  module.exports = require("./command.cjs");
47
47
  },
48
- "@/components/ui/context-menu" (module) {
48
+ "./context-menu" (module) {
49
49
  module.exports = require("./context-menu.cjs");
50
50
  },
51
51
  "./data-table" (module) {
@@ -60,10 +60,10 @@ var __webpack_modules__ = {
60
60
  "@/components/ui/dialog" (module) {
61
61
  module.exports = require("./dialog.cjs");
62
62
  },
63
- "@/components/ui/dropdown-menu" (module) {
63
+ "./dropdown-menu" (module) {
64
64
  module.exports = require("./dropdown-menu.cjs");
65
65
  },
66
- "@/components/ui/editable-cell" (module) {
66
+ "./editable-cell" (module) {
67
67
  module.exports = require("./editable-cell.cjs");
68
68
  },
69
69
  "./empty-state" (module) {
@@ -72,13 +72,13 @@ var __webpack_modules__ = {
72
72
  "./file-upload" (module) {
73
73
  module.exports = require("./file-upload.cjs");
74
74
  },
75
- "@/components/ui/hover-card" (module) {
75
+ "./hover-card" (module) {
76
76
  module.exports = require("./hover-card.cjs");
77
77
  },
78
78
  "@/components/ui/input" (module) {
79
79
  module.exports = require("./input.cjs");
80
80
  },
81
- "@/components/ui/label" (module) {
81
+ "./label" (module) {
82
82
  module.exports = require("./label.cjs");
83
83
  },
84
84
  "./layout" (module) {
@@ -241,7 +241,7 @@ var __webpack_exports__ = {};
241
241
  "default"
242
242
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_avatar__rspack_import_4[__rspack_import_key];
243
243
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
244
- var _badge__rspack_import_5 = __webpack_require__("@/components/ui/badge");
244
+ var _badge__rspack_import_5 = __webpack_require__("./badge");
245
245
  var __rspack_reexport = {};
246
246
  for(const __rspack_import_key in _badge__rspack_import_5)if ([
247
247
  "TreeView",
@@ -283,14 +283,14 @@ var __webpack_exports__ = {};
283
283
  "default"
284
284
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_card__rspack_import_10[__rspack_import_key];
285
285
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
286
- var _checkbox__rspack_import_11 = __webpack_require__("@/components/ui/checkbox");
286
+ var _checkbox__rspack_import_11 = __webpack_require__("./checkbox");
287
287
  var __rspack_reexport = {};
288
288
  for(const __rspack_import_key in _checkbox__rspack_import_11)if ([
289
289
  "TreeView",
290
290
  "default"
291
291
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_checkbox__rspack_import_11[__rspack_import_key];
292
292
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
293
- var _collapsible__rspack_import_12 = __webpack_require__("@/components/ui/collapsible");
293
+ var _collapsible__rspack_import_12 = __webpack_require__("./collapsible");
294
294
  var __rspack_reexport = {};
295
295
  for(const __rspack_import_key in _collapsible__rspack_import_12)if ([
296
296
  "TreeView",
@@ -311,7 +311,7 @@ var __webpack_exports__ = {};
311
311
  "default"
312
312
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_command__rspack_import_14[__rspack_import_key];
313
313
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
314
- var _context_menu__rspack_import_15 = __webpack_require__("@/components/ui/context-menu");
314
+ var _context_menu__rspack_import_15 = __webpack_require__("./context-menu");
315
315
  var __rspack_reexport = {};
316
316
  for(const __rspack_import_key in _context_menu__rspack_import_15)if ([
317
317
  "TreeView",
@@ -346,14 +346,14 @@ var __webpack_exports__ = {};
346
346
  "default"
347
347
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_dialog__rspack_import_19[__rspack_import_key];
348
348
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
349
- var _dropdown_menu__rspack_import_20 = __webpack_require__("@/components/ui/dropdown-menu");
349
+ var _dropdown_menu__rspack_import_20 = __webpack_require__("./dropdown-menu");
350
350
  var __rspack_reexport = {};
351
351
  for(const __rspack_import_key in _dropdown_menu__rspack_import_20)if ([
352
352
  "TreeView",
353
353
  "default"
354
354
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_dropdown_menu__rspack_import_20[__rspack_import_key];
355
355
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
356
- var _editable_cell__rspack_import_21 = __webpack_require__("@/components/ui/editable-cell");
356
+ var _editable_cell__rspack_import_21 = __webpack_require__("./editable-cell");
357
357
  var __rspack_reexport = {};
358
358
  for(const __rspack_import_key in _editable_cell__rspack_import_21)if ([
359
359
  "TreeView",
@@ -374,7 +374,7 @@ var __webpack_exports__ = {};
374
374
  "default"
375
375
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_file_upload__rspack_import_23[__rspack_import_key];
376
376
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
377
- var _hover_card__rspack_import_24 = __webpack_require__("@/components/ui/hover-card");
377
+ var _hover_card__rspack_import_24 = __webpack_require__("./hover-card");
378
378
  var __rspack_reexport = {};
379
379
  for(const __rspack_import_key in _hover_card__rspack_import_24)if ([
380
380
  "TreeView",
@@ -388,7 +388,7 @@ var __webpack_exports__ = {};
388
388
  "default"
389
389
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_input__rspack_import_25[__rspack_import_key];
390
390
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
391
- var _label__rspack_import_26 = __webpack_require__("@/components/ui/label");
391
+ var _label__rspack_import_26 = __webpack_require__("./label");
392
392
  var __rspack_reexport = {};
393
393
  for(const __rspack_import_key in _label__rspack_import_26)if ([
394
394
  "TreeView",
package/dist/styles.css CHANGED
@@ -7807,6 +7807,24 @@ body.dark-hc, .apollo-design.dark-hc {
7807
7807
  --border: var(--border-dark-hc);
7808
7808
  color-scheme: dark;
7809
7809
  }
7810
+ @keyframes apollo-glow {
7811
+ 0% {
7812
+ box-shadow: 0 0 0 0 var(--_glow-shadow, currentColor);
7813
+ }
7814
+ 70% {
7815
+ box-shadow: 0 0 0 10px transparent;
7816
+ }
7817
+ 100% {
7818
+ box-shadow: 0 0 0 0 transparent;
7819
+ }
7820
+ }
7821
+ @media (prefers-reduced-motion: reduce) {
7822
+ .animate-glow {
7823
+ will-change: auto;
7824
+ animation: none;
7825
+ box-shadow: 0 0 0 5px var(--_glow-shadow, currentColor);
7826
+ }
7827
+ }
7810
7828
  :root {
7811
7829
  --radius: 0.75rem;
7812
7830
  }
@@ -8469,17 +8487,6 @@ body.canvas, .canvas {
8469
8487
  opacity: 0;
8470
8488
  }
8471
8489
  }
8472
- @keyframes apollo-glow {
8473
- 0% {
8474
- box-shadow: 0 0 0 0 var(--_glow-shadow, currentColor);
8475
- }
8476
- 70% {
8477
- box-shadow: 0 0 0 10px transparent;
8478
- }
8479
- 100% {
8480
- box-shadow: 0 0 0 0 transparent;
8481
- }
8482
- }
8483
8490
  .future-dark, .dark, .dark-hc {
8484
8491
  scrollbar-width: thin;
8485
8492
  scrollbar-color: var(--color-border) transparent;
package/dist/tailwind.css CHANGED
@@ -13,6 +13,8 @@
13
13
  @import "tailwindcss";
14
14
  @import "@uipath/apollo-core/tokens/css/theme-variables.css";
15
15
 
16
+ @import "./tailwind.utilities.css";
17
+
16
18
  :root {
17
19
  --radius: 0.75rem;
18
20
  /* 12px — base border-radius for buttons and UI elements */
@@ -1258,45 +1260,6 @@ body.canvas, .canvas {
1258
1260
  --animate-collapsible-up: collapsible-up 200ms ease-out;
1259
1261
  }
1260
1262
 
1261
- /* ============================================================================
1262
- * Glow — attention-drawing ring pulse
1263
- *
1264
- * `animate-glow` drives an expanding box-shadow ring around any element.
1265
- * The color and intensity are driven by CSS variables so the same utility
1266
- * works for status indicators, brand highlights, ad-hoc attention prompts,
1267
- * or any custom color.
1268
- *
1269
- * Knobs (set via inline style or a Tailwind arbitrary value):
1270
- * --glow-color source color (default: currentColor)
1271
- * --glow-strength mix percent (default: 40%)
1272
- *
1273
- * Examples:
1274
- * <div className="animate-glow [--glow-color:var(--error)]" />
1275
- * <div className="animate-glow [--glow-color:var(--info)] [--glow-strength:60%]" />
1276
- * <div className="text-info animate-glow" /> // picks up --brand or falls back to currentColor
1277
- *
1278
- * Implementation note: the color-mix lives in the utility body (not the
1279
- * keyframe) to avoid a lightningcss bug that drops keyframe declarations
1280
- * containing `color-mix(... var(...) ...)`. The internal `--_glow-shadow`
1281
- * holds the pre-mixed value for the keyframe to consume.
1282
- * ============================================================================ */
1283
-
1284
- @keyframes apollo-glow {
1285
- 0% { box-shadow: 0 0 0 0 var(--_glow-shadow, currentColor); }
1286
- 70% { box-shadow: 0 0 0 10px transparent; }
1287
- 100% { box-shadow: 0 0 0 0 transparent; }
1288
- }
1289
-
1290
- @utility animate-glow {
1291
- --_glow-shadow: color-mix(
1292
- in srgb,
1293
- var(--glow-color, var(--brand, currentColor)) var(--glow-strength, 40%),
1294
- transparent
1295
- );
1296
- will-change: box-shadow;
1297
- animation: apollo-glow 2s infinite;
1298
- }
1299
-
1300
1263
  /* ============================================================================
1301
1264
  * Theme-aware scrollbars
1302
1265
  *
@@ -1330,4 +1293,4 @@ body.canvas, .canvas {
1330
1293
  & *::-webkit-scrollbar-thumb:hover {
1331
1294
  background-color: var(--color-border-hover);
1332
1295
  }
1333
- }
1296
+ }
@@ -0,0 +1,54 @@
1
+ /**
2
+ * Apollo Wind — Custom Utilities
3
+ *
4
+ * Tailwind @utility rules, @keyframes, and non-token helpers that extend
5
+ * the base theme. Imported by tailwind.consumer.css.
6
+ *
7
+ */
8
+
9
+ /* ============================================================================
10
+ * Glow — attention-drawing ring pulse
11
+ *
12
+ * `animate-glow` drives an expanding box-shadow ring around any element.
13
+ * The color and intensity are driven by CSS variables so the same utility
14
+ * works for status indicators, brand highlights, ad-hoc attention prompts,
15
+ * or any custom color.
16
+ *
17
+ * Knobs (set via inline style or a Tailwind arbitrary value):
18
+ * --glow-color source color (default: currentColor)
19
+ * --glow-strength mix percent (default: 40%)
20
+ *
21
+ * Examples:
22
+ * <div className="animate-glow [--glow-color:var(--error)]" />
23
+ * <div className="animate-glow [--glow-color:var(--info)] [--glow-strength:60%]" />
24
+ * <div className="text-info animate-glow" /> // picks up --brand or falls back to currentColor
25
+ *
26
+ * Implementation note: the color-mix lives in the utility body (not the
27
+ * keyframe) to avoid a lightningcss bug that drops keyframe declarations
28
+ * containing `color-mix(... var(...) ...)`. The internal `--_glow-shadow`
29
+ * holds the pre-mixed value for the keyframe to consume.
30
+ * ============================================================================ */
31
+
32
+ @keyframes apollo-glow {
33
+ 0% { box-shadow: 0 0 0 0 var(--_glow-shadow, currentColor); }
34
+ 70% { box-shadow: 0 0 0 10px transparent; }
35
+ 100% { box-shadow: 0 0 0 0 transparent; }
36
+ }
37
+
38
+ @utility animate-glow {
39
+ --_glow-shadow: color-mix(
40
+ in srgb,
41
+ var(--glow-color, var(--brand, currentColor)) var(--glow-strength, 40%),
42
+ transparent
43
+ );
44
+ will-change: box-shadow;
45
+ animation: apollo-glow 2s infinite;
46
+ }
47
+
48
+ @media (prefers-reduced-motion: reduce) {
49
+ .animate-glow {
50
+ will-change: auto;
51
+ animation: none;
52
+ box-shadow: 0 0 0 5px var(--_glow-shadow, currentColor);
53
+ }
54
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uipath/apollo-wind",
3
- "version": "2.3.0-pr525.f6fa0d2",
3
+ "version": "2.4.0",
4
4
  "description": "UiPath wind design system - A Tailwind CSS based React component library",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",