@synerise/ds-footer 1.0.63 → 1.0.65
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/CLAUDE.md +49 -0
- package/package.json +4 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [1.0.65](https://github.com/Synerise/synerise-design/compare/@synerise/ds-footer@1.0.64...@synerise/ds-footer@1.0.65) (2026-08-11)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @synerise/ds-footer
|
|
9
|
+
|
|
10
|
+
## [1.0.64](https://github.com/Synerise/synerise-design/compare/@synerise/ds-footer@1.0.63...@synerise/ds-footer@1.0.64) (2026-07-23)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package @synerise/ds-footer
|
|
13
|
+
|
|
6
14
|
## [1.0.63](https://github.com/Synerise/synerise-design/compare/@synerise/ds-footer@1.0.62...@synerise/ds-footer@1.0.63) (2026-07-16)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @synerise/ds-footer
|
package/CLAUDE.md
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# Footer (`@synerise/ds-footer`)
|
|
2
|
+
|
|
3
|
+
> Minimal semantic `<footer>` wrapper with a `grey-200` top border and 16px vertical padding — designed to hold action buttons or status content at the bottom of a panel or page.
|
|
4
|
+
|
|
5
|
+
## Package structure
|
|
6
|
+
|
|
7
|
+
```
|
|
8
|
+
src/
|
|
9
|
+
Footer.tsx — component + FooterProps type
|
|
10
|
+
Footer.styles.ts — single styled-component (footer element)
|
|
11
|
+
index.ts — default export
|
|
12
|
+
Footer.spec.tsx — Vitest tests
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Public exports
|
|
16
|
+
|
|
17
|
+
### `Footer` (default export)
|
|
18
|
+
|
|
19
|
+
| Prop | Type | Default | Description |
|
|
20
|
+
|------|------|---------|-------------|
|
|
21
|
+
| `children` | `ReactNode` | `undefined` | Content rendered inside the footer |
|
|
22
|
+
| `style` | `CSSProperties` | `undefined` | Inline style override |
|
|
23
|
+
| `className` | `string` | `undefined` | CSS class override |
|
|
24
|
+
|
|
25
|
+
No `forwardRef` — the underlying DOM element is not exposed.
|
|
26
|
+
|
|
27
|
+
## Usage patterns
|
|
28
|
+
|
|
29
|
+
```tsx
|
|
30
|
+
import Footer from '@synerise/ds-footer';
|
|
31
|
+
import Button from '@synerise/ds-button';
|
|
32
|
+
|
|
33
|
+
<Footer>
|
|
34
|
+
<Button type="primary">Save</Button>
|
|
35
|
+
<Button>Cancel</Button>
|
|
36
|
+
</Footer>
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
## Styling
|
|
40
|
+
|
|
41
|
+
Single styled-component in `Footer.styles.ts`:
|
|
42
|
+
- `padding: 16px 0`
|
|
43
|
+
- `border-top: 1px solid` using `@synerise/ds-core` `grey-200` token
|
|
44
|
+
|
|
45
|
+
## Implementation notes
|
|
46
|
+
|
|
47
|
+
- This is a pure layout shell — it applies no flex/grid layout to children. Arrange children with `Flex`/`Box` or CSS inside.
|
|
48
|
+
- Uses **Jest** (not Vitest) — `jest.config.js` present; predates Vitest migration.
|
|
49
|
+
- `FooterProps` is defined inline in `Footer.tsx` and not exported from `index.ts`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-footer",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.65",
|
|
4
4
|
"description": "Footer UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "Synerise/synerise-design",
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
"files": [
|
|
18
18
|
"/dist",
|
|
19
19
|
"CHANGELOG.md",
|
|
20
|
+
"CLAUDE.md",
|
|
20
21
|
"README.md",
|
|
21
22
|
"package.json",
|
|
22
23
|
"LICENSE.md"
|
|
@@ -41,7 +42,7 @@
|
|
|
41
42
|
],
|
|
42
43
|
"types": "dist/index.d.ts",
|
|
43
44
|
"dependencies": {
|
|
44
|
-
"@synerise/ds-button": "^1.5.
|
|
45
|
+
"@synerise/ds-button": "^1.5.36"
|
|
45
46
|
},
|
|
46
47
|
"peerDependencies": {
|
|
47
48
|
"@synerise/ds-core": "*",
|
|
@@ -49,5 +50,5 @@
|
|
|
49
50
|
"styled-components": "^5.3.3",
|
|
50
51
|
"vitest": "4"
|
|
51
52
|
},
|
|
52
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "6df24ed12cd5f276d8eccde730591807982e3385"
|
|
53
54
|
}
|