Skip to content

Commit

Permalink
chore(v5): merging button packages - FRONT-4713
Browse files Browse the repository at this point in the history
  • Loading branch information
planctus committed Jan 10, 2025
1 parent a173925 commit 73c9393
Show file tree
Hide file tree
Showing 33 changed files with 82 additions and 140 deletions.
92 changes: 45 additions & 47 deletions pnpm-lock.yaml

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

4 changes: 4 additions & 0 deletions src/components/button/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
__snapshots__
*story.js
*test.js
demo
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# ECL Button component

npm package: `@ecl/twig-component-button`
npm package: `@ecl/button`

```shell
npm install --save @ecl/twig-component-button
npm install --save @ecl/button
```

### Parameters
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ import { correctPaths } from '@ecl/story-utils';

// Import data for demos
import iconsAll from '@ecl/resources-icons/dist/lists/all.json';
import dataPrimary from '@ecl/specs-component-button/demo/data--primary';
import dataSecondary from '@ecl/specs-component-button/demo/data--secondary';
import dataCall from '@ecl/specs-component-button/demo/data--call';
import dataGhost from '@ecl/specs-component-button/demo/data--ghost';
import dataGhostInverted from '@ecl/specs-component-button/demo/data--ghost-inverted';
import dataTertiary from '@ecl/specs-component-button/demo/data--tertiary';
import dataPrimary from './demo/data--primary';
import dataSecondary from './demo/data--secondary';
import dataCall from './demo/data--call';
import dataGhost from './demo/data--ghost';
import dataGhostInverted from './demo/data--ghost-inverted';
import dataTertiary from './demo/data--tertiary';

import button from './button.html.twig';
import notes from './README.md';
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@ecl/twig-component-button",
"name": "@ecl/button",
"author": "European Commission",
"license": "EUPL-1.2",
"version": "4.9.0",
Expand All @@ -11,10 +11,6 @@
"@ecl/twig-component-icon": "4.9.0",
"@ecl/twig-component-indicator": "4.9.0"
},
"devDependencies": {
"@ecl/specs-component-button": "4.9.0",
"@ecl/vanilla-component-button": "4.9.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ec-europa/europa-component-library.git"
Expand Down
2 changes: 0 additions & 2 deletions src/implementations/twig/components/blockquote/.npmignore

This file was deleted.

2 changes: 0 additions & 2 deletions src/implementations/twig/components/button/.npmignore

This file was deleted.

1 change: 0 additions & 1 deletion src/implementations/vanilla/components/button/README.md

This file was deleted.

Loading

0 comments on commit 73c9393

Please sign in to comment.