fictoan-react 1.0.0-alpha.1 → 1.0.0-alpha.2
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/CodeBlock/CodeBlock.cjs +1 -1
- package/dist/components/CodeBlock/CodeBlock.js +3 -3
- package/dist/components/Drawer/Drawer.cjs +1 -1
- package/dist/components/Drawer/Drawer.d.ts +5 -4
- package/dist/components/Drawer/Drawer.js +74 -65
- package/dist/components/Element/Element.cjs +1 -1
- package/dist/components/Element/Element.js +19 -19
- package/dist/components/Element/constants.d.ts +7 -3
- package/dist/components/Form/RadioButton/SlidingSelector.cjs +1 -0
- package/dist/components/Form/RadioButton/SlidingSelector.d.ts +6 -0
- package/dist/components/Form/RadioButton/SlidingSelector.js +41 -0
- package/dist/components/Form/index.cjs +1 -1
- package/dist/components/Form/index.d.ts +1 -0
- package/dist/components/Form/index.js +3 -0
- package/dist/components/HRule/HRule.cjs +1 -1
- package/dist/components/HRule/HRule.d.ts +1 -2
- package/dist/components/HRule/HRule.js +15 -15
- package/dist/components/Row/Row.cjs +1 -1
- package/dist/components/Row/Row.js +19 -19
- package/dist/components/Tabs/Tabs.cjs +1 -1
- package/dist/components/Tabs/Tabs.js +25 -26
- package/dist/components/Tabs/index.cjs +1 -1
- package/dist/components/Tabs/index.js +0 -1
- package/dist/components/index.cjs +1 -1
- package/dist/components/index.d.ts +1 -1
- package/dist/components/index.js +3 -0
- package/dist/index.cjs +1 -1
- package/dist/index.css +1 -1
- package/dist/index.js +2 -1
- package/dist/sliding-selector-k52RqIHf.cjs +1 -0
- package/dist/sliding-selector-w40geAFS.js +1 -0
- package/package.json +75 -75
package/dist/index.js
CHANGED
|
@@ -21,6 +21,8 @@ import { Range } from "./components/Form/Range/Range.js";
|
|
|
21
21
|
import { RadioButton } from "./components/Form/RadioButton/RadioButton.js";
|
|
22
22
|
import { CheckBox } from "./components/Form/CheckBox/CheckBox.js";
|
|
23
23
|
import { Switch } from "./components/Form/CheckBox/Switch.js";
|
|
24
|
+
import "react";
|
|
25
|
+
import "./sliding-selector-w40geAFS.js";
|
|
24
26
|
import { HRule } from "./components/HRule/HRule.js";
|
|
25
27
|
import { NotificationsWrapper } from "./components/Notification/NotificationsWrapper/NotificationsWrapper.js";
|
|
26
28
|
import { NotificationItem } from "./components/Notification/NotificationItem/NotificationItem.js";
|
|
@@ -42,7 +44,6 @@ import { ToastsWrapper } from "./components/Toast/ToastsWrapper/ToastsWrapper.js
|
|
|
42
44
|
import { ToastItem } from "./components/Toast/ToastItem/ToastItem.js";
|
|
43
45
|
import { Text } from "./components/Typography/Text.js";
|
|
44
46
|
import { Heading } from "./components/Typography/Heading.js";
|
|
45
|
-
import "react";
|
|
46
47
|
import "./components/Form/FormWrapper/FormGenerator.js";
|
|
47
48
|
import "./components/Form/BaseInputComponent/BaseInputComponent.js";
|
|
48
49
|
export {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
package/package.json
CHANGED
|
@@ -1,79 +1,79 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
},
|
|
20
|
-
"./components": {
|
|
21
|
-
"import": "./dist/components/index.js",
|
|
22
|
-
"require": "./dist/components/index.cjs"
|
|
23
|
-
},
|
|
24
|
-
"./dist/": "./dist/"
|
|
2
|
+
"name": "fictoan-react",
|
|
3
|
+
"version": "1.0.0-alpha.2",
|
|
4
|
+
"private": false,
|
|
5
|
+
"description": "",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"sideEffects": [
|
|
8
|
+
"**/*.css"
|
|
9
|
+
],
|
|
10
|
+
"files": [
|
|
11
|
+
"dist"
|
|
12
|
+
],
|
|
13
|
+
"main": "./dist/index.cjs",
|
|
14
|
+
"module": "./dist/index.js",
|
|
15
|
+
"exports": {
|
|
16
|
+
".": {
|
|
17
|
+
"import": "./dist/index.js",
|
|
18
|
+
"require": "./dist/index.cjs"
|
|
25
19
|
},
|
|
26
|
-
"
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
"watch": "vite build --watch",
|
|
30
|
-
"build": "tsc && vite build",
|
|
31
|
-
"build:umd": "tsc && vite build -c vite.config.umd.js",
|
|
32
|
-
"build:storybook": "storybook build",
|
|
33
|
-
"tree-shake": "agadoo",
|
|
34
|
-
"test": "echo \"Error: no test specified\" && exit 1"
|
|
20
|
+
"./components": {
|
|
21
|
+
"import": "./dist/components/index.js",
|
|
22
|
+
"require": "./dist/components/index.cjs"
|
|
35
23
|
},
|
|
36
|
-
"
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
"
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
"
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
24
|
+
"./dist/": "./dist/"
|
|
25
|
+
},
|
|
26
|
+
"keywords": [],
|
|
27
|
+
"author": "",
|
|
28
|
+
"license": "MIT",
|
|
29
|
+
"devDependencies": {
|
|
30
|
+
"@babel/preset-env": "^7.23.6",
|
|
31
|
+
"@babel/preset-react": "^7.23.3",
|
|
32
|
+
"@rollup/plugin-terser": "^0.4.4",
|
|
33
|
+
"@storybook/addon-essentials": "^7.6.6",
|
|
34
|
+
"@storybook/addon-interactions": "^7.6.6",
|
|
35
|
+
"@storybook/addon-links": "^7.6.6",
|
|
36
|
+
"@storybook/addon-onboarding": "^1.0.10",
|
|
37
|
+
"@storybook/blocks": "^7.6.6",
|
|
38
|
+
"@storybook/react": "^7.6.6",
|
|
39
|
+
"@storybook/react-vite": "^7.6.6",
|
|
40
|
+
"@storybook/test": "^7.6.6",
|
|
41
|
+
"@types/react": "^18.2.45",
|
|
42
|
+
"@vitejs/plugin-react": "^4.2.1",
|
|
43
|
+
"agadoo": "^3.0.0",
|
|
44
|
+
"autoprefixer": "^10.4.16",
|
|
45
|
+
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
|
|
46
|
+
"glob": "^10.3.10",
|
|
47
|
+
"postcss-nesting": "^12.0.2",
|
|
48
|
+
"prism-react-renderer": "2.3.1",
|
|
49
|
+
"react": "^18.2.0",
|
|
50
|
+
"react-dom": "^18.2.0",
|
|
51
|
+
"rollup-plugin-visualizer": "^5.11.0",
|
|
52
|
+
"sass": "^1.69.5",
|
|
53
|
+
"storybook": "^7.6.6",
|
|
54
|
+
"typescript": "^5.3.3",
|
|
55
|
+
"vite": "^5.0.10",
|
|
56
|
+
"vite-plugin-dts": "^3.6.4",
|
|
57
|
+
"vite-plugin-lib-inject-css": "^1.3.0",
|
|
58
|
+
"vite-plugin-svgr": "^4.2.0"
|
|
59
|
+
},
|
|
60
|
+
"peerDependencies": {
|
|
61
|
+
"prism-react-renderer": ">=2.0.0",
|
|
62
|
+
"react": "^18.2.0"
|
|
63
|
+
},
|
|
64
|
+
"peerDependenciesMeta": {
|
|
65
|
+
"prism-react-renderer": {
|
|
66
|
+
"optional": true
|
|
78
67
|
}
|
|
79
|
-
}
|
|
68
|
+
},
|
|
69
|
+
"scripts": {
|
|
70
|
+
"preinstall": "npx only-allow pnpm",
|
|
71
|
+
"storybook": "storybook dev -p 6006",
|
|
72
|
+
"watch": "vite build --watch",
|
|
73
|
+
"build": "tsc && vite build",
|
|
74
|
+
"build:umd": "tsc && vite build -c vite.config.umd.js",
|
|
75
|
+
"build:storybook": "storybook build",
|
|
76
|
+
"tree-shake": "agadoo",
|
|
77
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
|
78
|
+
}
|
|
79
|
+
}
|