Skip to content

Commit

Permalink
Merge pull request #94 from fold-dev/v0.15-release
Browse files Browse the repository at this point in the history
release: update Fold to version 0.15.0
  • Loading branch information
joduplessis authored Jan 2, 2025
2 parents 30784fc + e5b962a commit 8150964
Show file tree
Hide file tree
Showing 8 changed files with 26 additions and 25 deletions.
32 changes: 16 additions & 16 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@fold-dev/docs",
"version": "24.10.3.0",
"version": "25.1.1.0",
"description": "UI components for product teams.",
"scripts": {
"prepare": "husky install",
Expand All @@ -11,8 +11,8 @@
"prettier": "prettier --write 'src/**/*.{ts,tsx}' --print-width 120"
},
"dependencies": {
"@fold-dev/core": "^0.14.0",
"@fold-dev/design": "^0.14.0",
"@fold-dev/core": "^0.15.0",
"@fold-dev/design": "^0.15.0",
"@heroicons/react": "^2.0.18",
"@mdx-js/loader": "^2.3.0",
"@mdx-js/react": "^2.3.0",
Expand Down
3 changes: 2 additions & 1 deletion src/components/core.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1675,7 +1675,8 @@ export const CoreComponent = () => {
alignItems="flex-start"
alignContent="flex-start"
justifyContent="flex-start"
p="3rem">
p="3rem"
height="100%">
<Text
style={{ textTransform: 'uppercase' }}
letterSpacing={5}
Expand Down
2 changes: 1 addition & 1 deletion src/layouts/docs.layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ export default function DocsLayout(props: any) {
size="xs"
subtle
color={Token.ColorAccent400}>
v0.14.0
v0.15.0
</Pill>
}>
Core Components
Expand Down
2 changes: 1 addition & 1 deletion src/pages/docs/core/drag.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const docs = {
'Drag and drop components have a wide range of applications, including moving tasks in a todo list application or dropping an element onto a sidebar. The Fold Drag component has been designed with maximum flexibility to support almost any type of application.',
}

export const props = [{"tags":{},"filePath":"packages/core/src/drag/index.ts","description":"","displayName":"DragArea","methods":[],"props":{"indent":{"defaultValue":null,"description":"","name":"indent","declarations":[{"fileName":"fold/packages/core/src/drag/drag-area.tsx","name":"TypeLiteral"}],"required":false,"type":{"name":"boolean"},"tags":{}},"areaId":{"defaultValue":null,"description":"","name":"areaId","declarations":[{"fileName":"fold/packages/core/src/drag/drag-area.tsx","name":"TypeLiteral"}],"required":false,"type":{"name":"string"},"tags":{}},"group":{"defaultValue":null,"description":"","name":"group","declarations":[{"fileName":"fold/packages/core/src/drag/drag-area.tsx","name":"TypeLiteral"}],"required":false,"type":{"name":"string"},"tags":{}},"variant":{"defaultValue":null,"description":"","name":"variant","declarations":[{"fileName":"fold/packages/core/src/drag/drag-area.tsx","name":"TypeLiteral"}],"required":false,"type":{"name":"DragVariant"},"tags":{}},"targetVariant":{"defaultValue":null,"description":"","name":"targetVariant","declarations":[{"fileName":"fold/packages/core/src/drag/drag-area.tsx","name":"TypeLiteral"}],"required":false,"type":{"name":"any"},"tags":{}},"direction":{"defaultValue":null,"description":"","name":"direction","declarations":[{"fileName":"fold/packages/core/src/drag/drag-area.tsx","name":"TypeLiteral"}],"required":false,"type":{"name":"\"vertical\" | \"horizontal\""},"tags":{}},"startDelay":{"defaultValue":null,"description":"","name":"startDelay","declarations":[{"fileName":"fold/packages/core/src/drag/drag-area.tsx","name":"TypeLiteral"}],"required":false,"type":{"name":"number"},"tags":{}},"footer":{"defaultValue":null,"description":"","name":"footer","declarations":[{"fileName":"fold/packages/core/src/drag/drag-area.tsx","name":"TypeLiteral"}],"required":false,"type":{"name":"any"},"tags":{}}}},{"tags":{},"filePath":"packages/core/src/drag/index.ts","description":"","displayName":"DragElementArea","methods":[],"props":{"indent":{"defaultValue":null,"description":"","name":"indent","declarations":[{"fileName":"fold/packages/core/src/drag/drag-element-area.tsx","name":"TypeLiteral"}],"required":false,"type":{"name":"boolean"},"tags":{}},"areaId":{"defaultValue":null,"description":"","name":"areaId","declarations":[{"fileName":"fold/packages/core/src/drag/drag-element-area.tsx","name":"TypeLiteral"}],"required":false,"type":{"name":"string"},"tags":{}},"group":{"defaultValue":null,"description":"","name":"group","declarations":[{"fileName":"fold/packages/core/src/drag/drag-element-area.tsx","name":"TypeLiteral"}],"required":false,"type":{"name":"string"},"tags":{}},"variant":{"defaultValue":null,"description":"","name":"variant","declarations":[{"fileName":"fold/packages/core/src/drag/drag-element-area.tsx","name":"TypeLiteral"}],"required":false,"type":{"name":"DragVariant"},"tags":{}},"targetVariant":{"defaultValue":null,"description":"","name":"targetVariant","declarations":[{"fileName":"fold/packages/core/src/drag/drag-element-area.tsx","name":"TypeLiteral"}],"required":false,"type":{"name":"any"},"tags":{}},"direction":{"defaultValue":null,"description":"","name":"direction","declarations":[{"fileName":"fold/packages/core/src/drag/drag-element-area.tsx","name":"TypeLiteral"}],"required":false,"type":{"name":"\"vertical\""},"tags":{}},"startDelay":{"defaultValue":null,"description":"","name":"startDelay","declarations":[{"fileName":"fold/packages/core/src/drag/drag-element-area.tsx","name":"TypeLiteral"}],"required":false,"type":{"name":"number"},"tags":{}},"footer":{"defaultValue":null,"description":"","name":"footer","declarations":[{"fileName":"fold/packages/core/src/drag/drag-element-area.tsx","name":"TypeLiteral"}],"required":false,"type":{"name":"any"},"tags":{}}}},{"tags":{},"filePath":"packages/core/src/drag/index.ts","description":"","displayName":"DragElement","methods":[],"props":{"id":{"defaultValue":null,"description":"","name":"id","declarations":[{"fileName":"fold/packages/core/src/drag/drag-element.tsx","name":"TypeLiteral"},{"fileName":"fold/packages/core/src/types/index.ts","name":"TypeLiteral"}],"required":false,"type":{"name":"string"},"tags":{}},"indent":{"defaultValue":null,"description":"","name":"indent","declarations":[{"fileName":"fold/packages/core/src/drag/drag-element.tsx","name":"TypeLiteral"}],"required":false,"type":{"name":"number"},"tags":{}},"noDrop":{"defaultValue":null,"description":"","name":"noDrop","declarations":[{"fileName":"fold/packages/core/src/drag/drag-element.tsx","name":"TypeLiteral"}],"required":false,"type":{"name":"boolean"},"tags":{}},"noDrag":{"defaultValue":null,"description":"","name":"noDrag","declarations":[{"fileName":"fold/packages/core/src/drag/drag-element.tsx","name":"TypeLiteral"}],"required":false,"type":{"name":"boolean"},"tags":{}},"noFocus":{"defaultValue":null,"description":"","name":"noFocus","declarations":[{"fileName":"fold/packages/core/src/drag/drag-element.tsx","name":"TypeLiteral"}],"required":false,"type":{"name":"boolean"},"tags":{}},"noIndent":{"defaultValue":null,"description":"","name":"noIndent","declarations":[{"fileName":"fold/packages/core/src/drag/drag-element.tsx","name":"TypeLiteral"}],"required":false,"type":{"name":"boolean"},"tags":{}}}},{"tags":{},"filePath":"packages/core/src/drag/index.ts","description":"","displayName":"DragManager","methods":[],"props":{"animation":{"defaultValue":null,"description":"","name":"animation","declarations":[{"fileName":"fold/packages/core/src/drag/drag-manager.tsx","name":"TypeLiteral"}],"required":false,"type":{"name":"number"},"tags":{}},"moveThreshold":{"defaultValue":null,"description":"","name":"moveThreshold","declarations":[{"fileName":"fold/packages/core/src/drag/drag-manager.tsx","name":"TypeLiteral"}],"required":false,"type":{"name":"number"},"tags":{}},"indentThreshold":{"defaultValue":null,"description":"","name":"indentThreshold","declarations":[{"fileName":"fold/packages/core/src/drag/drag-manager.tsx","name":"TypeLiteral"}],"required":false,"type":{"name":"number"},"tags":{}},"linedRegionThreshold":{"defaultValue":null,"description":"","name":"linedRegionThreshold","declarations":[{"fileName":"fold/packages/core/src/drag/drag-manager.tsx","name":"TypeLiteral"}],"required":false,"type":{"name":"number"},"tags":{}}}},{"tags":{},"filePath":"packages/core/src/drag/index.ts","description":"","displayName":"useDrag","methods":[],"props":{}},{"tags":{},"filePath":"packages/core/src/drag/index.ts","description":"","displayName":"setDragState","methods":[],"props":{}},{"tags":{},"filePath":"packages/core/src/drag/index.ts","description":"","displayName":"setTarget","methods":[],"props":{}},{"tags":{},"filePath":"packages/core/src/drag/index.ts","description":"","displayName":"setOrigin","methods":[],"props":{}},{"tags":{},"filePath":"packages/core/src/drag/index.ts","description":"","displayName":"getDragState","methods":[],"props":{}}]
export const props = [{"tags":{},"filePath":"packages/core/src/drag/index.ts","description":"","displayName":"DragArea","methods":[],"props":{"indent":{"defaultValue":null,"description":"","name":"indent","declarations":[{"fileName":"fold/packages/core/src/drag/drag-area.tsx","name":"TypeLiteral"}],"required":false,"type":{"name":"boolean"},"tags":{}},"areaId":{"defaultValue":null,"description":"","name":"areaId","declarations":[{"fileName":"fold/packages/core/src/drag/drag-area.tsx","name":"TypeLiteral"}],"required":false,"type":{"name":"string"},"tags":{}},"group":{"defaultValue":null,"description":"","name":"group","declarations":[{"fileName":"fold/packages/core/src/drag/drag-area.tsx","name":"TypeLiteral"}],"required":false,"type":{"name":"string"},"tags":{}},"variant":{"defaultValue":null,"description":"","name":"variant","declarations":[{"fileName":"fold/packages/core/src/drag/drag-area.tsx","name":"TypeLiteral"}],"required":false,"type":{"name":"DragVariant"},"tags":{}},"targetVariant":{"defaultValue":null,"description":"","name":"targetVariant","declarations":[{"fileName":"fold/packages/core/src/drag/drag-area.tsx","name":"TypeLiteral"}],"required":false,"type":{"name":"any"},"tags":{}},"direction":{"defaultValue":null,"description":"","name":"direction","declarations":[{"fileName":"fold/packages/core/src/drag/drag-area.tsx","name":"TypeLiteral"}],"required":false,"type":{"name":"\"vertical\" | \"horizontal\""},"tags":{}},"startDelay":{"defaultValue":null,"description":"","name":"startDelay","declarations":[{"fileName":"fold/packages/core/src/drag/drag-area.tsx","name":"TypeLiteral"}],"required":false,"type":{"name":"number"},"tags":{}},"footer":{"defaultValue":null,"description":"","name":"footer","declarations":[{"fileName":"fold/packages/core/src/drag/drag-area.tsx","name":"TypeLiteral"}],"required":false,"type":{"name":"any"},"tags":{}}}},{"tags":{},"filePath":"packages/core/src/drag/index.ts","description":"","displayName":"DragElementArea","methods":[],"props":{"disabled":{"defaultValue":null,"description":"","name":"disabled","declarations":[{"fileName":"fold/packages/core/src/drag/drag-element-area.tsx","name":"TypeLiteral"},{"fileName":"fold/packages/core/src/types/index.ts","name":"TypeLiteral"}],"required":false,"type":{"name":"boolean"},"tags":{}},"indent":{"defaultValue":null,"description":"","name":"indent","declarations":[{"fileName":"fold/packages/core/src/drag/drag-element-area.tsx","name":"TypeLiteral"}],"required":false,"type":{"name":"boolean"},"tags":{}},"areaId":{"defaultValue":null,"description":"","name":"areaId","declarations":[{"fileName":"fold/packages/core/src/drag/drag-element-area.tsx","name":"TypeLiteral"}],"required":false,"type":{"name":"string"},"tags":{}},"group":{"defaultValue":null,"description":"","name":"group","declarations":[{"fileName":"fold/packages/core/src/drag/drag-element-area.tsx","name":"TypeLiteral"}],"required":false,"type":{"name":"string"},"tags":{}},"variant":{"defaultValue":null,"description":"","name":"variant","declarations":[{"fileName":"fold/packages/core/src/drag/drag-element-area.tsx","name":"TypeLiteral"}],"required":false,"type":{"name":"DragVariant"},"tags":{}},"targetVariant":{"defaultValue":null,"description":"","name":"targetVariant","declarations":[{"fileName":"fold/packages/core/src/drag/drag-element-area.tsx","name":"TypeLiteral"}],"required":false,"type":{"name":"any"},"tags":{}},"direction":{"defaultValue":null,"description":"","name":"direction","declarations":[{"fileName":"fold/packages/core/src/drag/drag-element-area.tsx","name":"TypeLiteral"}],"required":false,"type":{"name":"\"vertical\" | \"horizontal\""},"tags":{}},"startDelay":{"defaultValue":null,"description":"","name":"startDelay","declarations":[{"fileName":"fold/packages/core/src/drag/drag-element-area.tsx","name":"TypeLiteral"}],"required":false,"type":{"name":"number"},"tags":{}},"footer":{"defaultValue":null,"description":"","name":"footer","declarations":[{"fileName":"fold/packages/core/src/drag/drag-element-area.tsx","name":"TypeLiteral"}],"required":false,"type":{"name":"any"},"tags":{}}}},{"tags":{},"filePath":"packages/core/src/drag/index.ts","description":"","displayName":"DragElement","methods":[],"props":{"id":{"defaultValue":null,"description":"","name":"id","declarations":[{"fileName":"fold/packages/core/src/drag/drag-element.tsx","name":"TypeLiteral"},{"fileName":"fold/packages/core/src/types/index.ts","name":"TypeLiteral"}],"required":false,"type":{"name":"string"},"tags":{}},"indent":{"defaultValue":null,"description":"","name":"indent","declarations":[{"fileName":"fold/packages/core/src/drag/drag-element.tsx","name":"TypeLiteral"}],"required":false,"type":{"name":"number"},"tags":{}},"noDrop":{"defaultValue":null,"description":"","name":"noDrop","declarations":[{"fileName":"fold/packages/core/src/drag/drag-element.tsx","name":"TypeLiteral"}],"required":false,"type":{"name":"boolean"},"tags":{}},"noDrag":{"defaultValue":null,"description":"","name":"noDrag","declarations":[{"fileName":"fold/packages/core/src/drag/drag-element.tsx","name":"TypeLiteral"}],"required":false,"type":{"name":"boolean"},"tags":{}},"noFocus":{"defaultValue":null,"description":"","name":"noFocus","declarations":[{"fileName":"fold/packages/core/src/drag/drag-element.tsx","name":"TypeLiteral"}],"required":false,"type":{"name":"boolean"},"tags":{}},"noIndent":{"defaultValue":null,"description":"","name":"noIndent","declarations":[{"fileName":"fold/packages/core/src/drag/drag-element.tsx","name":"TypeLiteral"}],"required":false,"type":{"name":"boolean"},"tags":{}}}},{"tags":{},"filePath":"packages/core/src/drag/index.ts","description":"","displayName":"DragManager","methods":[],"props":{"animation":{"defaultValue":null,"description":"","name":"animation","declarations":[{"fileName":"fold/packages/core/src/drag/drag-manager.tsx","name":"TypeLiteral"}],"required":false,"type":{"name":"number"},"tags":{}},"moveThreshold":{"defaultValue":null,"description":"","name":"moveThreshold","declarations":[{"fileName":"fold/packages/core/src/drag/drag-manager.tsx","name":"TypeLiteral"}],"required":false,"type":{"name":"number"},"tags":{}},"indentThreshold":{"defaultValue":null,"description":"","name":"indentThreshold","declarations":[{"fileName":"fold/packages/core/src/drag/drag-manager.tsx","name":"TypeLiteral"}],"required":false,"type":{"name":"number"},"tags":{}},"linedRegionThreshold":{"defaultValue":null,"description":"","name":"linedRegionThreshold","declarations":[{"fileName":"fold/packages/core/src/drag/drag-manager.tsx","name":"TypeLiteral"}],"required":false,"type":{"name":"number"},"tags":{}}}},{"tags":{},"filePath":"packages/core/src/drag/index.ts","description":"","displayName":"useDrag","methods":[],"props":{}},{"tags":{},"filePath":"packages/core/src/drag/index.ts","description":"","displayName":"setDragState","methods":[],"props":{}},{"tags":{},"filePath":"packages/core/src/drag/index.ts","description":"","displayName":"setTarget","methods":[],"props":{}},{"tags":{},"filePath":"packages/core/src/drag/index.ts","description":"","displayName":"setOrigin","methods":[],"props":{}},{"tags":{},"filePath":"packages/core/src/drag/index.ts","description":"","displayName":"getDragState","methods":[],"props":{}}]

export const css = [[["--f-drag-speed","0s"],["--f-drag-transition","cubic-bezier(.17,.67,.54,1.06)"],["--f-drag-indent","0px"],["--f-drag-is-dragged-opacity","1"],["--f-drag-is-dragged-pointer-events","none"]],[["--f-drag-lined-x-offset","-50%"],["--f-drag-lined-y-offset","-50%"],["--f-drag-lined-size","2px"]],[["--f-drag-placeholder-background","var(--f-color-surface-stronger)"],["--f-drag-placeholder-radius","0"],["--f-drag-placeholder-border","none"],["--f-drag-placeholder-outline","none"],["--f-drag-placeholder-margin","0"],["--f-drag-ghost-opacity","1"]]]

Expand Down
Loading

0 comments on commit 8150964

Please sign in to comment.