@massimo-cassandro/minimo 1.41.3 → 1.41.5
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/README.md +12 -12
- package/charts/src/node-helpers/create-svg-canvas-node.mjs +2 -2
- package/charts/src/node-helpers/svg-text-to-path.js +9 -9
- package/charts/src/rating-display/index.js +1 -1
- package/charts/src/rating-display/ratindDisplayAnimation.js +3 -3
- package/design-tokens/README.md +2 -2
- package/design-tokens/_src/_readme.md +26 -26
- package/dev-tools/README.md +16 -16
- package/dev-tools/create-favicons/README.md +31 -31
- package/dev-tools/create-favicons/src/create-ico.mjs +2 -2
- package/dev-tools/create-favicons/src/default-params.mjs +1 -1
- package/dev-tools/create-favicons/src/init.mjs +1 -1
- package/dev-tools/design-tokens-builder/README.md +102 -102
- package/dev-tools/design-tokens-builder/build-tokens-src/build-source-modes.mjs +85 -73
- package/dev-tools/design-tokens-builder/build-tokens-src/config.mjs +109 -85
- package/dev-tools/design-tokens-builder/build-tokens-src/formats/css.mjs +113 -90
- package/dev-tools/design-tokens-builder/build-tokens-src/formats/json.mjs +107 -95
- package/dev-tools/design-tokens-builder/build-tokens-src/legacy-tokens-parser.mjs +71 -64
- package/dev-tools/design-tokens-builder/build-tokens-src/light-dark.mjs +75 -65
- package/dev-tools/design-tokens-builder/build-tokens-src/merge-css.mjs +113 -102
- package/dev-tools/design-tokens-builder/build-tokens-src/platforms.mjs +36 -30
- package/dev-tools/design-tokens-builder/build-tokens-src/resolve-source-paths.mjs +15 -13
- package/dev-tools/design-tokens-builder/build-tokens-src/source-prefixes.mjs +44 -42
- package/dev-tools/design-tokens-builder/build-tokens-src/source-transforms.mjs +89 -83
- package/dev-tools/design-tokens-builder/build-tokens-src/token-rename-parser.mjs +99 -86
- package/dev-tools/design-tokens-builder/build-tokens-src/transforms.mjs +64 -48
- package/dev-tools/design-tokens-builder/build-tokens.mjs +80 -68
- package/dev-tools/design-tokens-builder/check-unresolved-custom-props.mjs +103 -77
- package/dev-tools/design-tokens-builder/tokens-config-sample.mjs +275 -238
- package/dev-tools/find-orphan-css-classes/find-orphan-css-classes.mjs +2 -2
- package/dev-tools/starter-kit/source_files/app/CLAUDE.md +4 -2
- package/dev-tools/starter-kit/source_files/app/index.css +10 -0
- package/dev-tools/starter-kit/source_files/app/index.js +1 -1
- package/dev-tools/starter-kit/source_files/root/_sf/controller/ImgViewerController.php +3 -3
- package/dev-tools/starter-kit/source_files/root/_sf/controller/ViewerController.php +2 -2
- package/dev-tools/starter-kit/source_files/root/stylelint.config.mjs +1 -1
- package/dev-tools/starter-kit/source_files/root/webpack-config-modules/css-rules.mjs +1 -1
- package/dev-tools/starter-kit/starter-install.sh +2 -2
- package/dev-tools/stylelint-config/README.md +7 -7
- package/dev-tools/svg-icons-tools/README.md +32 -32
- package/dev-tools/svg-icons-tools/src/config-manager.mjs +1 -1
- package/dev-tools/svg-icons-tools/src/default-config.mjs +118 -118
- package/dev-tools/svg-icons-tools/src/jsx-icon-file-builder.mjs +24 -24
- package/dev-tools/svg-icons-tools/src/parse-svg-filename.mjs +3 -3
- package/dev-tools/svg-icons-tools/src/parse-svg-files.mjs +1 -1
- package/dev-tools/svg-icons-tools/src/parse-svg-markup.mjs +4 -4
- package/dev-tools/svg-icons-tools/src/svg-to-jsx.mjs +2 -2
- package/dev-tools/svg-icons-tools/src/svg-to-optimized.mjs +2 -2
- package/dev-tools/svg-icons-tools/src/svg-to-symbols.mjs +2 -2
- package/dev-tools/upd@m/README.md +1 -1
- package/dev-tools/upd@m/index.mjs +1 -1
- package/dev-tools/update-version/README.md +9 -9
- package/index.js +1 -0
- package/package.json +3 -1
- package/snippets/unsplash-browser-app/README.md +1 -1
- package/snippets/unsplash-browser-app/unsplash-utilities.js +9 -9
- package/src/components/autocomplete/README.md +3 -3
- package/src/components/autocomplete/autocomplete-engine.js +75 -63
- package/src/components/autocomplete/check-autocomplete.js +3 -3
- package/src/components/dismiss-alerts.js +3 -3
- package/src/components/form-reset-submit.js +6 -6
- package/src/components/inner-nav/inner-nav.js +2 -2
- package/src/components/modal-alert/modal-alert.js +67 -65
- package/src/components/modal-alert/modal-alert.minimo.tokens.mjs +1 -1
- package/src/components/modal-popup/modal-popup.js +56 -56
- package/src/components/overlay/overlay.js +3 -3
- package/src/components/sf-macro/readme.md +1 -1
- package/src/components/sf-macro/sf-macro.js +27 -23
- package/src/components/slide-up-down-toggle/slide-up-down-toggle.js +83 -79
- package/src/components/slide-up-down-toggle/slide-up-down-toggle.module.css +44 -44
- package/src/components/snackbar/snackbar.js +19 -19
- package/src/components/spinner/spinner.js +3 -3
- package/src/components/unsplash-page/README.md +8 -8
- package/src/components/unsplash-page/fetch-unsplash-data.js +3 -3
- package/src/components/unsplash-page/unsplash-page.js +33 -33
- package/src/components/unsplash-page/unsplash-page.module.css +1 -1
- package/src/css/alerts.css +2 -2
- package/src/css/forms/forms.css +4 -4
- package/src/css/forms/validation.css +1 -1
- package/src/css/margin-padding-media.css +4 -4
- package/src/css/margin-padding.css +4 -4
- package/src/css/reset.css +11 -11
- package/src/icons/read-me.md +1 -1
- package/src/minimo.css +3 -9
- package/src/utilities/better-text-with-places.js +105 -105
- package/src/utilities/better-text.js +42 -35
- package/src/utilities/classnames.js +8 -8
- package/src/utilities/cookies.js +6 -6
- package/src/utilities/create-id.js +3 -3
- package/src/utilities/disable-btns-on-submit.js +2 -2
- package/src/utilities/dom-builder/dom-builder.js +89 -86
- package/src/utilities/dom-builder/domBuilderBasicSetup.js +9 -9
- package/src/utilities/dom-builder/parseDomString.js +23 -23
- package/src/utilities/dom-builder-helpers/README.md +2 -2
- package/src/utilities/dom-builder-helpers/form-tags.js +100 -100
- package/src/utilities/dom-builder-helpers/picture-tag.js +39 -39
- package/src/utilities/enable-submit-btns.js +1 -1
- package/src/utilities/escape-html.js +2 -2
- package/src/utilities/generate-pwd.js +4 -4
- package/src/utilities/linked-dates.js +13 -13
- package/src/utilities/parse-file-size.js +6 -6
- package/src/utilities/random-id.js +3 -3
- package/src/utilities/relative-date.js +40 -40
- package/src/utilities/sentence-case.js +1 -1
- package/src/utilities/strip-tags.js +1 -1
- package/src/utilities/title-case.js +1 -1
- package/src/utilities/truncate-string.js +5 -5
- package/src/utilities/validation-error-class.js +12 -12
- package/src/web-components/json-table/json-table-component.js +123 -121
- package/src/web-components/json-table/json-table-component.module.css +6 -6
- package/src/web-components/json-table/json-table.minimo.tokens.mjs +6 -6
- package/src/web-components/json-table/readme.md +76 -110
- package/src/web-components/json-table/src/cell-content.js +25 -25
- package/src/web-components/json-table/src/content-utils.js +21 -21
- package/src/web-components/json-table/src/data-types.js +32 -32
- package/src/web-components/json-table/src/defaults.js +230 -191
- package/src/web-components/json-table/src/get-data.js +55 -38
- package/src/web-components/json-table/src/icons.js +17 -17
- package/src/web-components/json-table/src/info-section.js +18 -18
- package/src/web-components/json-table/src/main-builder.js +45 -45
- package/src/web-components/json-table/src/pagination.js +32 -32
- package/src/web-components/json-table/src/parse-cols.js +18 -18
- package/src/web-components/json-table/src/parse-rows.js +17 -17
- package/src/web-components/json-table/src/resolve-params.js +53 -41
- package/src/web-components/json-table/src/search.js +13 -13
- package/src/web-components/json-table/src/sorting.js +20 -20
- package/src/web-components/json-table/src/table-body.js +13 -13
- package/src/web-components/json-table/src/table-builder.js +34 -34
- package/src/web-components/json-table/src/table-tfoot.js +8 -8
- package/src/web-components/json-table/src/table-thead.js +21 -21
- package/src/web-components/json-table/src/update-info.js +11 -11
- package/types/classes.d.ts +2 -2
- package/types/global.d.ts +18 -12
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Recupera e normalizza i dati di una foto Unsplash dall'URL indicato.
|
|
20
20
|
* @param {{ unsplash_data_url: string | null }} settings
|
|
21
21
|
* @returns {Promise<UnsplashPhoto | undefined>}
|
|
22
22
|
*/
|
|
@@ -34,7 +34,7 @@ export async function fetchUnsplashData(settings) {
|
|
|
34
34
|
throw new Error( 'Unsplash data url must be defined' );
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
const url = settings.unsplash_data_url; // const
|
|
37
|
+
const url = settings.unsplash_data_url; // const mantiene il narrowing dentro la closure dell'IIFE
|
|
38
38
|
|
|
39
39
|
const imgData = await (async () => {
|
|
40
40
|
const response = await fetch(url);
|
|
@@ -52,7 +52,7 @@ export async function fetchUnsplashData(settings) {
|
|
|
52
52
|
|
|
53
53
|
// console.log(data);
|
|
54
54
|
|
|
55
|
-
//
|
|
55
|
+
// dati utilizzati
|
|
56
56
|
return {
|
|
57
57
|
id : data.id,
|
|
58
58
|
color : data.color,
|
|
@@ -9,21 +9,21 @@ import { decode } from 'blurhash';
|
|
|
9
9
|
import * as styles from './unsplash-page.module.css';
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
13
|
-
*
|
|
12
|
+
* Inizializza una foto Unsplash a pagina intera con placeholder blurhash, elemento picture responsive
|
|
13
|
+
* e overlay di attribuzione.
|
|
14
14
|
* @param {Object} settings
|
|
15
|
-
* @param {HTMLElement | null} settings.targetElement -
|
|
16
|
-
* @param {string | null} [settings.className=null] -
|
|
17
|
-
* @param {string | null} settings.unsplashDataUrl - URL
|
|
18
|
-
* @param {string | null} settings.utmSource -
|
|
19
|
-
* @param {string | null} settings.title -
|
|
20
|
-
* @param {string | null} [settings.text=null] -
|
|
21
|
-
* @param {string | null} [settings.backLink=null] -
|
|
22
|
-
* @param {boolean} [settings.hidePhotoLink=true] -
|
|
15
|
+
* @param {HTMLElement | null} settings.targetElement - Elemento contenitore in cui verrà renderizzata la foto.
|
|
16
|
+
* @param {string | null} [settings.className=null] - Classe extra aggiunta al contenitore (default: null)
|
|
17
|
+
* @param {string | null} settings.unsplashDataUrl - URL che restituisce il JSON della foto Unsplash.
|
|
18
|
+
* @param {string | null} settings.utmSource - Valore utm_source per i link di attribuzione.
|
|
19
|
+
* @param {string | null} settings.title - Testo del titolo principale.
|
|
20
|
+
* @param {string | null} [settings.text=null] - Testo opzionale del corpo (default: null)
|
|
21
|
+
* @param {string | null} [settings.backLink=null] - HTML opzionale del link di ritorno (default: null)
|
|
22
|
+
* @param {boolean} [settings.hidePhotoLink=true] - Se true, il link a Unsplash viene mostrato solo al passaggio del mouse (default: true)
|
|
23
23
|
* @returns {Promise<void>}
|
|
24
24
|
*/
|
|
25
25
|
|
|
26
|
-
// TODO
|
|
26
|
+
// TODO aggiungere la personalizzazione del file dell'icona e altre custom props per il box del messaggio
|
|
27
27
|
|
|
28
28
|
export async function unsplashPage(settings) {
|
|
29
29
|
|
|
@@ -87,23 +87,23 @@ export async function unsplashPage(settings) {
|
|
|
87
87
|
|
|
88
88
|
container.insertAdjacentElement('afterbegin', canvas);
|
|
89
89
|
|
|
90
|
-
const formats = ['avif', 'webp', 'pjpg']; // `fm
|
|
90
|
+
const formats = ['avif', 'webp', 'pjpg']; // parametro `fm`, in ordine di utilizzo
|
|
91
91
|
|
|
92
92
|
/*
|
|
93
|
-
-
|
|
94
|
-
per
|
|
95
|
-
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
`widths`
|
|
100
|
-
-
|
|
93
|
+
- dimensioni dell'immagine raggruppate per aspect ratio: ogni gruppo diventa un tag <source>
|
|
94
|
+
per formato (avif/webp/pjpg)
|
|
95
|
+
- ogni aspect ratio è espresso come [w, h] (es. [16, 9]); `widths` elenca le larghezze
|
|
96
|
+
di rendering di destinazione per quel gruppo, usate sia come parametro imgix `w` sia come
|
|
97
|
+
descrittore `Nw` in `srcset`. L'altezza è derivata per ogni larghezza dal ratio del gruppo e
|
|
98
|
+
passata a imgix come `h` (vedi buildImgixUrl), quindi i gruppi possono riutilizzare senza problemi lo stesso
|
|
99
|
+
elenco `widths` (es. 9/16 e 9/20) richiedendo comunque un'altezza di crop diversa
|
|
100
|
+
- l'orientamento e la media feature aspect-ratio sono derivati dal ratio stesso:
|
|
101
101
|
ratio >= 1 -> landscape + min-aspect-ratio, ratio < 1 -> portrait + max-aspect-ratio
|
|
102
|
-
- NB:
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
102
|
+
- NB: l'ordine conta. <picture> usa "vince il primo <source> che corrisponde" (a differenza della
|
|
103
|
+
cascata CSS, dove vince l'ultima regola corrispondente), quindi i gruppi devono essere ordinati dal più al
|
|
104
|
+
meno restrittivo: i gruppi landscape dal ratio più largo al più stretto, i gruppi portrait
|
|
105
|
+
dal ratio più stretto al più largo. L'orientamento rende le due famiglie
|
|
106
|
+
mutuamente esclusive, quindi il loro ordine relativo non conta
|
|
107
107
|
*/
|
|
108
108
|
const sizes = [
|
|
109
109
|
// landscape 16/9
|
|
@@ -126,23 +126,23 @@ export async function unsplashPage(settings) {
|
|
|
126
126
|
ar: [9,16],
|
|
127
127
|
widths: [1080, 960, 768, 570, 400]
|
|
128
128
|
},
|
|
129
|
-
// portrait 3/4 (
|
|
129
|
+
// portrait 3/4 (tablet)
|
|
130
130
|
{
|
|
131
131
|
ar: [3,4],
|
|
132
132
|
widths: [1200, 1024, 840]
|
|
133
133
|
}
|
|
134
134
|
];
|
|
135
135
|
|
|
136
|
-
// `url`/`searchParams`
|
|
137
|
-
//
|
|
138
|
-
//
|
|
136
|
+
// `url`/`searchParams` e i parametri imgix statici (fit/crop/q) vengono impostati una sola volta qui
|
|
137
|
+
// e riutilizzati a ogni chiamata: `fm`/`w`/`h` sono le uniche parti che cambiano per immagine, e
|
|
138
|
+
// la stringa restituita viene sempre consumata in modo sincrono prima che la chiamata successiva le modifichi
|
|
139
139
|
/** @type {(w: number, h: number, fmt: string) => string} */
|
|
140
140
|
const buildImgixUrl = (() => {
|
|
141
141
|
const url = new URL(imgData.base_url),
|
|
142
142
|
searchParams = new URLSearchParams(url.search);
|
|
143
143
|
|
|
144
144
|
searchParams.set('fit', 'crop');
|
|
145
|
-
searchParams.set('crop', 'faces,entropy,edges'); // top, bottom, left, right, faces, focalpoint, edges
|
|
145
|
+
searchParams.set('crop', 'faces,entropy,edges'); // top, bottom, left, right, faces, focalpoint, edges ed entropy
|
|
146
146
|
searchParams.set('q', '60');
|
|
147
147
|
|
|
148
148
|
return (w, h, fmt) => {
|
|
@@ -155,8 +155,8 @@ export async function unsplashPage(settings) {
|
|
|
155
155
|
};
|
|
156
156
|
})();
|
|
157
157
|
|
|
158
|
-
//
|
|
159
|
-
//
|
|
158
|
+
// larghezza minima del gruppo più largo (il più comune), usata come semplice <img> di fallback
|
|
159
|
+
// per i browser senza supporto a <picture>: i tag <source> qui sopra coprono tutto il resto
|
|
160
160
|
const default_group = sizes[0],
|
|
161
161
|
default_w = default_group.widths[default_group.widths.length - 1],
|
|
162
162
|
default_h = Math.round(default_w * default_group.ar[1] / default_group.ar[0]);
|
|
@@ -199,7 +199,7 @@ export async function unsplashPage(settings) {
|
|
|
199
199
|
});
|
|
200
200
|
}),
|
|
201
201
|
|
|
202
|
-
// =>> img
|
|
202
|
+
// =>> img e il suo listener
|
|
203
203
|
{
|
|
204
204
|
tag: 'img',
|
|
205
205
|
className: styles.unsplashPhoto,
|
package/src/css/alerts.css
CHANGED
package/src/css/forms/forms.css
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
.form-group:has([required]):not(:has([disabled])) {
|
|
10
10
|
|
|
11
|
-
/* `>`
|
|
11
|
+
/* `>` esclude le label all'interno delle form-collection */
|
|
12
12
|
> .form-label {
|
|
13
13
|
position: relative;
|
|
14
14
|
padding-inline-start: var(--form-control-required-label-padding-inline-start);
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
/*
|
|
27
|
+
/* le singole checkbox e radio sono centrate verticalmente */
|
|
28
28
|
.form-group:not(.form-collection-fset):has(.form-check:not(.form-check-top-label)) {
|
|
29
29
|
align-self: center;
|
|
30
30
|
.form-check {
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
/*
|
|
43
|
-
|
|
44
|
-
|
|
43
|
+
con label implicita, senza id e for.
|
|
44
|
+
Esempio:
|
|
45
45
|
|
|
46
46
|
<div class="form-group">
|
|
47
47
|
<label>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* da BS5 */
|
|
2
2
|
.was-validated {
|
|
3
3
|
|
|
4
|
-
/*
|
|
4
|
+
/* include il campo statico il cui contenitore ha la classe is-valid / is-invalid */
|
|
5
5
|
.form-group:has(:valid), .form-group:has(.is-valid), .form-group.is-valid .form-control-static{
|
|
6
6
|
--_status-color: var(--status-success-color);
|
|
7
7
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* stylelint-disable selector-class-pattern */
|
|
2
2
|
|
|
3
|
-
/*
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
/* FILE GENERATO AUTOMATICAMENTE — non modificare a mano.
|
|
4
|
+
Generato da `node scripts/build-margin-padding-css.mjs`.
|
|
5
|
+
Modificare invece le mappe `sizes` / `classes` / `media` dello script.
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Controparte responsive di `margin-padding.css`, un blocco @media per breakpoint. */
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
@media (--media-xlarge-viewport-up) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* stylelint-disable selector-class-pattern */
|
|
2
2
|
|
|
3
|
-
/*
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
/* FILE GENERATO AUTOMATICAMENTE — non modificare a mano.
|
|
4
|
+
Generato da `node scripts/build-margin-padding-css.mjs`.
|
|
5
|
+
Modificare invece le mappe `sizes` / `classes` / `media` dello script.
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Le varianti responsive sono in `margin-padding-media.css`. */
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
.m-0 {
|
package/src/css/reset.css
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
/*
|
|
2
|
-
|
|
2
|
+
Reset CSS personalizzato di Josh
|
|
3
3
|
https://www.joshwcomeau.com/css/custom-css-reset/
|
|
4
4
|
*/
|
|
5
|
-
/* 1.
|
|
5
|
+
/* 1. Usa un modello di box-sizing più intuitivo */
|
|
6
6
|
|
|
7
7
|
*, *::before, *::after {
|
|
8
8
|
box-sizing: border-box;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
-
/* 2.
|
|
11
|
+
/* 2. Rimuove il margin predefinito */
|
|
12
12
|
* {
|
|
13
13
|
margin: 0;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
/* 3.
|
|
16
|
+
/* 3. Abilita le animazioni con keyword */
|
|
17
17
|
@media (prefers-reduced-motion: no-preference) {
|
|
18
18
|
html {
|
|
19
19
|
interpolate-size: allow-keywords;
|
|
@@ -21,29 +21,29 @@ https://www.joshwcomeau.com/css/custom-css-reset/
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
body {
|
|
24
|
-
/* 4.
|
|
24
|
+
/* 4. Aggiunge un line-height accessibile */
|
|
25
25
|
line-height: 1.5;
|
|
26
|
-
/* 5.
|
|
26
|
+
/* 5. Migliora il rendering del testo */
|
|
27
27
|
-webkit-font-smoothing: antialiased;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
/* 6.
|
|
30
|
+
/* 6. Migliora i default dei media */
|
|
31
31
|
img, picture, video, canvas, svg {
|
|
32
32
|
display: block;
|
|
33
33
|
max-width: 100%;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
/* 7.
|
|
36
|
+
/* 7. Eredita i font per i controlli dei form */
|
|
37
37
|
input, button, textarea, select {
|
|
38
38
|
font: inherit;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
/* 8.
|
|
41
|
+
/* 8. Evita l'overflow del testo */
|
|
42
42
|
p, h1, h2, h3, h4, h5, h6 {
|
|
43
43
|
overflow-wrap: break-word;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
/* 9.
|
|
46
|
+
/* 9. Migliora l'a capo del testo */
|
|
47
47
|
p {
|
|
48
48
|
text-wrap: pretty;
|
|
49
49
|
}
|
|
@@ -52,7 +52,7 @@ h1, h2, h3, h4, h5, h6 {
|
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
/*
|
|
55
|
-
10.
|
|
55
|
+
10. Crea uno stacking context alla radice
|
|
56
56
|
*/
|
|
57
57
|
/* stylelint-disable-next-line selector-id-pattern, selector-max-id */
|
|
58
58
|
#root, #__next {
|
package/src/icons/read-me.md
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Quasi tutte le icone provengono da <https://phosphoricons.com/>
|
package/src/minimo.css
CHANGED
|
@@ -1,10 +1,6 @@
|
|
|
1
|
-
/*
|
|
1
|
+
/* decommentare per usare i layer. Vedi https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/At-rules/@layer */
|
|
2
2
|
/* @layer reset, base, components, utilities, project, overrides; */
|
|
3
3
|
|
|
4
|
-
@import '@css/fonts.css';
|
|
5
|
-
/* @import '@css/custom-media.css'; */ /* managed by postcss */
|
|
6
|
-
/* @import '@css/custom-properties.css'; */ /* layer('base'); */ /* comment if managed by postcss-jit-props */
|
|
7
|
-
|
|
8
4
|
@import '@minimoSrc/css/reset.css';
|
|
9
5
|
@import '@minimoSrc/css/layout-base.css';
|
|
10
6
|
@import '@minimoSrc/css/container.css';
|
|
@@ -40,15 +36,13 @@
|
|
|
40
36
|
@import '@minimoSrc/css/sizes.css';
|
|
41
37
|
@import '@minimoSrc/css/display.css';
|
|
42
38
|
@import '@minimoSrc/css/margin-padding.css';
|
|
43
|
-
/* @import '@minimoSrc/css/margin-padding-media.css'; responsive
|
|
39
|
+
/* @import '@minimoSrc/css/margin-padding-media.css'; versione responsive */
|
|
44
40
|
|
|
45
41
|
@import '@minimoSrc/css/overflow.css';
|
|
46
42
|
@import '@minimoSrc/css/position.css';
|
|
47
43
|
@import '@minimoSrc/css/visibility.css';
|
|
48
44
|
|
|
49
45
|
|
|
50
|
-
/* spinner:
|
|
46
|
+
/* spinner: includere solo il css dello spinner scelto */
|
|
51
47
|
@import '@minimoSrc/components/spinner/spinner-circle-basic.css';
|
|
52
48
|
|
|
53
|
-
|
|
54
|
-
/* @import '@css/layout.css'; */
|