@ws-ui/shared 1.6.6 → 1.6.7

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ws-ui/shared",
3
- "version": "1.6.6",
3
+ "version": "1.6.7",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs.js",
6
6
  "module": "./dist/index.es.js",
@@ -32,6 +32,7 @@
32
32
  "jsonschema": "^1.5.0",
33
33
  "lodash": "^4.17.21",
34
34
  "markdown-to-jsx": "^7.1.3",
35
+ "marked-react": "^3.0.0",
35
36
  "minimatch": "^10.0.1",
36
37
  "react": "^17.0.2",
37
38
  "react-dom": "^17.0.2",
@@ -1,148 +0,0 @@
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': ['Twemoji Country Flags', 'Poppins', 'Open Sans', 'sans-serif'],
78
- roboto: ['Twemoji Country Flags', 'Roboto', 'sans-serif'],
79
- poppins: ['Twemoji Country Flags', '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
- };