calderawp / caldera-file-field Goto Github PK
View Code? Open in Web Editor NEWCaldera 2.0 File Field Module
Caldera 2.0 File Field Module
@New0 I want you to do this so you can see how it works.
Copy from https://github.com/CalderaWP/processor-ui
Your goals (processor UI has all of this)
I will need to:
RE: Setting up on npm.
I started a boilperlate for creating these types of modules here: https://github.com/CalderaWP/caldera-npm-module-boilerplate But I have gotten behind on back porting stuff there. Please read this: https://calderalabs.org/caldera-npm-module-boilerplate/manual/overview.html
RE: module export - I'm still working out best practice, but look how the main export for components here:
https://github.com/CalderaWP/caldera-components/blob/master/src/components/index.js
Which is covered by this test that just makes sure the exports are there and the right type:
https://github.com/CalderaWP/caldera-components/blob/master/src/components/export.test.js
But then part of the package, for example conditionals has its own export:
https://github.com/CalderaWP/caldera-components/blob/master/src/components/conditional-logic/index.js
And similar test:
https://github.com/CalderaWP/caldera-components/blob/master/src/components/conditional-logic/export.test.js
This is the configuration UI for 1 file field.
MUST have same settings as existing file fields.
https://calderaforms.com/doc/advanced-file-field/
Should be constructed using one RenderGroup
component.
State management is NOT in scope. This component, should accept everything it needs, including change handlers as props, defined using prop-types. https://www.npmjs.com/package/prop-types
Processor UI is a good reference, but this is not a processor, so its UI goes here.
Must be created first: CalderaWP/caldera-components#9
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.