gov-ui-core 0.2.6-beta.5 → 0.2.6-beta.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.
@@ -22,5 +22,6 @@ import { Methods } from './components/Form';
22
22
  import TestTailwind from './pages/TailwindSample';
23
23
  import defaultTheme from './theme';
24
24
  import './css/globals.css';
25
+ import './css/tailwind.css';
25
26
  export { AppendTable, Button, Calendar, Carousel, ContentHeader, Directory, DropdownButton, EmptyBox, Form, Icons, Input, ErrorMessage, OverlayLoading, SwitchButton, Table, TableBase, ThemeProvider, AutoTooltip, IntlText, TailwindTest, defaultTheme, TestTailwind, };
26
27
  export type { Methods };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gov-ui-core",
3
- "version": "0.2.6-beta.5",
3
+ "version": "0.2.6-beta.7",
4
4
  "main": "./build/index.js",
5
5
  "module": "./build/index.js",
6
6
  "types": "./build/modules.d.ts",
@@ -84,7 +84,7 @@
84
84
  "scripts": {
85
85
  "start": "node scripts/start.js",
86
86
  "types": "tsc --emitDeclarationOnly && tscpaths -p ./tsconfig.json -s ./src -o ./build",
87
- "build": "node scripts/build.js && npm run types",
87
+ "build": "npx tailwindcss -i ./src/css/globals.css -o ./src/css/tailwind.css && node scripts/build.js && npm run types",
88
88
  "test": "node node scripts/test.js",
89
89
  "storybook": "storybook dev -p 6006",
90
90
  "build-storybook": "storybook build",
package/postcss.config.js CHANGED
@@ -1,6 +1,8 @@
1
1
  module.exports = {
2
2
  plugins: {
3
- tailwindcss: {},
3
+ tailwindcss: {
4
+ config: './tailwind.config.js',
5
+ },
4
6
  autoprefixer: {},
5
7
  },
6
8
  }