@uipath/apollo-react 6.44.2 → 6.45.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.
Files changed (51) hide show
  1. package/dist/canvas/components/FloatingCanvasPanel/CanvasPanelSurface.cjs +59 -0
  2. package/dist/canvas/components/FloatingCanvasPanel/CanvasPanelSurface.d.ts +12 -0
  3. package/dist/canvas/components/FloatingCanvasPanel/CanvasPanelSurface.d.ts.map +1 -0
  4. package/dist/canvas/components/FloatingCanvasPanel/CanvasPanelSurface.js +22 -0
  5. package/dist/canvas/components/FloatingCanvasPanel/CanvasPortal.cjs +1 -1
  6. package/dist/canvas/components/FloatingCanvasPanel/CanvasPortal.d.ts.map +1 -1
  7. package/dist/canvas/components/FloatingCanvasPanel/CanvasPortal.js +1 -1
  8. package/dist/canvas/components/FloatingCanvasPanel/FloatingCanvasPanel.cjs +22 -36
  9. package/dist/canvas/components/FloatingCanvasPanel/FloatingCanvasPanel.d.ts.map +1 -1
  10. package/dist/canvas/components/FloatingCanvasPanel/FloatingCanvasPanel.js +22 -36
  11. package/dist/canvas/components/FloatingCanvasPanel/PanelChrome.cjs +6 -45
  12. package/dist/canvas/components/FloatingCanvasPanel/PanelChrome.d.ts.map +1 -1
  13. package/dist/canvas/components/FloatingCanvasPanel/PanelChrome.js +6 -35
  14. package/dist/canvas/components/FloatingCanvasPanel/index.cjs +8 -1
  15. package/dist/canvas/components/FloatingCanvasPanel/index.d.ts +2 -0
  16. package/dist/canvas/components/FloatingCanvasPanel/index.d.ts.map +1 -1
  17. package/dist/canvas/components/FloatingCanvasPanel/index.js +2 -1
  18. package/dist/canvas/components/Toolbox/Header.cjs +6 -16
  19. package/dist/canvas/components/Toolbox/Header.d.ts.map +1 -1
  20. package/dist/canvas/components/Toolbox/Header.js +6 -16
  21. package/dist/canvas/components/Toolbox/ListView.cjs +21 -15
  22. package/dist/canvas/components/Toolbox/ListView.d.ts +1 -1
  23. package/dist/canvas/components/Toolbox/ListView.d.ts.map +1 -1
  24. package/dist/canvas/components/Toolbox/ListView.js +23 -17
  25. package/dist/canvas/components/Toolbox/ListViewIconContainer.cjs +52 -0
  26. package/dist/canvas/components/Toolbox/ListViewIconContainer.d.ts +9 -0
  27. package/dist/canvas/components/Toolbox/ListViewIconContainer.d.ts.map +1 -0
  28. package/dist/canvas/components/Toolbox/ListViewIconContainer.js +18 -0
  29. package/dist/canvas/components/Toolbox/QuickActionsRow.cjs +9 -7
  30. package/dist/canvas/components/Toolbox/QuickActionsRow.d.ts.map +1 -1
  31. package/dist/canvas/components/Toolbox/QuickActionsRow.js +10 -8
  32. package/dist/canvas/components/Toolbox/SearchBox.cjs +24 -24
  33. package/dist/canvas/components/Toolbox/SearchBox.d.ts.map +1 -1
  34. package/dist/canvas/components/Toolbox/SearchBox.js +24 -24
  35. package/dist/canvas/components/Toolbox/Toolbox.cjs +10 -6
  36. package/dist/canvas/components/Toolbox/Toolbox.d.ts.map +1 -1
  37. package/dist/canvas/components/Toolbox/Toolbox.js +10 -6
  38. package/dist/canvas/styles/tailwind.canvas.css +1 -1
  39. package/package.json +2 -2
  40. package/dist/canvas/components/Toolbox/ListView.styles.cjs +0 -136
  41. package/dist/canvas/components/Toolbox/ListView.styles.d.ts +0 -12
  42. package/dist/canvas/components/Toolbox/ListView.styles.d.ts.map +0 -1
  43. package/dist/canvas/components/Toolbox/ListView.styles.js +0 -86
  44. package/dist/canvas/components/Toolbox/SearchBox.styles.cjs +0 -114
  45. package/dist/canvas/components/Toolbox/SearchBox.styles.d.ts +0 -5
  46. package/dist/canvas/components/Toolbox/SearchBox.styles.d.ts.map +0 -1
  47. package/dist/canvas/components/Toolbox/SearchBox.styles.js +0 -70
  48. package/dist/canvas/components/Toolbox/Toolbox.styles.cjs +0 -115
  49. package/dist/canvas/components/Toolbox/Toolbox.styles.d.ts +0 -16
  50. package/dist/canvas/components/Toolbox/Toolbox.styles.d.ts.map +0 -1
  51. package/dist/canvas/components/Toolbox/Toolbox.styles.js +0 -65
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uipath/apollo-react",
3
- "version": "6.44.2",
3
+ "version": "6.45.0",
4
4
  "description": "Apollo Design System - React component library with Material UI theming",
5
5
  "repository": {
6
6
  "type": "git",
@@ -222,7 +222,7 @@
222
222
  "zustand": "^5.0.9",
223
223
  "@uipath/apollo-core": "5.14.0",
224
224
  "@uipath/apollo-ui-icons": "1.0.0",
225
- "@uipath/apollo-wind": "2.48.0"
225
+ "@uipath/apollo-wind": "2.49.0"
226
226
  },
227
227
  "devDependencies": {
228
228
  "@lingui/cli": "^5.6.1",
@@ -1,136 +0,0 @@
1
- "use strict";
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
- (()=>{
13
- __webpack_require__.d = (exports1, definition)=>{
14
- for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
15
- enumerable: true,
16
- get: definition[key]
17
- });
18
- };
19
- })();
20
- (()=>{
21
- __webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
22
- })();
23
- (()=>{
24
- __webpack_require__.r = (exports1)=>{
25
- if ("u" > typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
26
- value: 'Module'
27
- });
28
- Object.defineProperty(exports1, '__esModule', {
29
- value: true
30
- });
31
- };
32
- })();
33
- var __webpack_exports__ = {};
34
- __webpack_require__.r(__webpack_exports__);
35
- __webpack_require__.d(__webpack_exports__, {
36
- StyledList: ()=>StyledList,
37
- ListItemButton: ()=>ListItemButton,
38
- IconContainer: ()=>IconContainer
39
- });
40
- const styled_namespaceObject = require("@emotion/styled");
41
- var styled_default = /*#__PURE__*/ __webpack_require__.n(styled_namespaceObject);
42
- const react_namespaceObject = require("motion/react");
43
- const external_react_window_namespaceObject = require("react-window");
44
- const ListItemButton = styled_default()(react_namespaceObject.motion.button)`
45
- display: flex;
46
- align-items: center;
47
- gap: 10px;
48
- border: none;
49
- background: transparent;
50
- border-radius: 8px;
51
- cursor: pointer;
52
- text-align: left;
53
- width: 100%;
54
- // Don't rely on a consumer's global reset: the row combines width:100% + an
55
- // explicit react-window height with its own padding, so content-box would
56
- // overflow the slot and desync the virtualizer's row positions.
57
- box-sizing: border-box;
58
- // Reserve the focus ring geometry in the resting state (invisible via a
59
- // transparent color) so activating a row only flips outline-color. Without
60
- // this the outline falls back to UA defaults (3px / currentColor) and every
61
- // sub-property jumps at once, flashing a thick dark border under transition.
62
- outline: 1px solid transparent;
63
- outline-offset: -1px;
64
- transition: background-color 0.15s ease, opacity 0.15s ease, outline-color 0.15s ease;
65
-
66
- &:hover,
67
- &.active {
68
- background: var(--canvas-background-hover);
69
- }
70
-
71
- &.active {
72
- outline-color: var(--canvas-primary);
73
- }
74
- `;
75
- const IconContainer = styled_default().div`
76
- width: 24px;
77
- height: 24px;
78
- display: flex;
79
- align-items: center;
80
- justify-content: center;
81
- // Transparent unless the item declares a background (color / colorDark),
82
- // so plain rows read as icon + text without a tile.
83
- background: ${(props)=>props.bgColor || 'transparent'};
84
- border-radius: 6px;
85
- color: var(--canvas-foreground-emp);
86
- opacity: 0.9;
87
- flex-shrink: 0;
88
- // Icons should show below the inset outline
89
- z-index: -1;
90
- `;
91
- const StyledList = styled_default()(external_react_window_namespaceObject.List)`
92
- &::-webkit-scrollbar {
93
- width: 6px;
94
- }
95
-
96
- &::-webkit-scrollbar-track {
97
- background: transparent;
98
- }
99
-
100
- &::-webkit-scrollbar-thumb {
101
- background: var(--canvas-border-de-emp);
102
- border-radius: 3px;
103
- }
104
-
105
- &::-webkit-scrollbar-thumb:hover {
106
- background: var(--canvas-border);
107
- }
108
-
109
- .list-view-item-name {
110
- white-space: nowrap;
111
- overflow: hidden;
112
- text-overflow: ellipsis;
113
- }
114
-
115
- .loading {
116
- opacity: 0.5;
117
- pointer-events: none;
118
- cursor: not-allowed;
119
-
120
- // Ensure all child elements are also greyed out
121
- * {
122
- opacity: 0.7;
123
- }
124
- }
125
- `;
126
- exports.IconContainer = __webpack_exports__.IconContainer;
127
- exports.ListItemButton = __webpack_exports__.ListItemButton;
128
- exports.StyledList = __webpack_exports__.StyledList;
129
- for(var __rspack_i in __webpack_exports__)if (-1 === [
130
- "IconContainer",
131
- "ListItemButton",
132
- "StyledList"
133
- ].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
134
- Object.defineProperty(exports, '__esModule', {
135
- value: true
136
- });
@@ -1,12 +0,0 @@
1
- import { List } from 'react-window';
2
- export declare const ListItemButton: import("@emotion/styled").StyledComponent<Omit<import("motion/react").HTMLMotionProps<"button">, "ref"> & import("react").RefAttributes<HTMLButtonElement> & {
3
- theme?: import("@emotion/react").Theme;
4
- }, {}, {}>;
5
- export declare const IconContainer: import("@emotion/styled").StyledComponent<{
6
- theme?: import("@emotion/react").Theme;
7
- as?: React.ElementType;
8
- } & {
9
- bgColor?: string;
10
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
11
- export declare const StyledList: typeof List;
12
- //# sourceMappingURL=ListView.styles.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ListView.styles.d.ts","sourceRoot":"","sources":["../../../../src/canvas/components/Toolbox/ListView.styles.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpC,eAAO,MAAM,cAAc;;UA8B1B,CAAC;AAEF,eAAO,MAAM,aAAa;;;;cAA0B,MAAM;yGAezD,CAAC;AAEF,eAAO,MAAM,UAAU,EAkClB,OAAO,IAAI,CAAC"}
@@ -1,86 +0,0 @@
1
- import styled from "@emotion/styled";
2
- import { motion } from "motion/react";
3
- import { List } from "react-window";
4
- const ListItemButton = styled(motion.button)`
5
- display: flex;
6
- align-items: center;
7
- gap: 10px;
8
- border: none;
9
- background: transparent;
10
- border-radius: 8px;
11
- cursor: pointer;
12
- text-align: left;
13
- width: 100%;
14
- // Don't rely on a consumer's global reset: the row combines width:100% + an
15
- // explicit react-window height with its own padding, so content-box would
16
- // overflow the slot and desync the virtualizer's row positions.
17
- box-sizing: border-box;
18
- // Reserve the focus ring geometry in the resting state (invisible via a
19
- // transparent color) so activating a row only flips outline-color. Without
20
- // this the outline falls back to UA defaults (3px / currentColor) and every
21
- // sub-property jumps at once, flashing a thick dark border under transition.
22
- outline: 1px solid transparent;
23
- outline-offset: -1px;
24
- transition: background-color 0.15s ease, opacity 0.15s ease, outline-color 0.15s ease;
25
-
26
- &:hover,
27
- &.active {
28
- background: var(--canvas-background-hover);
29
- }
30
-
31
- &.active {
32
- outline-color: var(--canvas-primary);
33
- }
34
- `;
35
- const IconContainer = styled.div`
36
- width: 24px;
37
- height: 24px;
38
- display: flex;
39
- align-items: center;
40
- justify-content: center;
41
- // Transparent unless the item declares a background (color / colorDark),
42
- // so plain rows read as icon + text without a tile.
43
- background: ${(props)=>props.bgColor || 'transparent'};
44
- border-radius: 6px;
45
- color: var(--canvas-foreground-emp);
46
- opacity: 0.9;
47
- flex-shrink: 0;
48
- // Icons should show below the inset outline
49
- z-index: -1;
50
- `;
51
- const StyledList = styled(List)`
52
- &::-webkit-scrollbar {
53
- width: 6px;
54
- }
55
-
56
- &::-webkit-scrollbar-track {
57
- background: transparent;
58
- }
59
-
60
- &::-webkit-scrollbar-thumb {
61
- background: var(--canvas-border-de-emp);
62
- border-radius: 3px;
63
- }
64
-
65
- &::-webkit-scrollbar-thumb:hover {
66
- background: var(--canvas-border);
67
- }
68
-
69
- .list-view-item-name {
70
- white-space: nowrap;
71
- overflow: hidden;
72
- text-overflow: ellipsis;
73
- }
74
-
75
- .loading {
76
- opacity: 0.5;
77
- pointer-events: none;
78
- cursor: not-allowed;
79
-
80
- // Ensure all child elements are also greyed out
81
- * {
82
- opacity: 0.7;
83
- }
84
- }
85
- `;
86
- export { IconContainer, ListItemButton, StyledList };
@@ -1,114 +0,0 @@
1
- "use strict";
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
- (()=>{
13
- __webpack_require__.d = (exports1, definition)=>{
14
- for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
15
- enumerable: true,
16
- get: definition[key]
17
- });
18
- };
19
- })();
20
- (()=>{
21
- __webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
22
- })();
23
- (()=>{
24
- __webpack_require__.r = (exports1)=>{
25
- if ("u" > typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
26
- value: 'Module'
27
- });
28
- Object.defineProperty(exports1, '__esModule', {
29
- value: true
30
- });
31
- };
32
- })();
33
- var __webpack_exports__ = {};
34
- __webpack_require__.r(__webpack_exports__);
35
- __webpack_require__.d(__webpack_exports__, {
36
- StyledSearchForm: ()=>StyledSearchForm
37
- });
38
- const styled_namespaceObject = require("@emotion/styled");
39
- var styled_default = /*#__PURE__*/ __webpack_require__.n(styled_namespaceObject);
40
- const StyledSearchForm = styled_default().form`
41
- width: 100%;
42
-
43
- .searchbox-container {
44
- display: flex;
45
- align-items: center;
46
- background: var(--canvas-background);
47
- border: 1px solid var(--canvas-border-de-emp);
48
- border-radius: 8px;
49
- box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
50
- padding: 0 12px;
51
- height: 32px;
52
- transition:
53
- border-color 0.2s,
54
- box-shadow 0.2s;
55
- position: relative;
56
- }
57
-
58
- .searchbox-container:focus-within {
59
- border: 2px solid var(--canvas-primary);
60
- }
61
-
62
- .searchbox-container.has-value .searchbox-clear {
63
- visibility: visible;
64
- }
65
-
66
- .searchbox-icon {
67
- display: flex;
68
- align-items: center;
69
- margin-right: 8px;
70
- color: var(--canvas-foreground);
71
- }
72
-
73
- .searchbox-input {
74
- flex: 1;
75
- border: none;
76
- outline: none;
77
- font-size: 14px;
78
- background: transparent;
79
- color: var(--canvas-foreground);
80
- padding: 6px 0;
81
- }
82
-
83
- .searchbox-input::placeholder {
84
- font-size: 14px;
85
- font-family:
86
- Noto Sans,
87
- sans-serif;
88
- line-height: 20px;
89
- color: var(--canvas-foreground-de-emp);
90
- }
91
-
92
- .searchbox-clear {
93
- display: flex;
94
- align-items: center;
95
- margin-left: 8px;
96
- color: var(--canvas-foreground-de-emp);
97
- cursor: pointer;
98
- transition: color 0.2s;
99
- visibility: hidden;
100
- border: none;
101
- background: transparent;
102
- }
103
-
104
- .searchbox-clear:hover {
105
- color: var(--canvas-primary);
106
- }
107
- `;
108
- exports.StyledSearchForm = __webpack_exports__.StyledSearchForm;
109
- for(var __rspack_i in __webpack_exports__)if (-1 === [
110
- "StyledSearchForm"
111
- ].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
112
- Object.defineProperty(exports, '__esModule', {
113
- value: true
114
- });
@@ -1,5 +0,0 @@
1
- export declare const StyledSearchForm: import("@emotion/styled").StyledComponent<{
2
- theme?: import("@emotion/react").Theme;
3
- as?: React.ElementType;
4
- }, import("react").DetailedHTMLProps<import("react").FormHTMLAttributes<HTMLFormElement>, HTMLFormElement>, {}>;
5
- //# sourceMappingURL=SearchBox.styles.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SearchBox.styles.d.ts","sourceRoot":"","sources":["../../../../src/canvas/components/Toolbox/SearchBox.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB;;;+GAmE5B,CAAC"}
@@ -1,70 +0,0 @@
1
- import styled from "@emotion/styled";
2
- const StyledSearchForm = styled.form`
3
- width: 100%;
4
-
5
- .searchbox-container {
6
- display: flex;
7
- align-items: center;
8
- background: var(--canvas-background);
9
- border: 1px solid var(--canvas-border-de-emp);
10
- border-radius: 8px;
11
- box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
12
- padding: 0 12px;
13
- height: 32px;
14
- transition:
15
- border-color 0.2s,
16
- box-shadow 0.2s;
17
- position: relative;
18
- }
19
-
20
- .searchbox-container:focus-within {
21
- border: 2px solid var(--canvas-primary);
22
- }
23
-
24
- .searchbox-container.has-value .searchbox-clear {
25
- visibility: visible;
26
- }
27
-
28
- .searchbox-icon {
29
- display: flex;
30
- align-items: center;
31
- margin-right: 8px;
32
- color: var(--canvas-foreground);
33
- }
34
-
35
- .searchbox-input {
36
- flex: 1;
37
- border: none;
38
- outline: none;
39
- font-size: 14px;
40
- background: transparent;
41
- color: var(--canvas-foreground);
42
- padding: 6px 0;
43
- }
44
-
45
- .searchbox-input::placeholder {
46
- font-size: 14px;
47
- font-family:
48
- Noto Sans,
49
- sans-serif;
50
- line-height: 20px;
51
- color: var(--canvas-foreground-de-emp);
52
- }
53
-
54
- .searchbox-clear {
55
- display: flex;
56
- align-items: center;
57
- margin-left: 8px;
58
- color: var(--canvas-foreground-de-emp);
59
- cursor: pointer;
60
- transition: color 0.2s;
61
- visibility: hidden;
62
- border: none;
63
- background: transparent;
64
- }
65
-
66
- .searchbox-clear:hover {
67
- color: var(--canvas-primary);
68
- }
69
- `;
70
- export { StyledSearchForm };
@@ -1,115 +0,0 @@
1
- "use strict";
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
- (()=>{
13
- __webpack_require__.d = (exports1, definition)=>{
14
- for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
15
- enumerable: true,
16
- get: definition[key]
17
- });
18
- };
19
- })();
20
- (()=>{
21
- __webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
22
- })();
23
- (()=>{
24
- __webpack_require__.r = (exports1)=>{
25
- if ("u" > typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
26
- value: 'Module'
27
- });
28
- Object.defineProperty(exports1, '__esModule', {
29
- value: true
30
- });
31
- };
32
- })();
33
- var __webpack_exports__ = {};
34
- __webpack_require__.r(__webpack_exports__);
35
- __webpack_require__.d(__webpack_exports__, {
36
- AnimatedContainer: ()=>AnimatedContainer,
37
- ScrollableList: ()=>ScrollableList,
38
- AnimatedContent: ()=>AnimatedContent
39
- });
40
- const styled_namespaceObject = require("@emotion/styled");
41
- var styled_default = /*#__PURE__*/ __webpack_require__.n(styled_namespaceObject);
42
- const ScrollableList = styled_default().div`
43
- flex: 1;
44
- overflow-y: auto;
45
- overflow-x: hidden;
46
- display: flex;
47
- flex-direction: column;
48
- gap: 10px;
49
- min-height: 250px;
50
-
51
- &::-webkit-scrollbar {
52
- width: 6px;
53
- }
54
-
55
- &::-webkit-scrollbar-track {
56
- background: transparent;
57
- }
58
-
59
- &::-webkit-scrollbar-thumb {
60
- background: var(--canvas-border-de-emp);
61
- border-radius: 3px;
62
- }
63
-
64
- &::-webkit-scrollbar-thumb:hover {
65
- background: var(--canvas-border);
66
- }
67
- `;
68
- const AnimatedContainer = styled_default().div`
69
- position: relative;
70
- flex: 1;
71
- display: flex;
72
- flex-direction: column;
73
- overflow: hidden;
74
- min-height: 50px;
75
- `;
76
- const AnimatedContent = styled_default().div`
77
- flex: 1;
78
- display: flex;
79
- flex-direction: column;
80
- animation: ${(props)=>props.entering ? `slideIn-${props.direction}` : 'none'} 0.15s ease-out;
81
- min-height: 50px;
82
-
83
- @keyframes slideIn-forward {
84
- from {
85
- opacity: 0;
86
- transform: translateX(20px);
87
- }
88
- to {
89
- opacity: 1;
90
- transform: translateX(0);
91
- }
92
- }
93
-
94
- @keyframes slideIn-back {
95
- from {
96
- opacity: 0;
97
- transform: translateX(-20px);
98
- }
99
- to {
100
- opacity: 1;
101
- transform: translateX(0);
102
- }
103
- }
104
- `;
105
- exports.AnimatedContainer = __webpack_exports__.AnimatedContainer;
106
- exports.AnimatedContent = __webpack_exports__.AnimatedContent;
107
- exports.ScrollableList = __webpack_exports__.ScrollableList;
108
- for(var __rspack_i in __webpack_exports__)if (-1 === [
109
- "AnimatedContainer",
110
- "AnimatedContent",
111
- "ScrollableList"
112
- ].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
113
- Object.defineProperty(exports, '__esModule', {
114
- value: true
115
- });
@@ -1,16 +0,0 @@
1
- export declare const ScrollableList: import("@emotion/styled").StyledComponent<{
2
- theme?: import("@emotion/react").Theme;
3
- as?: React.ElementType;
4
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
5
- export declare const AnimatedContainer: import("@emotion/styled").StyledComponent<{
6
- theme?: import("@emotion/react").Theme;
7
- as?: React.ElementType;
8
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
9
- export declare const AnimatedContent: import("@emotion/styled").StyledComponent<{
10
- theme?: import("@emotion/react").Theme;
11
- as?: React.ElementType;
12
- } & {
13
- entering?: boolean;
14
- direction?: "forward" | "back";
15
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
16
- //# sourceMappingURL=Toolbox.styles.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Toolbox.styles.d.ts","sourceRoot":"","sources":["../../../../src/canvas/components/Toolbox/Toolbox.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc;;;yGAyB1B,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;yGAO7B,CAAC;AAEF,eAAO,MAAM,eAAe;;;;eAA2B,OAAO;gBAAc,SAAS,GAAG,MAAM;yGA4B7F,CAAC"}
@@ -1,65 +0,0 @@
1
- import styled from "@emotion/styled";
2
- const ScrollableList = styled.div`
3
- flex: 1;
4
- overflow-y: auto;
5
- overflow-x: hidden;
6
- display: flex;
7
- flex-direction: column;
8
- gap: 10px;
9
- min-height: 250px;
10
-
11
- &::-webkit-scrollbar {
12
- width: 6px;
13
- }
14
-
15
- &::-webkit-scrollbar-track {
16
- background: transparent;
17
- }
18
-
19
- &::-webkit-scrollbar-thumb {
20
- background: var(--canvas-border-de-emp);
21
- border-radius: 3px;
22
- }
23
-
24
- &::-webkit-scrollbar-thumb:hover {
25
- background: var(--canvas-border);
26
- }
27
- `;
28
- const AnimatedContainer = styled.div`
29
- position: relative;
30
- flex: 1;
31
- display: flex;
32
- flex-direction: column;
33
- overflow: hidden;
34
- min-height: 50px;
35
- `;
36
- const AnimatedContent = styled.div`
37
- flex: 1;
38
- display: flex;
39
- flex-direction: column;
40
- animation: ${(props)=>props.entering ? `slideIn-${props.direction}` : 'none'} 0.15s ease-out;
41
- min-height: 50px;
42
-
43
- @keyframes slideIn-forward {
44
- from {
45
- opacity: 0;
46
- transform: translateX(20px);
47
- }
48
- to {
49
- opacity: 1;
50
- transform: translateX(0);
51
- }
52
- }
53
-
54
- @keyframes slideIn-back {
55
- from {
56
- opacity: 0;
57
- transform: translateX(-20px);
58
- }
59
- to {
60
- opacity: 1;
61
- transform: translateX(0);
62
- }
63
- }
64
- `;
65
- export { AnimatedContainer, AnimatedContent, ScrollableList };