@uipath/apollo-wind 2.3.0 → 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.
@@ -30,10 +30,10 @@ var __webpack_modules__ = {
30
30
  "@/components/ui/calendar" (module) {
31
31
  module.exports = require("./calendar.cjs");
32
32
  },
33
- "./card" (module) {
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
39
  "./collapsible" (module) {
@@ -57,13 +57,13 @@ var __webpack_modules__ = {
57
57
  "./datetime-picker" (module) {
58
58
  module.exports = require("./datetime-picker.cjs");
59
59
  },
60
- "./dialog" (module) {
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) {
@@ -150,7 +150,7 @@ var __webpack_modules__ = {
150
150
  "./toggle-group" (module) {
151
151
  module.exports = require("./toggle-group.cjs");
152
152
  },
153
- "./toggle" (module) {
153
+ "@/components/ui/toggle" (module) {
154
154
  module.exports = require("./toggle.cjs");
155
155
  },
156
156
  "./tooltip" (module) {
@@ -276,14 +276,14 @@ var __webpack_exports__ = {};
276
276
  "default"
277
277
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_calendar__rspack_import_9[__rspack_import_key];
278
278
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
279
- var _card__rspack_import_10 = __webpack_require__("./card");
279
+ var _card__rspack_import_10 = __webpack_require__("@/components/ui/card");
280
280
  var __rspack_reexport = {};
281
281
  for(const __rspack_import_key in _card__rspack_import_10)if ([
282
282
  "TreeView",
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",
@@ -339,21 +339,21 @@ var __webpack_exports__ = {};
339
339
  "default"
340
340
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_datetime_picker__rspack_import_18[__rspack_import_key];
341
341
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
342
- var _dialog__rspack_import_19 = __webpack_require__("./dialog");
342
+ var _dialog__rspack_import_19 = __webpack_require__("@/components/ui/dialog");
343
343
  var __rspack_reexport = {};
344
344
  for(const __rspack_import_key in _dialog__rspack_import_19)if ([
345
345
  "TreeView",
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",
@@ -549,7 +549,7 @@ var __webpack_exports__ = {};
549
549
  "default"
550
550
  ].indexOf(__rspack_import_key) < 0) __rspack_reexport[__rspack_import_key] = ()=>_textarea__rspack_import_48[__rspack_import_key];
551
551
  __webpack_require__.d(__webpack_exports__, __rspack_reexport);
552
- var _toggle__rspack_import_49 = __webpack_require__("./toggle");
552
+ var _toggle__rspack_import_49 = __webpack_require__("@/components/ui/toggle");
553
553
  var __rspack_reexport = {};
554
554
  for(const __rspack_import_key in _toggle__rspack_import_49)if ([
555
555
  "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
  }
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 */
@@ -1291,4 +1293,4 @@ body.canvas, .canvas {
1291
1293
  & *::-webkit-scrollbar-thumb:hover {
1292
1294
  background-color: var(--color-border-hover);
1293
1295
  }
1294
- }
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",
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",