@ballistix.digital/react-components 0.1.0 → 0.1.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/index.esm.js +1493 -0
- package/dist/index.esm.js.map +1 -0
- package/dist/index.js +1504 -0
- package/dist/index.js.map +1 -0
- package/package.json +11 -4
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../node_modules/style-inject/dist/style-inject.es.js"],"sourcesContent":["function styleInject(css, ref) {\n if ( ref === void 0 ) ref = {};\n var insertAt = ref.insertAt;\n\n if (!css || typeof document === 'undefined') { return; }\n\n var head = document.head || document.getElementsByTagName('head')[0];\n var style = document.createElement('style');\n style.type = 'text/css';\n\n if (insertAt === 'top') {\n if (head.firstChild) {\n head.insertBefore(style, head.firstChild);\n } else {\n head.appendChild(style);\n }\n } else {\n head.appendChild(style);\n }\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n}\n\nexport default styleInject;\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,SAAS,WAAW,CAAC,GAAG,EAAE,GAAG,EAAE;AAC/B,EAAE,KAAK,GAAG,KAAK,KAAK,CAAC,GAAG,GAAG,GAAG,EAAE,CAAC;AACjC,EAAE,IAAI,QAAQ,GAAG,GAAG,CAAC,QAAQ,CAAC;AAC9B;AACA,EAAE,IAAI,CAAC,GAAG,IAAI,OAAO,QAAQ,KAAK,WAAW,EAAE,EAAE,OAAO,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
10
10
|
"private": false,
|
|
11
11
|
"main": "dist/index.js",
|
|
12
12
|
"module": "dist/index.esm.js",
|
|
@@ -16,11 +16,16 @@
|
|
|
16
16
|
],
|
|
17
17
|
"scripts": {
|
|
18
18
|
"start": "react-scripts start",
|
|
19
|
-
"build": "rollup -c",
|
|
19
|
+
"build": "npm run build:css && rollup -c",
|
|
20
20
|
"test": "react-scripts test",
|
|
21
|
+
"lint": "eslint --ext .js,.jsx,.ts,.tsx --fix .",
|
|
21
22
|
"eject": "react-scripts eject",
|
|
22
|
-
"storybook": "
|
|
23
|
-
"build-storybook": "
|
|
23
|
+
"storybook": "concurrently \"npm:watch:*\"",
|
|
24
|
+
"build-storybook": "concurrently \"npm:build:*\"",
|
|
25
|
+
"build:css": "npx tailwindcss -i ./src/styles/index.css -o ./public/_tailwind.css",
|
|
26
|
+
"build:storybook": "build-storybook -s public",
|
|
27
|
+
"watch:css": "npx tailwindcss -i ./src/styles/index.css -o ./public/_tailwind.css --watch",
|
|
28
|
+
"watch:storybook": "start-storybook dev -p 6006"
|
|
24
29
|
},
|
|
25
30
|
"browserslist": {
|
|
26
31
|
"production": [
|
|
@@ -57,7 +62,9 @@
|
|
|
57
62
|
"@types/react": "^18.0.27",
|
|
58
63
|
"@types/react-dom": "^18.0.10",
|
|
59
64
|
"babel-plugin-named-exports-order": "^0.0.2",
|
|
65
|
+
"concurrently": "^7.6.0",
|
|
60
66
|
"eslint-config-prettier": "^8.3.0",
|
|
67
|
+
"eslint-plugin-prettier": "^4.2.1",
|
|
61
68
|
"eslint-plugin-simple-import-sort": "^7.0.0",
|
|
62
69
|
"eslint-plugin-storybook": "^0.5.3",
|
|
63
70
|
"postcss": "^8.4.21",
|