Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .DS_Store
Binary file not shown.
20,759 changes: 14,617 additions & 6,142 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
"@babel/plugin-proposal-function-sent": "^7.18.2",
"@babel/plugin-proposal-numeric-separator": "^7.18.2",
"@babel/plugin-proposal-object-rest-spread": "^7.18.2",
"@babel/plugin-transform-class-properties": "^7.18.2",
"@babel/preset-env": "^7.18.2",
"@babel/preset-react": "^7.18.2",
"@babel/preset-stage-2": "^7.8.3",
Expand Down Expand Up @@ -78,6 +79,7 @@
"@emotion/css": "^11.11.2",
"deepmerge": "^4.3.1",
"prop-types": "^15.8.1",
"react-scripts": "^5.0.1",
"react-select": "^5.7.4"
}
}
Binary file added src/.DS_Store
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ class CheckboxWithIndeterminate extends React.Component {

export const GroupHeading = (props) => {
const { className, cx, getStyles, children, ...cleanProps } = props;
console.log(props);
return (
<div
className={cx(
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 0 additions & 1 deletion lib/PopoutExample.jsx → src/lib/PopoutExample.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ export default class PopoutExample extends Component {
state = { isOpen: false, value: undefined };

onSelectChange = (value) => {
// this.toggleOpen();
this.setState({ value });
};

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
7 changes: 2 additions & 5 deletions lib/index.jsx → src/lib/index.jsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
import React from "react";
import Select from "react-select";

class MySuperCoolComponent extends React.Component {
state = {};
import { Component } from "react";

class MySuperCoolComponent extends Component {
render() {
return (
<div style={{ width: 200 }}>
Expand Down
24 changes: 24 additions & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
const path = require('path');

module.exports = {
entry: './src/lib/index.js', // The main entry point of your application
output: {
path: path.resolve(__dirname, 'dist'), // Output directory
filename: 'bundle.js', // Output bundle file name
},
module: {
rules: [
{
test: /\.js$/, // Apply the following loaders to .js files
exclude: /node_modules/, // Exclude node_modules folder
use: {
loader: 'babel-loader', // Use Babel for transpiling ES6+ code
},
},
{
test: /\.css$/, // Apply the following loaders to .css files
use: ['style-loader', 'css-loader'], // Use style-loader and css-loader
},
],
},
};