@uipath/apollo-wind 0.11.0-pr295.2546a80 → 0.11.0-pr295.db7c2d4

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.
@@ -1,14 +1,5 @@
1
1
  "use strict";
2
2
  var __webpack_require__ = {};
3
- (()=>{
4
- __webpack_require__.n = (module)=>{
5
- var getter = module && module.__esModule ? ()=>module['default'] : ()=>module;
6
- __webpack_require__.d(getter, {
7
- a: getter
8
- });
9
- return getter;
10
- };
11
- })();
12
3
  (()=>{
13
4
  __webpack_require__.d = (exports1, definition)=>{
14
5
  for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
@@ -39,27 +30,12 @@ const jsx_runtime_namespaceObject = require("react/jsx-runtime");
39
30
  const external_lucide_react_namespaceObject = require("lucide-react");
40
31
  const external_react_namespaceObject = require("react");
41
32
  const external_react_syntax_highlighter_namespaceObject = require("react-syntax-highlighter");
42
- const atom_dark_namespaceObject = require("react-syntax-highlighter/dist/esm/styles/prism/atom-dark");
43
- var atom_dark_default = /*#__PURE__*/ __webpack_require__.n(atom_dark_namespaceObject);
44
- const night_owl_namespaceObject = require("react-syntax-highlighter/dist/esm/styles/prism/night-owl");
45
- var night_owl_default = /*#__PURE__*/ __webpack_require__.n(night_owl_namespaceObject);
46
- const nord_namespaceObject = require("react-syntax-highlighter/dist/esm/styles/prism/nord");
47
- var nord_default = /*#__PURE__*/ __webpack_require__.n(nord_namespaceObject);
48
- const one_dark_namespaceObject = require("react-syntax-highlighter/dist/esm/styles/prism/one-dark");
49
- var one_dark_default = /*#__PURE__*/ __webpack_require__.n(one_dark_namespaceObject);
50
- const one_light_namespaceObject = require("react-syntax-highlighter/dist/esm/styles/prism/one-light");
51
- var one_light_default = /*#__PURE__*/ __webpack_require__.n(one_light_namespaceObject);
52
- const prism_namespaceObject = require("react-syntax-highlighter/dist/esm/styles/prism/prism");
53
- var prism_default = /*#__PURE__*/ __webpack_require__.n(prism_namespaceObject);
54
- const vs_namespaceObject = require("react-syntax-highlighter/dist/esm/styles/prism/vs");
55
- var vs_default = /*#__PURE__*/ __webpack_require__.n(vs_namespaceObject);
56
- const vsc_dark_plus_namespaceObject = require("react-syntax-highlighter/dist/esm/styles/prism/vsc-dark-plus");
57
- var vsc_dark_plus_default = /*#__PURE__*/ __webpack_require__.n(vsc_dark_plus_namespaceObject);
33
+ const index_js_namespaceObject = require("react-syntax-highlighter/dist/esm/styles/prism/index.js");
58
34
  const external_button_cjs_namespaceObject = require("./button.cjs");
59
35
  const index_cjs_namespaceObject = require("../../lib/index.cjs");
60
36
  const THEME_CONFIG = {
61
37
  dark: {
62
- prismStyle: nord_default(),
38
+ prismStyle: index_js_namespaceObject.nord,
63
39
  bg: '#182027',
64
40
  headerBg: '#111920',
65
41
  labelColor: '#8ea1b1',
@@ -67,7 +43,7 @@ const THEME_CONFIG = {
67
43
  lineNumberColor: '#2e3f4c'
68
44
  },
69
45
  light: {
70
- prismStyle: vs_default(),
46
+ prismStyle: index_js_namespaceObject.vs,
71
47
  bg: '#ffffff',
72
48
  headerBg: '#f0f4f8',
73
49
  labelColor: '#374151',
@@ -75,7 +51,7 @@ const THEME_CONFIG = {
75
51
  lineNumberColor: '#c8d4de'
76
52
  },
77
53
  'future-dark': {
78
- prismStyle: vsc_dark_plus_default(),
54
+ prismStyle: index_js_namespaceObject.vscDarkPlus,
79
55
  bg: '#18181b',
80
56
  headerBg: '#09090b',
81
57
  labelColor: '#a1a1aa',
@@ -83,7 +59,7 @@ const THEME_CONFIG = {
83
59
  lineNumberColor: '#3f3f46'
84
60
  },
85
61
  'future-light': {
86
- prismStyle: vs_default(),
62
+ prismStyle: index_js_namespaceObject.vs,
87
63
  bg: '#fafafa',
88
64
  headerBg: '#f4f4f5',
89
65
  labelColor: '#52525b',
@@ -91,7 +67,7 @@ const THEME_CONFIG = {
91
67
  lineNumberColor: '#d4d4d8'
92
68
  },
93
69
  wireframe: {
94
- prismStyle: prism_default(),
70
+ prismStyle: index_js_namespaceObject.prism,
95
71
  bg: '#f9fafb',
96
72
  headerBg: '#f3f4f6',
97
73
  labelColor: '#6b7280',
@@ -99,7 +75,7 @@ const THEME_CONFIG = {
99
75
  lineNumberColor: '#d1d5db'
100
76
  },
101
77
  vertex: {
102
- prismStyle: night_owl_default(),
78
+ prismStyle: index_js_namespaceObject.nightOwl,
103
79
  bg: 'oklch(0.21 0.03 258.5)',
104
80
  headerBg: 'oklch(0.188 0.028 258.5)',
105
81
  labelColor: '#a6b5c9',
@@ -107,7 +83,7 @@ const THEME_CONFIG = {
107
83
  lineNumberColor: 'oklch(0.32 0.03 258.5)'
108
84
  },
109
85
  canvas: {
110
- prismStyle: atom_dark_default(),
86
+ prismStyle: index_js_namespaceObject.atomDark,
111
87
  bg: '#182027',
112
88
  headerBg: '#111920',
113
89
  labelColor: '#8ea1b1',
@@ -115,7 +91,7 @@ const THEME_CONFIG = {
115
91
  lineNumberColor: '#2e3f4c'
116
92
  },
117
93
  'dark-hc': {
118
- prismStyle: one_dark_default(),
94
+ prismStyle: index_js_namespaceObject.oneDark,
119
95
  bg: '#0a0a0a',
120
96
  headerBg: '#141414',
121
97
  labelColor: '#e4e4e4',
@@ -123,7 +99,7 @@ const THEME_CONFIG = {
123
99
  lineNumberColor: '#505050'
124
100
  },
125
101
  'light-hc': {
126
- prismStyle: one_light_default(),
102
+ prismStyle: index_js_namespaceObject.oneLight,
127
103
  bg: '#ffffff',
128
104
  headerBg: '#e8e8e8',
129
105
  labelColor: '#111827',
@@ -2,14 +2,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import { Check, Copy } from "lucide-react";
3
3
  import { useEffect, useRef, useState } from "react";
4
4
  import { Prism } from "react-syntax-highlighter";
5
- import atom_dark from "react-syntax-highlighter/dist/esm/styles/prism/atom-dark";
6
- import night_owl from "react-syntax-highlighter/dist/esm/styles/prism/night-owl";
7
- import nord from "react-syntax-highlighter/dist/esm/styles/prism/nord";
8
- import one_dark from "react-syntax-highlighter/dist/esm/styles/prism/one-dark";
9
- import one_light from "react-syntax-highlighter/dist/esm/styles/prism/one-light";
10
- import prism from "react-syntax-highlighter/dist/esm/styles/prism/prism";
11
- import vs from "react-syntax-highlighter/dist/esm/styles/prism/vs";
12
- import vsc_dark_plus from "react-syntax-highlighter/dist/esm/styles/prism/vsc-dark-plus";
5
+ import { atomDark, nightOwl, nord, oneDark, oneLight, prism, vs, vscDarkPlus } from "react-syntax-highlighter/dist/esm/styles/prism/index.js";
13
6
  import { Button } from "./button.js";
14
7
  import { cn } from "../../lib/index.js";
15
8
  const THEME_CONFIG = {
@@ -30,7 +23,7 @@ const THEME_CONFIG = {
30
23
  lineNumberColor: '#c8d4de'
31
24
  },
32
25
  'future-dark': {
33
- prismStyle: vsc_dark_plus,
26
+ prismStyle: vscDarkPlus,
34
27
  bg: '#18181b',
35
28
  headerBg: '#09090b',
36
29
  labelColor: '#a1a1aa',
@@ -54,7 +47,7 @@ const THEME_CONFIG = {
54
47
  lineNumberColor: '#d1d5db'
55
48
  },
56
49
  vertex: {
57
- prismStyle: night_owl,
50
+ prismStyle: nightOwl,
58
51
  bg: 'oklch(0.21 0.03 258.5)',
59
52
  headerBg: 'oklch(0.188 0.028 258.5)',
60
53
  labelColor: '#a6b5c9',
@@ -62,7 +55,7 @@ const THEME_CONFIG = {
62
55
  lineNumberColor: 'oklch(0.32 0.03 258.5)'
63
56
  },
64
57
  canvas: {
65
- prismStyle: atom_dark,
58
+ prismStyle: atomDark,
66
59
  bg: '#182027',
67
60
  headerBg: '#111920',
68
61
  labelColor: '#8ea1b1',
@@ -70,7 +63,7 @@ const THEME_CONFIG = {
70
63
  lineNumberColor: '#2e3f4c'
71
64
  },
72
65
  'dark-hc': {
73
- prismStyle: one_dark,
66
+ prismStyle: oneDark,
74
67
  bg: '#0a0a0a',
75
68
  headerBg: '#141414',
76
69
  labelColor: '#e4e4e4',
@@ -78,7 +71,7 @@ const THEME_CONFIG = {
78
71
  lineNumberColor: '#505050'
79
72
  },
80
73
  'light-hc': {
81
- prismStyle: one_light,
74
+ prismStyle: oneLight,
82
75
  bg: '#ffffff',
83
76
  headerBg: '#e8e8e8',
84
77
  labelColor: '#111827',
@@ -24,16 +24,16 @@ var __webpack_modules__ = {
24
24
  "./button-group": function(module) {
25
25
  module.exports = require("./button-group.cjs");
26
26
  },
27
- "./button": function(module) {
27
+ "@/components/ui/button": function(module) {
28
28
  module.exports = require("./button.cjs");
29
29
  },
30
- "./calendar": function(module) {
30
+ "@/components/ui/calendar": function(module) {
31
31
  module.exports = require("./calendar.cjs");
32
32
  },
33
- "./card": function(module) {
33
+ "@/components/ui/card": function(module) {
34
34
  module.exports = require("./card.cjs");
35
35
  },
36
- "./checkbox": function(module) {
36
+ "@/components/ui/checkbox": function(module) {
37
37
  module.exports = require("./checkbox.cjs");
38
38
  },
39
39
  "@/components/ui/collapsible": function(module) {
@@ -57,7 +57,7 @@ var __webpack_modules__ = {
57
57
  "./datetime-picker": function(module) {
58
58
  module.exports = require("./datetime-picker.cjs");
59
59
  },
60
- "./dialog": function(module) {
60
+ "@/components/ui/dialog": function(module) {
61
61
  module.exports = require("./dialog.cjs");
62
62
  },
63
63
  "@/components/ui/dropdown-menu": function(module) {
@@ -75,7 +75,7 @@ var __webpack_modules__ = {
75
75
  "@/components/ui/hover-card": function(module) {
76
76
  module.exports = require("./hover-card.cjs");
77
77
  },
78
- "./input": function(module) {
78
+ "@/components/ui/input": function(module) {
79
79
  module.exports = require("./input.cjs");
80
80
  },
81
81
  "@/components/ui/label": function(module) {
@@ -90,7 +90,7 @@ var __webpack_modules__ = {
90
90
  "./pagination": function(module) {
91
91
  module.exports = require("./pagination.cjs");
92
92
  },
93
- "./popover": function(module) {
93
+ "@/components/ui/popover": function(module) {
94
94
  module.exports = require("./popover.cjs");
95
95
  },
96
96
  "./progress": function(module) {
@@ -269,7 +269,7 @@ var __webpack_exports__ = {};
269
269
  return _breadcrumb__WEBPACK_IMPORTED_MODULE_6__[key];
270
270
  }).bind(0, __WEBPACK_IMPORT_KEY__);
271
271
  __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
272
- var _button__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("./button");
272
+ var _button__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("@/components/ui/button");
273
273
  var __WEBPACK_REEXPORT_OBJECT__ = {};
274
274
  for(var __WEBPACK_IMPORT_KEY__ in _button__WEBPACK_IMPORTED_MODULE_7__)if ([
275
275
  "TreeView",
@@ -287,7 +287,7 @@ var __webpack_exports__ = {};
287
287
  return _button_group__WEBPACK_IMPORTED_MODULE_8__[key];
288
288
  }).bind(0, __WEBPACK_IMPORT_KEY__);
289
289
  __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
290
- var _calendar__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("./calendar");
290
+ var _calendar__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("@/components/ui/calendar");
291
291
  var __WEBPACK_REEXPORT_OBJECT__ = {};
292
292
  for(var __WEBPACK_IMPORT_KEY__ in _calendar__WEBPACK_IMPORTED_MODULE_9__)if ([
293
293
  "TreeView",
@@ -296,7 +296,7 @@ var __webpack_exports__ = {};
296
296
  return _calendar__WEBPACK_IMPORTED_MODULE_9__[key];
297
297
  }).bind(0, __WEBPACK_IMPORT_KEY__);
298
298
  __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
299
- var _card__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__("./card");
299
+ var _card__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__("@/components/ui/card");
300
300
  var __WEBPACK_REEXPORT_OBJECT__ = {};
301
301
  for(var __WEBPACK_IMPORT_KEY__ in _card__WEBPACK_IMPORTED_MODULE_10__)if ([
302
302
  "TreeView",
@@ -305,7 +305,7 @@ var __webpack_exports__ = {};
305
305
  return _card__WEBPACK_IMPORTED_MODULE_10__[key];
306
306
  }).bind(0, __WEBPACK_IMPORT_KEY__);
307
307
  __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
308
- var _checkbox__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__("./checkbox");
308
+ var _checkbox__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__("@/components/ui/checkbox");
309
309
  var __WEBPACK_REEXPORT_OBJECT__ = {};
310
310
  for(var __WEBPACK_IMPORT_KEY__ in _checkbox__WEBPACK_IMPORTED_MODULE_11__)if ([
311
311
  "TreeView",
@@ -377,7 +377,7 @@ var __webpack_exports__ = {};
377
377
  return _datetime_picker__WEBPACK_IMPORTED_MODULE_18__[key];
378
378
  }).bind(0, __WEBPACK_IMPORT_KEY__);
379
379
  __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
380
- var _dialog__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__("./dialog");
380
+ var _dialog__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__("@/components/ui/dialog");
381
381
  var __WEBPACK_REEXPORT_OBJECT__ = {};
382
382
  for(var __WEBPACK_IMPORT_KEY__ in _dialog__WEBPACK_IMPORTED_MODULE_19__)if ([
383
383
  "TreeView",
@@ -431,7 +431,7 @@ var __webpack_exports__ = {};
431
431
  return _hover_card__WEBPACK_IMPORTED_MODULE_24__[key];
432
432
  }).bind(0, __WEBPACK_IMPORT_KEY__);
433
433
  __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
434
- var _input__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__("./input");
434
+ var _input__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__("@/components/ui/input");
435
435
  var __WEBPACK_REEXPORT_OBJECT__ = {};
436
436
  for(var __WEBPACK_IMPORT_KEY__ in _input__WEBPACK_IMPORTED_MODULE_25__)if ([
437
437
  "TreeView",
@@ -476,7 +476,7 @@ var __webpack_exports__ = {};
476
476
  return _pagination__WEBPACK_IMPORTED_MODULE_29__[key];
477
477
  }).bind(0, __WEBPACK_IMPORT_KEY__);
478
478
  __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
479
- var _popover__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__("./popover");
479
+ var _popover__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__("@/components/ui/popover");
480
480
  var __WEBPACK_REEXPORT_OBJECT__ = {};
481
481
  for(var __WEBPACK_IMPORT_KEY__ in _popover__WEBPACK_IMPORTED_MODULE_30__)if ([
482
482
  "TreeView",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uipath/apollo-wind",
3
- "version": "0.11.0-pr295.2546a80",
3
+ "version": "0.11.0-pr295.db7c2d4",
4
4
  "description": "UiPath wind design system - A Tailwind CSS based React component library",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",