@ws-ui/shared 0.2.23 → 0.2.24
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/README.md +27 -27
- package/dist/declarations/datasources/cache.d.ts +26 -26
- package/dist/declarations/datasources/dataclass.d.ts +47 -47
- package/dist/declarations/datasources/datasource.d.ts +373 -373
- package/dist/declarations/datasources/datastore.d.ts +62 -62
- package/dist/declarations/datasources/entitysel.d.ts +68 -68
- package/dist/declarations/datasources/interfaces/catalog.d.ts +115 -115
- package/dist/declarations/datasources/interfaces/dataclass-attribute.d.ts +88 -88
- package/dist/declarations/datasources/methods.d.ts +88 -88
- package/dist/declarations/datasources/rest.d.ts +18 -18
- package/dist/declarations/http-methods.d.ts +70 -70
- package/dist/declarations/index.d.ts +9 -9
- package/dist/declarations/webform/webform.d.ts +259 -259
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js.map +1 -1
- package/dist/tailwind.preset.js +148 -148
- package/dist/types/webform-editor.d.ts +1 -0
- package/package.json +73 -73
package/dist/tailwind.preset.js
CHANGED
|
@@ -1,148 +1,148 @@
|
|
|
1
|
-
// Tailwind preset
|
|
2
|
-
module.exports = {
|
|
3
|
-
theme: {
|
|
4
|
-
extend: {
|
|
5
|
-
colors: {
|
|
6
|
-
'fd-gray': {
|
|
7
|
-
lighter: '#EAEAEA',
|
|
8
|
-
light: '#444444',
|
|
9
|
-
default: '#313131',
|
|
10
|
-
mild: '#B3B3B3',
|
|
11
|
-
dark: '#222222',
|
|
12
|
-
darker: '#151515',
|
|
13
|
-
},
|
|
14
|
-
'fd-blue': {
|
|
15
|
-
lighter: '#03bbff',
|
|
16
|
-
light: '#168EDB',
|
|
17
|
-
default: '#004289',
|
|
18
|
-
},
|
|
19
|
-
'fd-orange': {
|
|
20
|
-
default: 'rgb(172, 110, 17)',
|
|
21
|
-
},
|
|
22
|
-
'fd-custom': {
|
|
23
|
-
'light-blue': '#BADFFF',
|
|
24
|
-
'dark-blue': '005BA9',
|
|
25
|
-
},
|
|
26
|
-
'fd-purple': {
|
|
27
|
-
lighter: '#CDB7FA',
|
|
28
|
-
darker: '#6A22FC',
|
|
29
|
-
default: '#CDB7FA',
|
|
30
|
-
},
|
|
31
|
-
grey: {
|
|
32
|
-
50: '#F1F5F9',
|
|
33
|
-
100: '#CCCCCC',
|
|
34
|
-
200: '#888888',
|
|
35
|
-
300: '#535353',
|
|
36
|
-
400: '#484848',
|
|
37
|
-
500: '#444444',
|
|
38
|
-
600: '#3F3F3F',
|
|
39
|
-
700: '#393939',
|
|
40
|
-
800: '#383838',
|
|
41
|
-
900: '#262626',
|
|
42
|
-
},
|
|
43
|
-
blue: {
|
|
44
|
-
400: '#1D9DFF',
|
|
45
|
-
900: '#074289',
|
|
46
|
-
},
|
|
47
|
-
red: {
|
|
48
|
-
400: '#F05252',
|
|
49
|
-
500: '#CE5151',
|
|
50
|
-
600: '#FB7373',
|
|
51
|
-
},
|
|
52
|
-
primary: {
|
|
53
|
-
light: '#E8C3FF',
|
|
54
|
-
dark: '#B174E5',
|
|
55
|
-
darker: '#925FBE',
|
|
56
|
-
DEFAULT: '#BB0BD1',
|
|
57
|
-
hover: '#75499A',
|
|
58
|
-
},
|
|
59
|
-
purple: {
|
|
60
|
-
50: '#F2DDFF',
|
|
61
|
-
100: '#EDD0FF',
|
|
62
|
-
200: '#E8C3FF',
|
|
63
|
-
300: '#E3B7FF',
|
|
64
|
-
400: '#D99FFD',
|
|
65
|
-
500: '#C683FF',
|
|
66
|
-
600: '#B174E5',
|
|
67
|
-
700: '#A15FD8',
|
|
68
|
-
800: '#925FBE',
|
|
69
|
-
900: '#BB0BD1',
|
|
70
|
-
},
|
|
71
|
-
negative: {
|
|
72
|
-
200: '#F9BABA',
|
|
73
|
-
400: '#C54242',
|
|
74
|
-
},
|
|
75
|
-
},
|
|
76
|
-
fontFamily: {
|
|
77
|
-
'open-sans': ['Poppins', 'Open Sans', 'sans-serif'],
|
|
78
|
-
roboto: ['Roboto', 'sans-serif'],
|
|
79
|
-
poppins: ['Poppins', 'sans-serif'],
|
|
80
|
-
},
|
|
81
|
-
fontSize: {
|
|
82
|
-
xxs: '.55rem',
|
|
83
|
-
xs: '.65rem',
|
|
84
|
-
s: '.75rem',
|
|
85
|
-
},
|
|
86
|
-
cursor: {
|
|
87
|
-
grab: 'grab',
|
|
88
|
-
},
|
|
89
|
-
outlineWidth: {
|
|
90
|
-
xxs: '0.1px',
|
|
91
|
-
xs: '0.3px',
|
|
92
|
-
s: '0.5px',
|
|
93
|
-
},
|
|
94
|
-
typography: (theme) => ({
|
|
95
|
-
sm: {
|
|
96
|
-
css: {
|
|
97
|
-
h1: {
|
|
98
|
-
color: theme('colors.white'),
|
|
99
|
-
},
|
|
100
|
-
h2: {
|
|
101
|
-
color: theme('colors.white'),
|
|
102
|
-
},
|
|
103
|
-
h3: {
|
|
104
|
-
color: theme('colors.white'),
|
|
105
|
-
'margin-top': '0px',
|
|
106
|
-
},
|
|
107
|
-
h4: {
|
|
108
|
-
color: theme('colors.white'),
|
|
109
|
-
},
|
|
110
|
-
strong: {
|
|
111
|
-
color: theme('colors.grey.100'),
|
|
112
|
-
},
|
|
113
|
-
a: {
|
|
114
|
-
color: theme('colors.blue.200'),
|
|
115
|
-
},
|
|
116
|
-
blockquote: {
|
|
117
|
-
color: theme('colors.grey.100'),
|
|
118
|
-
},
|
|
119
|
-
img: {
|
|
120
|
-
'margin-top': '5px',
|
|
121
|
-
'margin-bottom': '5px',
|
|
122
|
-
},
|
|
123
|
-
},
|
|
124
|
-
},
|
|
125
|
-
}),
|
|
126
|
-
borderRadius: {
|
|
127
|
-
DEFAULT: '4px',
|
|
128
|
-
},
|
|
129
|
-
boxShadow: {
|
|
130
|
-
toolbar: '0px 3px 6px #00000029',
|
|
131
|
-
},
|
|
132
|
-
minHeight: {
|
|
133
|
-
6: '1.5rem',
|
|
134
|
-
},
|
|
135
|
-
height: {
|
|
136
|
-
4.5: '1.125rem',
|
|
137
|
-
},
|
|
138
|
-
divideWidth: {
|
|
139
|
-
DEFAULT: '0.5px',
|
|
140
|
-
},
|
|
141
|
-
borderWidth: {
|
|
142
|
-
DEFAULT: '0.5px',
|
|
143
|
-
px: '1px',
|
|
144
|
-
},
|
|
145
|
-
},
|
|
146
|
-
},
|
|
147
|
-
plugins: [require('@tailwindcss/typography')],
|
|
148
|
-
};
|
|
1
|
+
// Tailwind preset
|
|
2
|
+
module.exports = {
|
|
3
|
+
theme: {
|
|
4
|
+
extend: {
|
|
5
|
+
colors: {
|
|
6
|
+
'fd-gray': {
|
|
7
|
+
lighter: '#EAEAEA',
|
|
8
|
+
light: '#444444',
|
|
9
|
+
default: '#313131',
|
|
10
|
+
mild: '#B3B3B3',
|
|
11
|
+
dark: '#222222',
|
|
12
|
+
darker: '#151515',
|
|
13
|
+
},
|
|
14
|
+
'fd-blue': {
|
|
15
|
+
lighter: '#03bbff',
|
|
16
|
+
light: '#168EDB',
|
|
17
|
+
default: '#004289',
|
|
18
|
+
},
|
|
19
|
+
'fd-orange': {
|
|
20
|
+
default: 'rgb(172, 110, 17)',
|
|
21
|
+
},
|
|
22
|
+
'fd-custom': {
|
|
23
|
+
'light-blue': '#BADFFF',
|
|
24
|
+
'dark-blue': '005BA9',
|
|
25
|
+
},
|
|
26
|
+
'fd-purple': {
|
|
27
|
+
lighter: '#CDB7FA',
|
|
28
|
+
darker: '#6A22FC',
|
|
29
|
+
default: '#CDB7FA',
|
|
30
|
+
},
|
|
31
|
+
grey: {
|
|
32
|
+
50: '#F1F5F9',
|
|
33
|
+
100: '#CCCCCC',
|
|
34
|
+
200: '#888888',
|
|
35
|
+
300: '#535353',
|
|
36
|
+
400: '#484848',
|
|
37
|
+
500: '#444444',
|
|
38
|
+
600: '#3F3F3F',
|
|
39
|
+
700: '#393939',
|
|
40
|
+
800: '#383838',
|
|
41
|
+
900: '#262626',
|
|
42
|
+
},
|
|
43
|
+
blue: {
|
|
44
|
+
400: '#1D9DFF',
|
|
45
|
+
900: '#074289',
|
|
46
|
+
},
|
|
47
|
+
red: {
|
|
48
|
+
400: '#F05252',
|
|
49
|
+
500: '#CE5151',
|
|
50
|
+
600: '#FB7373',
|
|
51
|
+
},
|
|
52
|
+
primary: {
|
|
53
|
+
light: '#E8C3FF',
|
|
54
|
+
dark: '#B174E5',
|
|
55
|
+
darker: '#925FBE',
|
|
56
|
+
DEFAULT: '#BB0BD1',
|
|
57
|
+
hover: '#75499A',
|
|
58
|
+
},
|
|
59
|
+
purple: {
|
|
60
|
+
50: '#F2DDFF',
|
|
61
|
+
100: '#EDD0FF',
|
|
62
|
+
200: '#E8C3FF',
|
|
63
|
+
300: '#E3B7FF',
|
|
64
|
+
400: '#D99FFD',
|
|
65
|
+
500: '#C683FF',
|
|
66
|
+
600: '#B174E5',
|
|
67
|
+
700: '#A15FD8',
|
|
68
|
+
800: '#925FBE',
|
|
69
|
+
900: '#BB0BD1',
|
|
70
|
+
},
|
|
71
|
+
negative: {
|
|
72
|
+
200: '#F9BABA',
|
|
73
|
+
400: '#C54242',
|
|
74
|
+
},
|
|
75
|
+
},
|
|
76
|
+
fontFamily: {
|
|
77
|
+
'open-sans': ['Poppins', 'Open Sans', 'sans-serif'],
|
|
78
|
+
roboto: ['Roboto', 'sans-serif'],
|
|
79
|
+
poppins: ['Poppins', 'sans-serif'],
|
|
80
|
+
},
|
|
81
|
+
fontSize: {
|
|
82
|
+
xxs: '.55rem',
|
|
83
|
+
xs: '.65rem',
|
|
84
|
+
s: '.75rem',
|
|
85
|
+
},
|
|
86
|
+
cursor: {
|
|
87
|
+
grab: 'grab',
|
|
88
|
+
},
|
|
89
|
+
outlineWidth: {
|
|
90
|
+
xxs: '0.1px',
|
|
91
|
+
xs: '0.3px',
|
|
92
|
+
s: '0.5px',
|
|
93
|
+
},
|
|
94
|
+
typography: (theme) => ({
|
|
95
|
+
sm: {
|
|
96
|
+
css: {
|
|
97
|
+
h1: {
|
|
98
|
+
color: theme('colors.white'),
|
|
99
|
+
},
|
|
100
|
+
h2: {
|
|
101
|
+
color: theme('colors.white'),
|
|
102
|
+
},
|
|
103
|
+
h3: {
|
|
104
|
+
color: theme('colors.white'),
|
|
105
|
+
'margin-top': '0px',
|
|
106
|
+
},
|
|
107
|
+
h4: {
|
|
108
|
+
color: theme('colors.white'),
|
|
109
|
+
},
|
|
110
|
+
strong: {
|
|
111
|
+
color: theme('colors.grey.100'),
|
|
112
|
+
},
|
|
113
|
+
a: {
|
|
114
|
+
color: theme('colors.blue.200'),
|
|
115
|
+
},
|
|
116
|
+
blockquote: {
|
|
117
|
+
color: theme('colors.grey.100'),
|
|
118
|
+
},
|
|
119
|
+
img: {
|
|
120
|
+
'margin-top': '5px',
|
|
121
|
+
'margin-bottom': '5px',
|
|
122
|
+
},
|
|
123
|
+
},
|
|
124
|
+
},
|
|
125
|
+
}),
|
|
126
|
+
borderRadius: {
|
|
127
|
+
DEFAULT: '4px',
|
|
128
|
+
},
|
|
129
|
+
boxShadow: {
|
|
130
|
+
toolbar: '0px 3px 6px #00000029',
|
|
131
|
+
},
|
|
132
|
+
minHeight: {
|
|
133
|
+
6: '1.5rem',
|
|
134
|
+
},
|
|
135
|
+
height: {
|
|
136
|
+
4.5: '1.125rem',
|
|
137
|
+
},
|
|
138
|
+
divideWidth: {
|
|
139
|
+
DEFAULT: '0.5px',
|
|
140
|
+
},
|
|
141
|
+
borderWidth: {
|
|
142
|
+
DEFAULT: '0.5px',
|
|
143
|
+
px: '1px',
|
|
144
|
+
},
|
|
145
|
+
},
|
|
146
|
+
},
|
|
147
|
+
plugins: [require('@tailwindcss/typography')],
|
|
148
|
+
};
|
package/package.json
CHANGED
|
@@ -1,73 +1,73 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@ws-ui/shared",
|
|
3
|
-
"private": false,
|
|
4
|
-
"version": "0.2.
|
|
5
|
-
"type": "module",
|
|
6
|
-
"main": "./dist/index.cjs.js",
|
|
7
|
-
"module": "./dist/index.es.js",
|
|
8
|
-
"types": "./dist/index.d.ts",
|
|
9
|
-
"files": [
|
|
10
|
-
"dist"
|
|
11
|
-
],
|
|
12
|
-
"scripts": {
|
|
13
|
-
"dev": "vite",
|
|
14
|
-
"prepack": "npm run build",
|
|
15
|
-
"build": "tsc && vite build",
|
|
16
|
-
"postbuild": "yalc push --changed",
|
|
17
|
-
"format": "prettier --write src",
|
|
18
|
-
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
|
19
|
-
"preview": "vite preview",
|
|
20
|
-
"test": "jest"
|
|
21
|
-
},
|
|
22
|
-
"dependencies": {
|
|
23
|
-
"hotkeys-js": "^3.8.7",
|
|
24
|
-
"react-responsive-carousel": "^3.2.21"
|
|
25
|
-
},
|
|
26
|
-
"peerDependencies": {
|
|
27
|
-
"@emotion/react": "^11.4.0",
|
|
28
|
-
"@emotion/styled": "^11.3.0",
|
|
29
|
-
"@headlessui/react": "^1.7.14",
|
|
30
|
-
"@popperjs/core": "^2.9.2",
|
|
31
|
-
"@radix-ui/react-popover": "^0.1.6",
|
|
32
|
-
"@ws-ui/craftjs-core": "^0.2.13",
|
|
33
|
-
"@ws-ui/icons": "^0.0.28",
|
|
34
|
-
"classnames": "^2.3.1",
|
|
35
|
-
"lodash": "^4.17.21",
|
|
36
|
-
"markdown-to-jsx": "^7.1.3",
|
|
37
|
-
"react": "^17.0.2",
|
|
38
|
-
"react-dom": "^17.0.2",
|
|
39
|
-
"react-popper": "^2.2.5",
|
|
40
|
-
"rxjs": "^7.0.1",
|
|
41
|
-
"short-uuid": "^4.2.0",
|
|
42
|
-
"vscode-debugprotocol": "^1.51.0"
|
|
43
|
-
},
|
|
44
|
-
"devDependencies": {
|
|
45
|
-
"@jest/globals": "^29.7.0",
|
|
46
|
-
"@tailwindcss/typography": "^0.5.10",
|
|
47
|
-
"@testing-library/jest-dom": "^6.4.2",
|
|
48
|
-
"@testing-library/react": "^12.1.5",
|
|
49
|
-
"@types/classnames": "^2.3.0",
|
|
50
|
-
"@types/jest": "^29.5.12",
|
|
51
|
-
"@types/lodash": "^4.14.199",
|
|
52
|
-
"@types/node": "^20.6.5",
|
|
53
|
-
"@types/react": "^17.0.24",
|
|
54
|
-
"@types/react-dom": "^17.0.5",
|
|
55
|
-
"@typescript-eslint/eslint-plugin": "^6.0.0",
|
|
56
|
-
"@typescript-eslint/parser": "^6.0.0",
|
|
57
|
-
"@vitejs/plugin-react": "^4.0.3",
|
|
58
|
-
"autoprefixer": "^10.4.16",
|
|
59
|
-
"eslint": "^8.45.0",
|
|
60
|
-
"eslint-plugin-react-hooks": "^4.6.0",
|
|
61
|
-
"eslint-plugin-react-refresh": "^0.4.3",
|
|
62
|
-
"jest": "^29.7.0",
|
|
63
|
-
"postcss": "^8.4.31",
|
|
64
|
-
"prettier": "^3.2.5",
|
|
65
|
-
"tailwindcss": "^3.3.3",
|
|
66
|
-
"ts-jest": "^29.1.2",
|
|
67
|
-
"typescript": "^5.0.2",
|
|
68
|
-
"vite": "^4.4.5",
|
|
69
|
-
"vite-plugin-dts": "^3.5.4",
|
|
70
|
-
"vite-plugin-static-copy": "^0.17.0",
|
|
71
|
-
"yalc": "^1.0.0-pre.53"
|
|
72
|
-
}
|
|
73
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@ws-ui/shared",
|
|
3
|
+
"private": false,
|
|
4
|
+
"version": "0.2.24",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.cjs.js",
|
|
7
|
+
"module": "./dist/index.es.js",
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"files": [
|
|
10
|
+
"dist"
|
|
11
|
+
],
|
|
12
|
+
"scripts": {
|
|
13
|
+
"dev": "vite",
|
|
14
|
+
"prepack": "npm run build",
|
|
15
|
+
"build": "tsc && vite build",
|
|
16
|
+
"postbuild": "yalc push --changed",
|
|
17
|
+
"format": "prettier --write src",
|
|
18
|
+
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
|
19
|
+
"preview": "vite preview",
|
|
20
|
+
"test": "jest"
|
|
21
|
+
},
|
|
22
|
+
"dependencies": {
|
|
23
|
+
"hotkeys-js": "^3.8.7",
|
|
24
|
+
"react-responsive-carousel": "^3.2.21"
|
|
25
|
+
},
|
|
26
|
+
"peerDependencies": {
|
|
27
|
+
"@emotion/react": "^11.4.0",
|
|
28
|
+
"@emotion/styled": "^11.3.0",
|
|
29
|
+
"@headlessui/react": "^1.7.14",
|
|
30
|
+
"@popperjs/core": "^2.9.2",
|
|
31
|
+
"@radix-ui/react-popover": "^0.1.6",
|
|
32
|
+
"@ws-ui/craftjs-core": "^0.2.13",
|
|
33
|
+
"@ws-ui/icons": "^0.0.28",
|
|
34
|
+
"classnames": "^2.3.1",
|
|
35
|
+
"lodash": "^4.17.21",
|
|
36
|
+
"markdown-to-jsx": "^7.1.3",
|
|
37
|
+
"react": "^17.0.2",
|
|
38
|
+
"react-dom": "^17.0.2",
|
|
39
|
+
"react-popper": "^2.2.5",
|
|
40
|
+
"rxjs": "^7.0.1",
|
|
41
|
+
"short-uuid": "^4.2.0",
|
|
42
|
+
"vscode-debugprotocol": "^1.51.0"
|
|
43
|
+
},
|
|
44
|
+
"devDependencies": {
|
|
45
|
+
"@jest/globals": "^29.7.0",
|
|
46
|
+
"@tailwindcss/typography": "^0.5.10",
|
|
47
|
+
"@testing-library/jest-dom": "^6.4.2",
|
|
48
|
+
"@testing-library/react": "^12.1.5",
|
|
49
|
+
"@types/classnames": "^2.3.0",
|
|
50
|
+
"@types/jest": "^29.5.12",
|
|
51
|
+
"@types/lodash": "^4.14.199",
|
|
52
|
+
"@types/node": "^20.6.5",
|
|
53
|
+
"@types/react": "^17.0.24",
|
|
54
|
+
"@types/react-dom": "^17.0.5",
|
|
55
|
+
"@typescript-eslint/eslint-plugin": "^6.0.0",
|
|
56
|
+
"@typescript-eslint/parser": "^6.0.0",
|
|
57
|
+
"@vitejs/plugin-react": "^4.0.3",
|
|
58
|
+
"autoprefixer": "^10.4.16",
|
|
59
|
+
"eslint": "^8.45.0",
|
|
60
|
+
"eslint-plugin-react-hooks": "^4.6.0",
|
|
61
|
+
"eslint-plugin-react-refresh": "^0.4.3",
|
|
62
|
+
"jest": "^29.7.0",
|
|
63
|
+
"postcss": "^8.4.31",
|
|
64
|
+
"prettier": "^3.2.5",
|
|
65
|
+
"tailwindcss": "^3.3.3",
|
|
66
|
+
"ts-jest": "^29.1.2",
|
|
67
|
+
"typescript": "^5.0.2",
|
|
68
|
+
"vite": "^4.4.5",
|
|
69
|
+
"vite-plugin-dts": "^3.5.4",
|
|
70
|
+
"vite-plugin-static-copy": "^0.17.0",
|
|
71
|
+
"yalc": "^1.0.0-pre.53"
|
|
72
|
+
}
|
|
73
|
+
}
|