Compare commits
24 Commits
typography
...
main
Author | SHA1 | Date | |
---|---|---|---|
|
1f6b18ef9e | ||
|
e1bbe2470e | ||
|
387d5adfb8 | ||
|
b742b38ed4 | ||
|
6c1ba36404 | ||
|
950b7f3bfc | ||
|
fb1d6b1fe3 | ||
|
dcc8a0a840 | ||
|
014762c46e | ||
|
e2d8be7258 | ||
|
22ae8501a5 | ||
|
8825b3f084 | ||
|
01963624e8 | ||
|
8f1bb4463e | ||
|
f3f3505b23 | ||
|
fcb98bb9b1 | ||
|
320ccccb1b | ||
|
af1aecc286 | ||
|
95173da572 | ||
|
f155825fbb | ||
|
7dea46f2a3 | ||
|
f287ab9189 | ||
|
69e5e4541f | ||
|
f992b8f953 |
27
.gitea/workflows/publish.yml
Normal file
27
.gitea/workflows/publish.yml
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
name: Publish visua Package
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- '*'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
publish:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Setup Node.js
|
||||||
|
uses: actions/setup-node@v3
|
||||||
|
with:
|
||||||
|
node-version: '18'
|
||||||
|
|
||||||
|
- name: Configure .npmrc for Gitea registry
|
||||||
|
run: |
|
||||||
|
echo "@cellule-financiere-pmo:registry=https://dgfipntic.imfr.cgi.com/api/packages/Cellule-financiere-transverse-PMO/npm/" > ~/.npmrc
|
||||||
|
echo "//dgfipntic.imfr.cgi.com/api/packages/Cellule-financiere-transverse-PMO/npm/:_authToken=${{ secrets.NPM_TOKEN }}" >> ~/.npmrc
|
||||||
|
|
||||||
|
- name: Publish to Gitea NPM registry
|
||||||
|
run: npm publish
|
|
@ -1,14 +0,0 @@
|
||||||
default:
|
|
||||||
image: node:latest
|
|
||||||
|
|
||||||
stages:
|
|
||||||
- deploy
|
|
||||||
|
|
||||||
publish-npm:
|
|
||||||
stage: deploy
|
|
||||||
script:
|
|
||||||
- echo "@cellule-financiere-pmo:registry=https://${CI_SERVER_HOST}/api/v4/projects/${CI_PROJECT_ID}/packages/npm/" > .npmrc
|
|
||||||
- echo "//${CI_SERVER_HOST}/api/v4/projects/${CI_PROJECT_ID}/packages/npm/:_authToken=${CI_JOB_TOKEN}" >> .npmrc
|
|
||||||
- npm publish
|
|
||||||
only:
|
|
||||||
- tags
|
|
29
CHANGELOG.md
29
CHANGELOG.md
|
@ -0,0 +1,29 @@
|
||||||
|
# Changelog
|
||||||
|
|
||||||
|
All notable changes to this project will be documented in this file.
|
||||||
|
|
||||||
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
|
## [1.1.3] - 2025-07-18
|
||||||
|
### Added
|
||||||
|
- Added map css files.
|
||||||
|
|
||||||
|
## [1.1.2] - 2025-07-18
|
||||||
|
### Added
|
||||||
|
- Fixed deployment failures.
|
||||||
|
|
||||||
|
## [1.1.1] - 2025-07-18
|
||||||
|
### Changed
|
||||||
|
- CSS typography classes have been replaced by css module classes.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## [1.1.0] - 2025-07-16
|
||||||
|
### Added
|
||||||
|
- CSS typography classes.
|
||||||
|
|
||||||
|
|
||||||
|
## [1.0.0] - 2025-07-15
|
||||||
|
### Initial
|
||||||
|
- First project version published.
|
|
@ -1,6 +1,6 @@
|
||||||
# Summary
|
# Summary
|
||||||
|
|
||||||
**Current version : 1.0.0**
|
**Current version : 1.1.3**
|
||||||
|
|
||||||
This project defines the *visual foundations* of the **design system** and establishes a strategy for structuring styles to guarantee their *reusability* in the design of graphic interfaces.
|
This project defines the *visual foundations* of the **design system** and establishes a strategy for structuring styles to guarantee their *reusability* in the design of graphic interfaces.
|
||||||
|
|
||||||
|
@ -20,7 +20,9 @@ The project is organized into three main modules:
|
||||||
|
|
||||||
- [**output**](./output/)
|
- [**output**](./output/)
|
||||||
|
|
||||||
Contains the Generated final [`variables.css`](./output/variables.css) file, containing all global CSS variables ready for integration into front-end projects.
|
* Contains [`variables.css`](./output/variables.css) file, containing all global CSS variables ready for integration into front-end projects.
|
||||||
|
|
||||||
|
* Contains [`typography.module.css`](./output/typography.module.css) file, containing the CSS classes defining the different typographic variants available.
|
||||||
|
|
||||||
|
|
||||||
## Important
|
## Important
|
||||||
|
|
|
@ -238,4 +238,4 @@
|
||||||
line-height: 1.75rem;
|
line-height: 1.75rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*# sourceMappingURL=typography.css.map */
|
/*# sourceMappingURL=typography.module.css.map */
|
|
@ -1 +1 @@
|
||||||
{"version":3,"sourceRoot":"","sources":["../src/functions/_mixins.scss","../src/tokens/typography/_alternative-body-text.scss","../src/tokens/typography/_alternative-titles.scss","../src/tokens/typography/_text-body.scss","../src/tokens/typography/_titles.scss"],"names":[],"mappings":"AAgBI;EAGY,aCdU;EDgBV,WChBU;EDkBV,aClBU;EDoBV,aCpBU;;;ADWtB;EAGY,aCPO;EDSP,WCTO;EDWP,aCXO;EDaP,aCbO;;;ADInB;EAGY;EAEA,WCFU;EDIV,aCJU;EDMV,aCNU;;;ADHtB;EAGY,aCOO;EDLP,WCKO;EDHP,aCGO;EDDP,aCCO;;;ADVnB;EAGY,aCcU;EDZV,WCYU;EDVV,aCUU;EDRV,aCQU;;;ADjBtB;EAGY,aCqBO;EDnBP,WCmBO;EDjBP,aCiBO;EDfP,aCeO;;;ADxBnB;EAGY,aC4BU;ED1BV,WC0BU;EDxBV,aCwBU;EDtBV,aCsBU;;;AD/BtB;EAKY,WEjBX;EFmBW,aEnBX;EFqBW,aErBX;;;AFYD;EAKY,WEXX;EFaW,aEbX;EFeW,aEfX;;;AFMD;EAKY,WELX;EFOW,aEPX;EFSW,aETX;;;AFAD;EAKY,WECX;EFCW,aEDX;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;EJaQ,aIbR;EJeQ,aIfR;;;AJMJ;EAKY,WILR;EJOQ,aIPR;EJSQ,aITR;;;AJAJ;EAKY,WICR;EJCQ,aIDR;EJGQ,aIHR;;;AJNJ;EAKY,WIOR;EJLQ,aIKR;EJHQ,aIGR;;;AJZJ;EAKY,WIaP;EJXO,aIWP;EJTO,aISP","file":"typography.css"}
|
{"version":3,"sourceRoot":"","sources":["../src/functions/_mixins.scss","../src/tokens/typography/_alternative-body-text.scss","../src/tokens/typography/_alternative-titles.scss","../src/tokens/typography/_text-body.scss","../src/tokens/typography/_titles.scss"],"names":[],"mappings":"AAgBI;EAGY,aCdU;EDgBV,WChBU;EDkBV,aClBU;EDoBV,aCpBU;;;ADWtB;EAGY,aCPO;EDSP,WCTO;EDWP,aCXO;EDaP,aCbO;;;ADInB;EAGY;EAEA,WCFU;EDIV,aCJU;EDMV,aCNU;;;ADHtB;EAGY,aCOO;EDLP,WCKO;EDHP,aCGO;EDDP,aCCO;;;ADVnB;EAGY,aCcU;EDZV,WCYU;EDVV,aCUU;EDRV,aCQU;;;ADjBtB;EAGY,aCqBO;EDnBP,WCmBO;EDjBP,aCiBO;EDfP,aCeO;;;ADxBnB;EAGY,aC4BU;ED1BV,WC0BU;EDxBV,aCwBU;EDtBV,aCsBU;;;AD/BtB;EAKY,WEjBX;EFmBW,aEnBX;EFqBW,aErBX;;;AFYD;EAKY,WEXX;EFaW,aEbX;EFeW,aEfX;;;AFMD;EAKY,WELX;EFOW,aEPX;EFSW,aETX;;;AFAD;EAKY,WECX;EFCW,aEDX;EFGW,aEHX;;;AFND;EAKY,WEOX;EFLW,aEKX;EFHW,aEGX;;;AFZD;EAKY,WGjBE;EHmBF,aGnBE;EHqBF,aGrBE;;;AHYd;EAKY,WGXD;EHaC,aGbD;EHeC,aGfD;;;AHMX;EAKY,WGLU;EHOV,aGPU;EHSV,aGTU;;;AHAtB;EAKY,WGCS;EHCT,aGDS;EHGT,aGHS;;;AHNrB;EAKY,WGOO;EHLP,a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+1,12 @@
|
||||||
{
|
{
|
||||||
"name": "visua",
|
"name": "@cellule-financiere-pmo/visua",
|
||||||
"version": "1.0.0",
|
"version": "1.1.4",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "visua",
|
"name": "@cellule-financiere-pmo/visua",
|
||||||
"version": "1.0.0",
|
"version": "1.1.4",
|
||||||
"license": "UNLICENSED",
|
"license": "UNLICENSED",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"sass": "^1.89.2"
|
"sass": "^1.89.2"
|
||||||
|
@ -475,9 +475,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/sass": {
|
"node_modules/sass": {
|
||||||
"version": "1.89.2",
|
"version": "1.90.0",
|
||||||
"resolved": "https://registry.npmjs.org/sass/-/sass-1.89.2.tgz",
|
"resolved": "https://registry.npmjs.org/sass/-/sass-1.90.0.tgz",
|
||||||
"integrity": "sha512-xCmtksBKd/jdJ9Bt9p7nPKiuqrlBMBuuGkQlkhZjjQk3Ty48lv93k5Dq6OPkKt4XwxDJ7tvlfrTa1MPA9bf+QA==",
|
"integrity": "sha512-9GUyuksjw70uNpb1MTYWsH9MQHOHY6kwfnkafC24+7aOMZn9+rVMBxRbLvw756mrBFbIsFg6Xw9IkR2Fnn3k+Q==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
30
package.json
30
package.json
|
@ -1,33 +1,37 @@
|
||||||
{
|
{
|
||||||
"name": "@cellule-financiere-pmo/visua",
|
"name": "@cellule-financiere-pmo/visua",
|
||||||
"version": "1.0.0",
|
"version": "1.1.4",
|
||||||
"description": "This project defines the visual foundations of the design system and establishes a strategy for structuring styles to guarantee their reusability in the design of graphic interfaces.",
|
"description": "Defines the visual foundations of the design system and establishes a strategy for structuring styles to guarantee their reusability in graphic interfaces.",
|
||||||
|
"main": "output/variables.css",
|
||||||
|
"files": [
|
||||||
|
"output/*"
|
||||||
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "echo \"Error: no test specified\" && exit 1"
|
"test": "echo \"Error: no test specified\" && exit 1"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git+https://gitlab.com/cellule-financiere-pmo/design-system/visua.git"
|
"url": "git+https://dgfipntic.imfr.cgi.com/Cellule-financiere-transverse-PMO/visua.git"
|
||||||
},
|
},
|
||||||
|
"bugs": {
|
||||||
|
"url": "https://dgfipntic.imfr.cgi.com/Cellule-financiere-transverse-PMO/visua/issues"
|
||||||
|
},
|
||||||
|
"homepage": "https://dgfipntic.imfr.cgi.com/Cellule-financiere-transverse-PMO/visua#readme",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"scss",
|
"scss",
|
||||||
"css",
|
"css",
|
||||||
"design system"
|
"design system",
|
||||||
|
"design tokens",
|
||||||
|
"DSFR",
|
||||||
|
"typography",
|
||||||
|
"variables"
|
||||||
],
|
],
|
||||||
"author": "CGI",
|
"author": "CGI",
|
||||||
"license": "UNLICENSED",
|
"license": "UNLICENSED",
|
||||||
"bugs": {
|
|
||||||
"url": "https://gitlab.com/cellule-financiere-pmo/design-system/visua/issues"
|
|
||||||
},
|
|
||||||
"homepage": "https://gitlab.com/cellule-financiere-pmo/design-system/visua#readme",
|
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"sass": "^1.89.2"
|
"sass": "^1.89.2"
|
||||||
},
|
},
|
||||||
"main": "output/variables.css",
|
|
||||||
"files": [
|
|
||||||
"output/variables.css"
|
|
||||||
],
|
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"registry": "https://gitlab.com/api/v4/projects/71595796/packages/npm/"
|
"registry": "https://dgfipntic.imfr.cgi.com/api/packages/Cellule-financiere-transverse-PMO/npm/"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user