@tsed/tailwind-formio 2.3.1 → 2.3.3
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/index.js +72 -73
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +0 -1
- package/dist/index.modern.js.map +1 -1
- package/dist/templates/stories/alert.stories.d.ts +1 -1
- package/dist/templates/stories/badge.stories.d.ts +1 -1
- package/dist/templates/stories/pagination.stories.d.ts +1 -1
- package/dist/templates/tailwind/button/button.stories.d.ts +2 -2
- package/package.json +12 -5
- package/src/templates/stories/alert.stories.jsx +1 -1
- package/src/templates/stories/badge.stories.jsx +1 -1
- package/src/templates/stories/breadcrumbs.stories.jsx +3 -0
- package/src/templates/stories/pagination.stories.jsx +6 -1
- package/src/templates/tailwind/button/button.stories.jsx +2 -2
- package/src/templates/tailwind/index.ts +0 -1
|
@@ -10,11 +10,11 @@ declare namespace _default {
|
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
12
|
export default _default;
|
|
13
|
-
export function Sandbox(
|
|
13
|
+
export function Sandbox(): React.JSX.Element;
|
|
14
14
|
export namespace Sandbox {
|
|
15
15
|
const args: {};
|
|
16
16
|
}
|
|
17
|
-
export function ButtonWithIcon(
|
|
17
|
+
export function ButtonWithIcon(): React.JSX.Element;
|
|
18
18
|
export namespace ButtonWithIcon {
|
|
19
19
|
const args_1: {};
|
|
20
20
|
export { args_1 as args };
|
package/package.json
CHANGED
|
@@ -1,21 +1,28 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsed/tailwind-formio",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.3",
|
|
4
4
|
"description": "Tailwind templates for form.io forms.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.modern.js",
|
|
7
7
|
"source": "src/index.ts",
|
|
8
|
+
"type": "commonjs",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"tsed-source": "./src/index.ts",
|
|
12
|
+
"import": "./dist/index.modern.js",
|
|
13
|
+
"require": "./dist/index.js",
|
|
14
|
+
"default": "./dist/index.modern.js"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
8
17
|
"scripts": {
|
|
9
|
-
"lint": "eslint \"**/*.{js,jsx,ts,tsx}\"",
|
|
10
|
-
"lint:fix": "yarn lint --fix",
|
|
11
18
|
"watch": "nodemon --watch ./src --ext ts,js,ejs --exec \"yarn build\"",
|
|
12
19
|
"build:templates": "gulp templates",
|
|
13
20
|
"build:source": "microbundle --no-compress --format modern,cjs --jsx React.createElement --jsxFragment React.Fragment --globals react/jsx-runtime=jsx",
|
|
14
21
|
"build": "gulp templates && yarn build:source"
|
|
15
22
|
},
|
|
16
23
|
"devDependencies": {
|
|
17
|
-
"@tsed/config": "2.3.
|
|
18
|
-
"@tsed/tailwind": "2.3.
|
|
24
|
+
"@tsed/config": "2.3.3",
|
|
25
|
+
"@tsed/tailwind": "2.3.3",
|
|
19
26
|
"cross-env": "7.0.3",
|
|
20
27
|
"gulp": "^4.0.2",
|
|
21
28
|
"gulp-insert": "^0.5.0",
|
|
@@ -39,6 +39,7 @@ export const Sandbox = (args) => {
|
|
|
39
39
|
<nav aria-label='breadcrumb'>
|
|
40
40
|
<ol className={"breadcrumb bg-" + args.bgColor}>
|
|
41
41
|
<li className='breadcrumb-item'>
|
|
42
|
+
{/* eslint-disable-next-line jsx-a11y/anchor-is-valid */}
|
|
42
43
|
<a href='#'>Home</a>
|
|
43
44
|
</li>
|
|
44
45
|
<li className='breadcrumb-item active' aria-current='page'>
|
|
@@ -50,9 +51,11 @@ export const Sandbox = (args) => {
|
|
|
50
51
|
<nav aria-label='breadcrumb'>
|
|
51
52
|
<ol className={"breadcrumb bg-" + args.bgColor}>
|
|
52
53
|
<li className='breadcrumb-item'>
|
|
54
|
+
{/* eslint-disable-next-line jsx-a11y/anchor-is-valid */}
|
|
53
55
|
<a href='#'>Home</a>
|
|
54
56
|
</li>
|
|
55
57
|
<li className='breadcrumb-item'>
|
|
58
|
+
{/* eslint-disable-next-line jsx-a11y/anchor-is-valid */}
|
|
56
59
|
<a href='#'>Library</a>
|
|
57
60
|
</li>
|
|
58
61
|
<li className='breadcrumb-item active' aria-current='page'>
|
|
@@ -12,32 +12,37 @@ export default {
|
|
|
12
12
|
}
|
|
13
13
|
};
|
|
14
14
|
|
|
15
|
-
export const Sandbox = (
|
|
15
|
+
export const Sandbox = () => {
|
|
16
16
|
return (
|
|
17
17
|
<div>
|
|
18
18
|
<nav aria-label='...'>
|
|
19
19
|
<ul className='pagination'>
|
|
20
20
|
<li className='page-item disabled'>
|
|
21
|
+
{/* eslint-disable-next-line jsx-a11y/anchor-is-valid */}
|
|
21
22
|
<a className='page-link' href='#' tabIndex='-1' aria-disabled='true'>
|
|
22
23
|
Previous
|
|
23
24
|
</a>
|
|
24
25
|
</li>
|
|
25
26
|
<li className='page-item'>
|
|
27
|
+
{/* eslint-disable-next-line jsx-a11y/anchor-is-valid */}
|
|
26
28
|
<a className='page-link' href='#'>
|
|
27
29
|
1
|
|
28
30
|
</a>
|
|
29
31
|
</li>
|
|
30
32
|
<li className='page-item active' aria-current='page'>
|
|
33
|
+
{/* eslint-disable-next-line jsx-a11y/anchor-is-valid */}
|
|
31
34
|
<a className='page-link' href='#'>
|
|
32
35
|
2
|
|
33
36
|
</a>
|
|
34
37
|
</li>
|
|
35
38
|
<li className='page-item'>
|
|
39
|
+
{/* eslint-disable-next-line jsx-a11y/anchor-is-valid */}
|
|
36
40
|
<a className='page-link' href='#'>
|
|
37
41
|
3
|
|
38
42
|
</a>
|
|
39
43
|
</li>
|
|
40
44
|
<li className='page-item'>
|
|
45
|
+
{/* eslint-disable-next-line jsx-a11y/anchor-is-valid */}
|
|
41
46
|
<a className='page-link' href='#'>
|
|
42
47
|
Next
|
|
43
48
|
</a>
|
|
@@ -12,7 +12,7 @@ export default {
|
|
|
12
12
|
}
|
|
13
13
|
};
|
|
14
14
|
|
|
15
|
-
export const Sandbox = (
|
|
15
|
+
export const Sandbox = () => {
|
|
16
16
|
return (
|
|
17
17
|
<div>
|
|
18
18
|
<div className={"mb-5"}>
|
|
@@ -74,7 +74,7 @@ export const Sandbox = (args) => {
|
|
|
74
74
|
|
|
75
75
|
Sandbox.args = {};
|
|
76
76
|
|
|
77
|
-
export const ButtonWithIcon = (
|
|
77
|
+
export const ButtonWithIcon = () => {
|
|
78
78
|
return (
|
|
79
79
|
<div>
|
|
80
80
|
<div className={"mb-5"}>
|