mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-08 00:03:07 +00:00
* feat(frontend): Add app secondary settings menu * refactor(frontend): Separate color picker * save * feat(frontend): Add quick style options * fix(frontend): Handle overflow * feat(frontend): Add suggestions to quick styles * save wip * feat(frontend): Add UI for quick styling * fix(frontend): Handle multi value properties * fix(frontend): Convenience updates * feat(frontend): Add styling properties to components * fix(frontend): Parse inner colors * fix(frontend): Multi value sync * fix(frontend): Correct unit handling * fix(frontend): Correct multivalue handling * remove comments * fix color picker label * feat(frontend): Add box-shadow property * feat(frontend): Add concise unit selector * feat(frontend): Update app labels * remove unused imports * fix width * fix(frontend): App freezing * fix(frontend): Remove unused imports * fix(frontend): Conditional chaining * fix * revert * minor updates * feat(frontend): Add 'apply style to all' button * fix(frontend): Update styling properties * fix(frontend): Styling menu typography update
939 B
939 B
How to add new components
components.ts:- Create a type for the new component and add it to the
AppComponentunion type - Add the component to the
componentsrecord
- Create a type for the new component and add it to the
sets.ts:- Add the component to one of the component sets:
layout,buttons,inputsordisplay(this controls which group the component will be placed in in the Insert menu)
- Add the component to one of the component sets:
quickStyleProperties.ts:- Add the component to the
quickStylePropertiesrecord - (optional) Add the CSS properties that could be applied to the component parts
- Add the component to the
Component.svelte:- Add the new component in the Svelte
ifstatement
- Add the new component in the Svelte
default-codes.ts:- (optional) Add the default code associated with the new component to the
DEFAULT_CODESrecord
- (optional) Add the default code associated with the new component to the