@veeqo/transfigure 0.0.35 → 0.0.37
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.
- package/dist/components/RefreshButton/styled.d.ts +1 -0
- package/dist/index100.cjs +12 -1
- package/dist/index100.js +16 -11
- package/dist/index101.cjs +1 -1
- package/dist/index101.js +2 -24
- package/dist/index102.cjs +1 -1
- package/dist/index102.js +36 -2
- package/dist/index103.cjs +1 -13
- package/dist/index103.js +19 -17
- package/dist/index104.cjs +1 -1
- package/dist/index104.js +7 -25
- package/dist/index105.cjs +1 -1
- package/dist/index105.js +62 -17
- package/dist/index106.cjs +1 -1
- package/dist/index106.js +29 -7
- package/dist/index107.cjs +13 -1
- package/dist/index107.js +16 -63
- package/dist/index108.cjs +1 -1
- package/dist/index108.js +25 -29
- package/dist/index109.cjs +7 -1
- package/dist/index109.js +10 -36
- package/dist/index11.cjs +1 -1
- package/dist/index110.cjs +1 -1
- package/dist/index110.js +62 -41
- package/dist/index111.cjs +1 -1
- package/dist/index111.js +42 -58
- package/dist/index112.cjs +1 -1
- package/dist/index112.js +41 -46
- package/dist/index12.cjs +1 -1
- package/dist/index13.cjs +1 -1
- package/dist/index15.cjs +1 -1
- package/dist/index15.js +1 -1
- package/dist/index20.cjs +1 -1
- package/dist/index20.js +1 -1
- package/dist/index21.cjs +1 -1
- package/dist/index25.cjs +1 -1
- package/dist/index26.cjs +1 -1
- package/dist/index28.cjs +1 -1
- package/dist/index29.cjs +1 -1
- package/dist/index29.js +1 -1
- package/dist/index30.cjs +1 -1
- package/dist/index31.cjs +1 -1
- package/dist/index31.js +4 -4
- package/dist/index32.cjs +1 -1
- package/dist/index32.js +1 -1
- package/dist/index34.cjs +1 -1
- package/dist/index34.js +2 -2
- package/dist/index37.cjs +1 -1
- package/dist/index37.js +1 -1
- package/dist/index38.cjs +1 -1
- package/dist/index38.js +1 -1
- package/dist/index39.cjs +1 -1
- package/dist/index39.js +1 -1
- package/dist/index40.cjs +1 -1
- package/dist/index40.js +1 -1
- package/dist/index42.cjs +1 -1
- package/dist/index42.js +1 -1
- package/dist/index45.cjs +1 -1
- package/dist/index45.js +30 -29
- package/dist/index54.cjs +1 -1
- package/dist/index56.cjs +1 -1
- package/dist/index58.cjs +1 -1
- package/dist/index61.cjs +1 -1
- package/dist/index79.cjs +1 -1
- package/dist/index79.js +1 -1
- package/dist/index80.cjs +1 -1
- package/dist/index80.js +1 -1
- package/dist/index81.cjs +6 -3
- package/dist/index81.js +10 -6
- package/dist/index82.cjs +1 -1
- package/dist/index82.js +7 -7
- package/dist/index84.cjs +1 -1
- package/dist/index84.js +7 -7
- package/dist/index86.cjs +1 -19
- package/dist/index86.js +24 -24
- package/dist/index87.cjs +1 -1
- package/dist/index87.js +13 -21
- package/dist/index88.cjs +104 -1
- package/dist/index88.js +119 -32
- package/dist/index89.cjs +1 -1
- package/dist/index89.js +67 -28
- package/dist/index90.cjs +1 -1
- package/dist/index90.js +27 -16
- package/dist/index91.cjs +1 -1
- package/dist/index91.js +2 -15
- package/dist/index92.cjs +1 -12
- package/dist/index92.js +41 -16
- package/dist/index93.cjs +1 -80
- package/dist/index93.js +11 -101
- package/dist/index94.cjs +1 -1
- package/dist/index94.js +33 -13
- package/dist/index95.cjs +1 -104
- package/dist/index95.js +27 -118
- package/dist/index96.cjs +19 -1
- package/dist/index96.js +23 -67
- package/dist/index97.cjs +1 -1
- package/dist/index97.js +18 -26
- package/dist/index98.cjs +1 -1
- package/dist/index98.js +15 -2
- package/dist/index99.cjs +80 -1
- package/dist/index99.js +101 -41
- package/package.json +18 -13
- package/dist/index113.cjs +0 -7
- package/dist/index113.js +0 -12
package/dist/index99.js
CHANGED
|
@@ -1,43 +1,103 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
1
|
+
import t from "styled-components";
|
|
2
|
+
import { BaseContainer as n, theme as i, Text as e, Banner as a, Button as l } from "@veeqo/ui";
|
|
3
|
+
import { VeeqoCommon as s } from "@veeqo/components";
|
|
4
|
+
import { motion as c } from "framer-motion";
|
|
5
|
+
import { notificationVariants as p } from "./index108.js";
|
|
6
|
+
const { Glyph: x } = s, u = t(c(n)).attrs(() => ({
|
|
7
|
+
variants: p,
|
|
8
|
+
initial: "initial",
|
|
9
|
+
animate: "animate",
|
|
10
|
+
exit: "exit"
|
|
11
|
+
}))`
|
|
12
|
+
display: flex;
|
|
13
|
+
position: fixed;
|
|
14
|
+
width: 100vw;
|
|
15
|
+
left: 0;
|
|
16
|
+
bottom: 24px;
|
|
17
|
+
z-index: 1001;
|
|
18
|
+
|
|
19
|
+
&.notification-enter {
|
|
20
|
+
opacity: 0;
|
|
21
|
+
transform: translateY(-16px);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&.notification-enter-active {
|
|
25
|
+
opacity: 1;
|
|
26
|
+
transform: translateY(0);
|
|
27
|
+
transition: 350ms ease;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&.notification-exit {
|
|
31
|
+
opacity: 0;
|
|
32
|
+
transform: translateY(16px);
|
|
33
|
+
transition: 350ms ease;
|
|
34
|
+
}
|
|
35
|
+
pointer-events: none;
|
|
36
|
+
`, w = t(n)`
|
|
37
|
+
display: inline-flex;
|
|
38
|
+
flex-direction: row;
|
|
39
|
+
align-items: center;
|
|
40
|
+
padding: 20px 24px 24px 24px;
|
|
41
|
+
border-radius: 4px;
|
|
42
|
+
margin: 0 auto;
|
|
43
|
+
background-color: #fff;
|
|
44
|
+
box-shadow: ${i.shadows.lg};
|
|
45
|
+
pointer-events: all;
|
|
46
|
+
`, y = t(a)`
|
|
47
|
+
display: inline-flex;
|
|
48
|
+
flex-direction: row;
|
|
49
|
+
align-items: center;
|
|
50
|
+
margin: 0 auto;
|
|
51
|
+
background-color: #fff;
|
|
52
|
+
box-shadow: ${i.shadows.lg};
|
|
53
|
+
pointer-events: all;
|
|
54
|
+
`, $ = t(l)`
|
|
55
|
+
margin-right: 16px;
|
|
56
|
+
`, b = t(e)`
|
|
57
|
+
line-height: 20px;
|
|
58
|
+
`, r = t(e)`
|
|
59
|
+
margin: ${(o) => o.margin ? o.margin : ""};
|
|
60
|
+
color: ${(o) => o.color};
|
|
61
|
+
`, v = t(e)`
|
|
62
|
+
margin-right: 8px;
|
|
63
|
+
color: ${(o) => o.color};
|
|
64
|
+
`, B = t(x)``, k = t(n)`
|
|
65
|
+
display: flex;
|
|
66
|
+
flex-direction: row;
|
|
67
|
+
align-items: flex-end;
|
|
68
|
+
flex-grow: 2;
|
|
69
|
+
margin-left: 24px;
|
|
70
|
+
margin-right: 24px;
|
|
71
|
+
`;
|
|
72
|
+
t.button`
|
|
73
|
+
display: flex;
|
|
74
|
+
flex-direction: row;
|
|
75
|
+
width: 100%;
|
|
76
|
+
padding: 12px 16px;
|
|
77
|
+
cursor: pointer;
|
|
78
|
+
|
|
79
|
+
& > ${r} {
|
|
80
|
+
white-space: nowrap;
|
|
81
|
+
user-select: none;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
&:hover {
|
|
85
|
+
background-color: ${i.colors.neutral.grey.lightest};
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
&:hover > ${r} {
|
|
89
|
+
color: ${i.colors.secondary.blue.base};
|
|
90
|
+
}
|
|
91
|
+
`;
|
|
41
92
|
export {
|
|
42
|
-
|
|
93
|
+
v as Bold,
|
|
94
|
+
$ as Button,
|
|
95
|
+
w as Container,
|
|
96
|
+
B as Glyph,
|
|
97
|
+
b as Hint,
|
|
98
|
+
u as Notification,
|
|
99
|
+
y as Pill,
|
|
100
|
+
r as Text,
|
|
101
|
+
x as UIGlyph,
|
|
102
|
+
k as Wrap
|
|
43
103
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veeqo/transfigure",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.37",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "dist/index.cjs",
|
|
@@ -19,7 +19,8 @@
|
|
|
19
19
|
"scripts": {
|
|
20
20
|
"dev": "vite",
|
|
21
21
|
"build": "tsc && vite build",
|
|
22
|
-
"lint": "eslint .",
|
|
22
|
+
"lint": "eslint --quiet src --ext .ts,.tsx,.js,.jsx",
|
|
23
|
+
"lint:fix": "eslint --quiet src --ext .ts,.tsx,.js,.jsx --fix",
|
|
23
24
|
"preview": "vite preview",
|
|
24
25
|
"test": "vitest",
|
|
25
26
|
"test:watch": "vitest watch",
|
|
@@ -27,7 +28,7 @@
|
|
|
27
28
|
"test:ui": "vitest --ui",
|
|
28
29
|
"storybook": "storybook dev -p 6006",
|
|
29
30
|
"build-storybook": "storybook build",
|
|
30
|
-
"prepublishOnly": "npm test run && npm run build"
|
|
31
|
+
"prepublishOnly": "npm run lint && npm test run && npm run build"
|
|
31
32
|
},
|
|
32
33
|
"peerDependencies": {
|
|
33
34
|
"@dnd-kit/core": "^6.0.7",
|
|
@@ -49,6 +50,7 @@
|
|
|
49
50
|
"react-dom": "17.0.2",
|
|
50
51
|
"react-hook-form": "^6.15.1",
|
|
51
52
|
"react-transition-group": "^4.4.1",
|
|
53
|
+
"react-use": "^15.3.8",
|
|
52
54
|
"styled-components": "^5.1.1",
|
|
53
55
|
"swr": "^2.0.4",
|
|
54
56
|
"uid": "^2.0.2"
|
|
@@ -64,7 +66,7 @@
|
|
|
64
66
|
"@babel/runtime-corejs3": "^7.27.1",
|
|
65
67
|
"@dnd-kit/core": "^6.0.7",
|
|
66
68
|
"@dnd-kit/sortable": "^7.0.2",
|
|
67
|
-
"@eslint/js": "^
|
|
69
|
+
"@eslint/js": "^9.21.0",
|
|
68
70
|
"@internationalized/date": "3.5.4",
|
|
69
71
|
"@material-ui/core": "^4.11.0",
|
|
70
72
|
"@storybook/addon-essentials": "^8.6.12",
|
|
@@ -84,6 +86,8 @@
|
|
|
84
86
|
"@types/react-dom": "17.0.2",
|
|
85
87
|
"@types/styled-components": "^5.1.27",
|
|
86
88
|
"@types/testing-library__jest-dom": "^6.0.0",
|
|
89
|
+
"@typescript-eslint/eslint-plugin": "^8.37.0",
|
|
90
|
+
"@typescript-eslint/parser": "^8.37.0",
|
|
87
91
|
"@veeqo/components": "6.1.1",
|
|
88
92
|
"@veeqo/ui": "^9.11.0",
|
|
89
93
|
"@vitejs/plugin-react": "^4.3.4",
|
|
@@ -93,16 +97,14 @@
|
|
|
93
97
|
"ajv": "^8.17.1",
|
|
94
98
|
"axios": "^1.6.2",
|
|
95
99
|
"babel-plugin-styled-components": "^2.1.4",
|
|
96
|
-
"eslint": "^
|
|
97
|
-
"eslint-
|
|
98
|
-
"eslint-
|
|
99
|
-
"eslint-
|
|
100
|
-
"eslint-plugin-
|
|
101
|
-
"eslint-plugin-
|
|
102
|
-
"eslint-plugin-react": "^7.37.5",
|
|
100
|
+
"eslint": "^9.21.0",
|
|
101
|
+
"eslint-plugin-import": "^2.32.0",
|
|
102
|
+
"eslint-plugin-jsx-a11y": "^6.9.0",
|
|
103
|
+
"eslint-plugin-prettier": "^5.1.3",
|
|
104
|
+
"eslint-plugin-react": "^7.34.4",
|
|
105
|
+
"eslint-plugin-react-hooks": "^5.1.0",
|
|
103
106
|
"eslint-plugin-react-refresh": "^0.4.19",
|
|
104
|
-
"eslint-plugin-
|
|
105
|
-
"eslint-plugin-unused-imports": "^4.1.4",
|
|
107
|
+
"eslint-plugin-unused-imports": "^4.0.0",
|
|
106
108
|
"framer-motion": "^6.5.1",
|
|
107
109
|
"globals": "^15.15.0",
|
|
108
110
|
"jest-axe": "~6.0.0",
|
|
@@ -115,6 +117,7 @@
|
|
|
115
117
|
"msw": "^2.8.4",
|
|
116
118
|
"msw-storybook-addon": "^2.0.4",
|
|
117
119
|
"playwright": "^1.52.0",
|
|
120
|
+
"prettier": "^3.6.2",
|
|
118
121
|
"react": "17.0.2",
|
|
119
122
|
"react-aria-components": "1.2.1",
|
|
120
123
|
"react-dom": "17.0.2",
|
|
@@ -124,10 +127,12 @@
|
|
|
124
127
|
"styled-components": "^5.1.1",
|
|
125
128
|
"swr": "^2.0.4",
|
|
126
129
|
"typescript": "^5.8.3",
|
|
130
|
+
"typescript-eslint": "^8.37.0",
|
|
127
131
|
"uid": "^2.0.2",
|
|
128
132
|
"vite": "^6.2.0",
|
|
129
133
|
"vite-css-modules": "^1.8.6",
|
|
130
134
|
"vite-plugin-dts": "^4.5.3",
|
|
135
|
+
"vite-plugin-eslint": "^1.8.1",
|
|
131
136
|
"vite-plugin-externalize-deps": "^0.9.0",
|
|
132
137
|
"vitest": "^3.1.2"
|
|
133
138
|
},
|
package/dist/index113.cjs
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("styled-components"),e=require("@veeqo/ui"),a=t=>t&&t.__esModule?t:{default:t},i=a(o),s=i.default(e.BaseContainer)`
|
|
2
|
-
padding: ${e.theme.sizes.sm};
|
|
3
|
-
// This calculation limits the height to a max of 100% of the viewport and uses offset as the position of the CTA button
|
|
4
|
-
// with an additional sizes.base offset at the bottom.
|
|
5
|
-
max-height: calc(100vh ${({offset:t})=>t&&`- ${t}px`} - ${e.theme.sizes.base});
|
|
6
|
-
overflow-y: auto;
|
|
7
|
-
`;exports.AdaptiveStyledContainer=s;
|
package/dist/index113.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import o from "styled-components";
|
|
2
|
-
import { theme as e, BaseContainer as i } from "@veeqo/ui";
|
|
3
|
-
const h = o(i)`
|
|
4
|
-
padding: ${e.sizes.sm};
|
|
5
|
-
// This calculation limits the height to a max of 100% of the viewport and uses offset as the position of the CTA button
|
|
6
|
-
// with an additional sizes.base offset at the bottom.
|
|
7
|
-
max-height: calc(100vh ${({ offset: t }) => t && `- ${t}px`} - ${e.sizes.base});
|
|
8
|
-
overflow-y: auto;
|
|
9
|
-
`;
|
|
10
|
-
export {
|
|
11
|
-
h as AdaptiveStyledContainer
|
|
12
|
-
};
|