Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gardenify dropdown and select elements (proof of concept) #361

Closed
wants to merge 1 commit into from
Closed
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
chore: gardenify dropdown and select elements (proof of concept)
anpa committed Mar 17, 2023
commit 8160f71f04cb0922f00453cc2c2eec8ef34b9e92
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -13,7 +13,7 @@
"type": "color",
"description": "brand_color_description",
"label": "brand_color_label",
"value": "#17494D"
"value": "#FF0000"
},
{
"identifier": "brand_text_color",
16 changes: 15 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -11,14 +11,27 @@
"test-a11y": "node bin/lighthouse/index.js"
},
"dependencies": {
"node-fetch": "2.6.7"
"@zendeskgarden/react-buttons": "^8.63.2",
"@zendeskgarden/react-dropdowns": "^8.63.2",
"@zendeskgarden/react-theming": "^8.63.2",
"@zendeskgarden/svg-icons": "^6.33.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"styled-components": "^5.3.9"
},
"devDependencies": {
"@babel/core": "^7.21.3",
"@babel/preset-react": "^7.18.6",
"@commitlint/cli": "17.3.0",
"@commitlint/config-conventional": "17.3.0",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-commonjs": "^24.0.1",
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-replace": "^5.0.2",
"@semantic-release/changelog": "6.0.2",
"@semantic-release/exec": "6.0.3",
"@semantic-release/git": "10.0.1",
"@svgr/rollup": "^6.5.1",
"dotenv": "16.0.3",
"eslint": "8.35.0",
"eslint-config-prettier": "8.6.0",
@@ -27,6 +40,7 @@
"husky": "8.0.2",
"js-yaml": "4.1.0",
"lighthouse": "10.0.1",
"node-fetch": "2.6.7",
"prettier": "2.8.4",
"puppeteer": "19.4.1",
"rollup": "3.17.3",
22 changes: 21 additions & 1 deletion rollup.config.mjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
import babel from "@rollup/plugin-babel";
import { nodeResolve } from "@rollup/plugin-node-resolve";
import commonjs from "@rollup/plugin-commonjs";
import replace from "@rollup/plugin-replace";
import svgr from "@svgr/rollup";
import zass from "./zass.mjs";

export default {
@@ -6,5 +11,20 @@ export default {
file: "script.js",
format: "iife",
},
plugins: [zass()],
plugins: [
zass(),
nodeResolve({
extensions: [".js"],
}),
replace({
preventAssignment: true,
"process.env.NODE_ENV": JSON.stringify("production"),
}),
svgr(),
babel({
babelHelpers: "bundled",
presets: ["@babel/preset-react"],
}),
commonjs(),
],
};
Loading