@massimo-cassandro/minimo 1.16.1 → 1.17.0
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 +9 -0
- package/design-tokens/_src/components/modal-alert.minimo.tokens.mjs +164 -0
- package/design-tokens/_src/components/slide-up-down-toggle.minimo.tokens.mjs +9 -0
- package/design-tokens/_src/headings.minimo.tokens.mjs +8 -0
- package/design-tokens/_src/typography.minimo.tokens.mjs +1 -1
- package/design-tokens/tokens/components/modal-alert.minimo.tokens.jsonc +166 -0
- package/design-tokens/tokens/components/slide-up-down-toggle.minimo.tokens.jsonc +14 -0
- package/design-tokens/tokens/headings.minimo.tokens.jsonc +8 -0
- package/design-tokens/utilities/build-tokens-src/formats/css.mjs +1 -1
- package/design-tokens/utilities/build-tokens-src/formats/penpot.mjs +1 -1
- package/design-tokens/utilities/check-unresolved-custom-props.mjs +11 -12
- package/design-tokens/utilities/tokens-config-sample.mjs +1 -1
- package/dev-tools/README.md +1 -1
- package/dev-tools/starter-kit/webpack.config.mjs +0 -22
- package/package.json +2 -1
- package/src/components/modal-alert/modal-alert.js +295 -165
- package/src/components/modal-alert/modal-alert.module.css +145 -0
- package/src/components/modal-alert/svg/confirm.svg +4 -1
- package/src/components/modal-alert/svg/danger.svg +4 -0
- package/src/components/modal-alert/svg/error.svg +4 -1
- package/src/components/modal-alert/svg/info.svg +4 -1
- package/src/components/modal-alert/svg/success.svg +4 -1
- package/src/components/modal-alert/svg/warning.svg +4 -1
- package/src/components/slide-up-down-toggle/slide-up-down-toggle.module.css +2 -2
- package/src/css/dimensions.css +3 -0
- package/src/css/margin-padding-bootstrap-media.css +1844 -0
- package/src/css/margin-padding-bootstrap.css +464 -0
- package/src/css/margin-padding-media.css +1843 -0
- package/src/css/margin-padding.css +405 -45
- package/src/custom-media.css +12 -0
- package/src/custom-properties.css +24 -0
- package/src/minimo.css +5 -0
- package/src/components/modal-alert/TODO modal-alert-demo/demo.css +0 -63
- package/src/components/modal-alert/TODO modal-alert-demo/demo.js +0 -155
- package/src/components/modal-alert/TODO.md +0 -3
- package/src/components/modal-alert/customization-templates/custom-modal-alert.css +0 -46
- package/src/components/modal-alert/customization-templates/custom-modal-alert.js +0 -89
- package/src/components/modal-alert/defaults.js +0 -58
- package/src/components/modal-alert/marks.js +0 -9
- package/src/components/modal-alert/modal-alert.css +0 -159
- package/src/components/modal-alert/svg/svg-to-js.mjs +0 -26
|
@@ -1 +1,4 @@
|
|
|
1
|
-
<svg
|
|
1
|
+
<svg width="134" height="134" viewBox="0 0 134 134" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M127 67.5C127 34.6391 100.361 8 67.5 8C34.6391 8 8 34.6391 8 67.5C8 100.361 34.6391 127 67.5 127C100.361 127 127 100.361 127 67.5ZM134 67.5C134 104.227 104.227 134 67.5 134C30.7731 134 1 104.227 1 67.5C1 30.7731 30.7731 1 67.5 1C104.227 1 134 30.7731 134 67.5Z" fill="#0288D1"/>
|
|
3
|
+
<path d="M71.1602 45.0811C73.1598 45.0811 74.6397 45.6812 75.5996 46.8809C76.6396 48.0008 77.1601 50.0812 77.1602 53.1211C77.1602 54.641 76.8401 56.5611 76.2002 58.8809C75.5602 61.1208 74.6795 63.801 73.5596 66.9209C70.7595 74.521 67.9462 82.1164 65.1602 89.7217C65.0001 90.2817 64.6801 91.1616 64.2002 92.3613C63.8002 93.5612 63.4401 94.8012 63.1201 96.0811C62.8001 97.2809 62.6397 98.2811 62.6396 99.0811C62.6396 99.801 62.8402 100.441 63.2402 101.001C63.6402 101.561 64.2802 101.842 65.1602 101.842C66.3601 101.842 67.6 101.361 68.8799 100.401C70.1598 99.4415 71.3997 98.2416 72.5996 96.8018C73.8796 95.3618 74.9599 93.9615 75.8398 92.6016C76.7998 91.2416 77.52 90.1613 78 89.3613L81.5996 91.4014C80.6396 93.3213 79.3196 95.4418 77.6396 97.7617C76.0398 100.002 74.1999 102.161 72.1201 104.241C70.0402 106.241 67.7601 107.881 65.2803 109.161C62.8003 110.441 60.2396 111.081 57.5996 111.081C55.2797 111.081 53.5193 110.481 52.3193 109.281C51.1995 108.001 50.6396 106.001 50.6396 103.281C50.6397 100.961 50.9998 98.4816 51.7197 95.8418C54.2588 87.2088 57.4964 78.7666 60.4795 70.2812C61.5994 67.1614 62.3999 64.6416 62.8799 62.7217C63.3599 60.7217 63.5996 59.2011 63.5996 58.1611C63.5996 57.0412 63.4 56.321 63 56.001C62.68 55.6011 62.3198 55.4014 61.9199 55.4014C60.7999 55.4014 59.4799 56.0814 57.96 57.4414C56.5201 58.8013 55.1999 60.281 54 61.8809C52.8 63.4809 51.9595 64.7216 51.4795 65.6016L48 63.4414C48.96 61.6014 50.28 59.6415 51.96 57.5615C53.7199 55.4816 55.6799 53.4815 57.8398 51.5615C60.0798 49.6415 62.3196 48.0809 64.5596 46.8809C66.8796 45.6809 69.0802 45.0811 71.1602 45.0811ZM78.7998 23C83.2181 23 86.7998 26.5817 86.7998 31C86.7998 35.4183 83.2181 39 78.7998 39C74.3815 39 70.7998 35.4183 70.7998 31C70.7998 26.5817 74.3815 23 78.7998 23Z" fill="#0288D1"/>
|
|
4
|
+
</svg>
|
|
@@ -1 +1,4 @@
|
|
|
1
|
-
<svg
|
|
1
|
+
<svg width="134" height="134" viewBox="0 0 134 134" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M126.5 67C126.5 34.1391 99.8609 7.5 67 7.5C34.1391 7.5 7.5 34.1391 7.5 67C7.5 99.8609 34.1391 126.5 67 126.5C99.8609 126.5 126.5 99.8609 126.5 67ZM133.5 67C133.5 103.727 103.727 133.5 67 133.5C30.2731 133.5 0.5 103.727 0.5 67C0.5 30.2731 30.2731 0.5 67 0.5C103.727 0.5 133.5 30.2731 133.5 67Z" fill="#297E2D"/>
|
|
3
|
+
<path d="M99.9277 40.5224C101.296 39.1572 103.512 39.1595 104.877 40.5273C106.242 41.8956 106.24 44.1121 104.872 45.4775L53.7207 96.5244L29.5478 72.7978C28.1686 71.4439 28.1483 69.2281 29.5019 67.8486C30.856 66.4691 33.0726 66.4477 34.4521 67.8017L53.6787 86.6758L99.9277 40.5224Z" fill="#388E3C"/>
|
|
4
|
+
</svg>
|
|
@@ -1 +1,4 @@
|
|
|
1
|
-
<svg
|
|
1
|
+
<svg width="134" height="134" viewBox="0 0 134 134" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M126.5 67C126.5 34.1391 99.8609 7.5 67 7.5C34.1391 7.5 7.5 34.1391 7.5 67C7.5 99.8609 34.1391 126.5 67 126.5C99.8609 126.5 126.5 99.8609 126.5 67ZM133.5 67C133.5 103.727 103.727 133.5 67 133.5C30.2731 133.5 0.5 103.727 0.5 67C0.5 30.2731 30.2731 0.5 67 0.5C103.727 0.5 133.5 30.2731 133.5 67Z" fill="#CC0000"/>
|
|
3
|
+
<path d="M53.8789 66.5V36.2754L53.874 36.0723C53.7675 33.9875 52.0278 32.3 49.8594 32.2998C47.6208 32.2998 45.8389 34.0983 45.8389 36.2754V73.4746C45.8389 75.1315 44.4957 76.4746 42.8389 76.4746C42.7884 76.4746 42.7383 76.4732 42.6885 76.4707C41.5744 76.501 40.4872 75.9106 39.9404 74.8545L35.8486 66.9482C34.21 64.8907 31.2001 64.4603 29.0342 66.0254C26.8936 67.5724 26.3767 70.4919 27.7998 72.6582L27.9434 72.8652L28.0723 73.0576C28.1128 73.1231 28.1511 73.1903 28.1865 73.2588L40.7451 97.5195C45.0778 104.05 52.7638 108.715 61.7832 110H70.9189C84.7888 110 96 98.8333 96 85.0996V45.5752C96 43.3981 94.218 41.5996 91.9795 41.5996C89.7411 41.5998 87.96 43.3982 87.96 45.5752V66.5C87.96 68.1568 86.6167 69.4999 84.96 69.5C83.3031 69.5 81.96 68.1569 81.96 66.5V36.2754C81.96 34.0983 80.178 32.2998 77.9394 32.2998C75.701 32.2999 73.9189 34.0983 73.9189 36.2754V66.5C73.9189 68.1569 72.5758 69.5 70.9189 69.5C69.2623 69.4998 67.9189 68.1567 67.9189 66.5V26.9746C67.9187 24.7977 66.1377 23.0001 63.8994 23C61.661 23 59.8791 24.7977 59.8789 26.9746V66.5C59.8789 68.1569 58.5358 69.5 56.8789 69.5C55.2221 69.4999 53.8789 68.1568 53.8789 66.5ZM73.9189 27.1377C75.151 26.5996 76.511 26.2998 77.9394 26.2998C83.4551 26.2998 87.96 30.7481 87.96 36.2754V36.4375C89.1918 35.8996 90.5514 35.5997 91.9795 35.5996C97.4952 35.5996 102 40.0479 102 45.5752V85.0996C102 102.183 88.066 116 70.9189 116H61.5596C61.4232 116 61.2864 115.991 61.1514 115.973C50.5128 114.514 41.0695 108.966 35.6494 100.694C35.5933 100.609 35.5412 100.52 35.4941 100.429L22.9453 76.1826C19.5685 71.3211 20.6969 64.6476 25.5205 61.1621C29.9932 57.9302 36.1038 58.5528 39.8389 62.4131V36.2754C39.8389 30.7481 44.3437 26.2998 49.8594 26.2998C51.2874 26.2999 52.647 26.5998 53.8789 27.1377V26.9746C53.8791 21.4475 58.3838 17 63.8994 17C69.4149 17.0001 73.9187 21.4476 73.9189 26.9746V27.1377Z" fill="#CC0000"/>
|
|
4
|
+
</svg>
|
|
@@ -56,8 +56,8 @@
|
|
|
56
56
|
height: auto;
|
|
57
57
|
overflow: hidden;
|
|
58
58
|
transition:
|
|
59
|
-
height var(--slide-duration
|
|
60
|
-
display var(--slide-duration
|
|
59
|
+
height var(--slide-duration) ease,
|
|
60
|
+
display var(--slide-duration) allow-discrete;
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
/* collapsed state: height animates to 0, then display snaps to none */
|