@digigov/css 0.27.0 → 0.28.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/dist/utilities.js CHANGED
@@ -1 +1 @@
1
- module.exports = {".govgr-m-0":{"margin":"0 !important"},".govgr-m-1":{"margin":".25rem !important"},".govgr-m-2":{"margin":".5rem !important"},".govgr-m-3":{"margin":".5rem !important"},"@media (min-width:768px)":[{".govgr-m-3":{"margin":".75rem !important"}},{".govgr-m-4":{"margin":"1rem !important"}},{".govgr-m-5":{"margin":"1.25rem !important"}},{".govgr-m-6":{"margin":"1.5rem !important"}},{".govgr-m-7":{"margin":"2rem !important"}},{".govgr-m-8":{"margin":"2.5rem !important"}},{".govgr-m-9":{"margin":"3rem !important"}},{".govgr-mt-3":{"marginTop":".75rem !important"}},{".govgr-mt-4":{"marginTop":"1rem !important"}},{".govgr-mt-5":{"marginTop":"1.25rem !important"}},{".govgr-mt-6":{"marginTop":"1.5rem !important"}},{".govgr-mt-7":{"marginTop":"2rem !important"}},{".govgr-mt-8":{"marginTop":"2.5rem !important"}},{".govgr-mt-9":{"marginTop":"3rem !important"}},{".govgr-mb-3":{"marginBottom":".75rem !important"}},{".govgr-mb-4":{"marginBottom":"1rem !important"}},{".govgr-mb-5":{"marginBottom":"1.25rem !important"}},{".govgr-mb-6":{"marginBottom":"1.5rem !important"}},{".govgr-mb-7":{"marginBottom":"2rem !important"}},{".govgr-mb-8":{"marginBottom":"2.5rem !important"}},{".govgr-mb-9":{"marginBottom":"3rem !important"}},{".govgr-ml-3":{"marginLeft":".75rem !important"}},{".govgr-ml-4":{"marginLeft":"1rem !important"}},{".govgr-ml-5":{"marginLeft":"1.25rem !important"}},{".govgr-ml-6":{"marginLeft":"1.5rem !important"}},{".govgr-ml-7":{"marginLeft":"2rem !important"}},{".govgr-ml-8":{"marginLeft":"2.5rem !important"}},{".govgr-ml-9":{"marginLeft":"3rem !important"}},{".govgr-mr-3":{"marginRight":".75rem !important"}},{".govgr-mr-4":{"marginRight":"1rem !important"}},{".govgr-mr-5":{"marginRight":"1.25rem !important"}},{".govgr-mr-6":{"marginRight":"1.5rem !important"}},{".govgr-mr-7":{"marginRight":"2rem !important"}},{".govgr-mr-8":{"marginRight":"2.5rem !important"}},{".govgr-mr-9":{"marginRight":"3rem !important"}},{".govgr-p-3":{"padding":".75rem !important"}},{".govgr-p-4":{"padding":"1rem !important"}},{".govgr-p-5":{"padding":"1.25rem !important"}},{".govgr-p-6":{"padding":"1.5rem !important"}},{".govgr-p-7":{"padding":"2rem !important"}},{".govgr-p-8":{"padding":"2.5rem !important"}},{".govgr-p-9":{"padding":"3rem !important"}},{".govgr-pt-3":{"paddingTop":".75rem !important"}},{".govgr-pt-4":{"paddingTop":"1rem !important"}},{".govgr-pt-5":{"paddingTop":"1.25rem !important"}},{".govgr-pt-6":{"paddingTop":"1.5rem !important"}},{".govgr-pt-7":{"paddingTop":"2rem !important"}},{".govgr-pt-8":{"paddingTop":"2.5rem !important"}},{".govgr-pt-9":{"paddingTop":"3rem !important"}},{".govgr-pb-3":{"paddingBottom":".75rem !important"}},{".govgr-pb-4":{"paddingBottom":"1rem !important"}},{".govgr-pb-5":{"paddingBottom":"1.25rem !important"}},{".govgr-pb-6":{"paddingBottom":"1.5rem !important"}},{".govgr-pb-7":{"paddingBottom":"2rem !important"}},{".govgr-pb-8":{"paddingBottom":"2.5rem !important"}},{".govgr-pb-9":{"paddingBottom":"3rem !important"}},{".govgr-pl-3":{"paddingLeft":".75rem !important"}},{".govgr-pl-4":{"paddingLeft":"1rem !important"}},{".govgr-pl-5":{"paddingLeft":"1.25rem !important"}},{".govgr-pl-6":{"paddingLeft":"1.5rem !important"}},{".govgr-pl-7":{"paddingLeft":"2rem !important"}},{".govgr-pl-8":{"paddingLeft":"2.5rem !important"}},{".govgr-pl-9":{"paddingLeft":"3rem !important"}},{".govgr-pr-3":{"paddingRight":".75rem !important"}},{".govgr-pr-4":{"paddingRight":"1rem !important"}},{".govgr-pr-5":{"paddingRight":"1.25rem !important"}},{".govgr-pr-6":{"paddingRight":"1.5rem !important"}},{".govgr-pr-7":{"paddingRight":"2rem !important"}},{".govgr-pr-8":{"paddingRight":"2.5rem !important"}},{".govgr-pr-9":{"paddingRight":"3rem !important"}},{".govgr-grid":{"gridTemplateColumns":"repeat(12,minmax(0,1fr))"}},{".govgr-md-up":{"display":"none"}},{".govgr-md-up-block":{"display":"block !important"}}],".govgr-m-4":{"margin":".75rem !important"},".govgr-m-5":{"margin":"1rem !important"},".govgr-m-6":{"margin":"1.25rem !important"},".govgr-m-7":{"margin":"1.5rem !important"},".govgr-m-8":{"margin":"2rem !important"},".govgr-m-9":{"margin":"2rem !important"},".govgr-mt-0":{"marginTop":"0 !important"},".govgr-mt-1":{"marginTop":".25rem !important"},".govgr-mt-2":{"marginTop":".5rem !important"},".govgr-mt-3":{"marginTop":".5rem !important"},".govgr-mt-4":{"marginTop":".75rem !important"},".govgr-mt-5":{"marginTop":"1rem !important"},".govgr-mt-6":{"marginTop":"1.25rem !important"},".govgr-mt-7":{"marginTop":"1.5rem !important"},".govgr-mt-8":{"marginTop":"2rem !important"},".govgr-mt-9":{"marginTop":"2rem !important"},".govgr-mb-0":{"marginBottom":"0 !important"},".govgr-mb-1":{"marginBottom":".25rem !important"},".govgr-mb-2":{"marginBottom":".5rem !important"},".govgr-mb-3":{"marginBottom":".5rem !important"},".govgr-mb-4":{"marginBottom":".75rem !important"},".govgr-mb-5":{"marginBottom":"1rem !important"},".govgr-mb-6":{"marginBottom":"1.25rem !important"},".govgr-mb-7":{"marginBottom":"1.5rem !important"},".govgr-mb-8":{"marginBottom":"2rem !important"},".govgr-mb-9":{"marginBottom":"2rem !important"},".govgr-ml-0":{"marginLeft":"0 !important"},".govgr-ml-1":{"marginLeft":".25rem !important"},".govgr-ml-2":{"marginLeft":".5rem !important"},".govgr-ml-3":{"marginLeft":".5rem !important"},".govgr-ml-4":{"marginLeft":".75rem !important"},".govgr-ml-5":{"marginLeft":"1rem !important"},".govgr-ml-6":{"marginLeft":"1.25rem !important"},".govgr-ml-7":{"marginLeft":"1.5rem !important"},".govgr-ml-8":{"marginLeft":"2rem !important"},".govgr-ml-9":{"marginLeft":"2rem !important"},".govgr-mr-0":{"marginRight":"0 !important"},".govgr-mr-1":{"marginRight":".25rem !important"},".govgr-mr-2":{"marginRight":".5rem !important"},".govgr-mr-3":{"marginRight":".5rem !important"},".govgr-mr-4":{"marginRight":".75rem !important"},".govgr-mr-5":{"marginRight":"1rem !important"},".govgr-mr-6":{"marginRight":"1.25rem !important"},".govgr-mr-7":{"marginRight":"1.5rem !important"},".govgr-mr-8":{"marginRight":"2rem !important"},".govgr-mr-9":{"marginRight":"2rem !important"},".govgr-p-0":{"padding":"0 !important"},".govgr-p-1":{"padding":".25rem !important"},".govgr-p-2":{"padding":".5rem !important"},".govgr-p-3":{"padding":".5rem !important"},".govgr-p-4":{"padding":".75rem !important"},".govgr-p-5":{"padding":"1rem !important"},".govgr-p-6":{"padding":"1.25rem !important"},".govgr-p-7":{"padding":"1.5rem !important"},".govgr-p-8":{"padding":"2rem !important"},".govgr-p-9":{"padding":"2rem !important"},".govgr-pt-0":{"paddingTop":"0 !important"},".govgr-pt-1":{"paddingTop":".25rem !important"},".govgr-pt-2":{"paddingTop":".5rem !important"},".govgr-pt-3":{"paddingTop":".5rem !important"},".govgr-pt-4":{"paddingTop":".75rem !important"},".govgr-pt-5":{"paddingTop":"1rem !important"},".govgr-pt-6":{"paddingTop":"1.25rem !important"},".govgr-pt-7":{"paddingTop":"1.5rem !important"},".govgr-pt-8":{"paddingTop":"2rem !important"},".govgr-pt-9":{"paddingTop":"2rem !important"},".govgr-pb-0":{"paddingBottom":"0 !important"},".govgr-pb-1":{"paddingBottom":".25rem !important"},".govgr-pb-2":{"paddingBottom":".5rem !important"},".govgr-pb-3":{"paddingBottom":".5rem !important"},".govgr-pb-4":{"paddingBottom":".75rem !important"},".govgr-pb-5":{"paddingBottom":"1rem !important"},".govgr-pb-6":{"paddingBottom":"1.25rem !important"},".govgr-pb-7":{"paddingBottom":"1.5rem !important"},".govgr-pb-8":{"paddingBottom":"2rem !important"},".govgr-pb-9":{"paddingBottom":"2rem !important"},".govgr-pl-0":{"paddingLeft":"0 !important"},".govgr-pl-1":{"paddingLeft":".25rem !important"},".govgr-pl-2":{"paddingLeft":".5rem !important"},".govgr-pl-3":{"paddingLeft":".5rem !important"},".govgr-pl-4":{"paddingLeft":".75rem !important"},".govgr-pl-5":{"paddingLeft":"1rem !important"},".govgr-pl-6":{"paddingLeft":"1.25rem !important"},".govgr-pl-7":{"paddingLeft":"1.5rem !important"},".govgr-pl-8":{"paddingLeft":"2rem !important"},".govgr-pl-9":{"paddingLeft":"2rem !important"},".govgr-pr-0":{"paddingRight":"0 !important"},".govgr-pr-1":{"paddingRight":".25rem !important"},".govgr-pr-2":{"paddingRight":".5rem !important"},".govgr-pr-3":{"paddingRight":".5rem !important"},".govgr-pr-4":{"paddingRight":".75rem !important"},".govgr-pr-5":{"paddingRight":"1rem !important"},".govgr-pr-6":{"paddingRight":"1.25rem !important"},".govgr-pr-7":{"paddingRight":"1.5rem !important"},".govgr-pr-8":{"paddingRight":"2rem !important"},".govgr-pr-9":{"paddingRight":"2rem !important"},".govgr-grid":{"display":"grid","gridTemplateColumns":"repeat(1,minmax(0,1fr))"},".govgr-grid-inline":{"display":"inline-grid"},".govgr-grid__gap-1":{"gap":".25rem"},".govgr-grid__gap-2":{"gap":".5rem"},".govgr-grid__gap-3":{"gap":".75rem"},".govgr-grid__gap-4":{"gap":"1rem"},".govgr-grid__gap-6":{"gap":"1.5rem"},".govgr-grid__gap-8":{"gap":"2rem"},".govgr-grid__gap-10":{"gap":"2.5rem"},".govgr-grid__gap-12":{"gap":"3rem"},".govgr-grid__col-auto":{"gridColumn":"auto"},".govgr-grid__col-span-1":{"gridColumn":"span 1/span 1"},".govgr-grid__col-span-2":{"gridColumn":"span 2/span 2"},".govgr-grid__col-span-3":{"gridColumn":"span 3/span 3"},".govgr-grid__col-span-4":{"gridColumn":"span 4/span 4"},".govgr-grid__col-span-5":{"gridColumn":"span 5/span 5"},".govgr-grid__col-span-6":{"gridColumn":"span 6/span 6"},".govgr-grid__col-span-7":{"gridColumn":"span 7/span 7"},".govgr-grid__col-span-8":{"gridColumn":"span 8/span 8"},".govgr-grid__col-span-9":{"gridColumn":"span 9/span 9"},".govgr-grid__col-span-10":{"gridColumn":"span 10/span 10"},".govgr-grid__col-span-11":{"gridColumn":"span 11/span 11"},".govgr-grid__col-span-12":{"gridColumn":"span 12/span 12"},"@media (min-width:1024px)":[{".govgr-lg-up":{"display":"none"}},{".govgr-lg-up-block":{"display":"block !important"}}],"@media (min-width:640px)":[{".govgr-sm-up":{"display":"none"}},{".govgr-sm-up-block":{"display":"block !important"}}],"@media (min-width:1280px)":[{".govgr-xl-up":{"display":"none"}},{".govgr-xl-up-block":{"display":"block !important"}}],"@media (min-width:0px)":[{".govgr-xs-up":{"display":"none"}},{".govgr-xs-up-block":{"display":"block !important"}}]};
1
+ module.exports = {".govgr-m-0":{"margin":"0 !important"},".govgr-m-1":{"margin":".25rem !important"},".govgr-m-2":{"margin":".5rem !important"},".govgr-m-3":{"margin":".5rem !important"},"@media (min-width:768px)":[{".govgr-m-3":{"margin":".75rem !important"}},{".govgr-m-4":{"margin":"1rem !important"}},{".govgr-m-5":{"margin":"1.25rem !important"}},{".govgr-m-6":{"margin":"1.5rem !important"}},{".govgr-m-7":{"margin":"2rem !important"}},{".govgr-m-8":{"margin":"2.5rem !important"}},{".govgr-m-9":{"margin":"3rem !important"}},{".govgr-mt-3":{"marginTop":".75rem !important"}},{".govgr-mt-4":{"marginTop":"1rem !important"}},{".govgr-mt-5":{"marginTop":"1.25rem !important"}},{".govgr-mt-6":{"marginTop":"1.5rem !important"}},{".govgr-mt-7":{"marginTop":"2rem !important"}},{".govgr-mt-8":{"marginTop":"2.5rem !important"}},{".govgr-mt-9":{"marginTop":"3rem !important"}},{".govgr-mb-3":{"marginBottom":".75rem !important"}},{".govgr-mb-4":{"marginBottom":"1rem !important"}},{".govgr-mb-5":{"marginBottom":"1.25rem !important"}},{".govgr-mb-6":{"marginBottom":"1.5rem !important"}},{".govgr-mb-7":{"marginBottom":"2rem !important"}},{".govgr-mb-8":{"marginBottom":"2.5rem !important"}},{".govgr-mb-9":{"marginBottom":"3rem !important"}},{".govgr-ml-3":{"marginLeft":".75rem !important"}},{".govgr-ml-4":{"marginLeft":"1rem !important"}},{".govgr-ml-5":{"marginLeft":"1.25rem !important"}},{".govgr-ml-6":{"marginLeft":"1.5rem !important"}},{".govgr-ml-7":{"marginLeft":"2rem !important"}},{".govgr-ml-8":{"marginLeft":"2.5rem !important"}},{".govgr-ml-9":{"marginLeft":"3rem !important"}},{".govgr-mr-3":{"marginRight":".75rem !important"}},{".govgr-mr-4":{"marginRight":"1rem !important"}},{".govgr-mr-5":{"marginRight":"1.25rem !important"}},{".govgr-mr-6":{"marginRight":"1.5rem !important"}},{".govgr-mr-7":{"marginRight":"2rem !important"}},{".govgr-mr-8":{"marginRight":"2.5rem !important"}},{".govgr-mr-9":{"marginRight":"3rem !important"}},{".govgr-p-3":{"padding":".75rem !important"}},{".govgr-p-4":{"padding":"1rem !important"}},{".govgr-p-5":{"padding":"1.25rem !important"}},{".govgr-p-6":{"padding":"1.5rem !important"}},{".govgr-p-7":{"padding":"2rem !important"}},{".govgr-p-8":{"padding":"2.5rem !important"}},{".govgr-p-9":{"padding":"3rem !important"}},{".govgr-pt-3":{"paddingTop":".75rem !important"}},{".govgr-pt-4":{"paddingTop":"1rem !important"}},{".govgr-pt-5":{"paddingTop":"1.25rem !important"}},{".govgr-pt-6":{"paddingTop":"1.5rem !important"}},{".govgr-pt-7":{"paddingTop":"2rem !important"}},{".govgr-pt-8":{"paddingTop":"2.5rem !important"}},{".govgr-pt-9":{"paddingTop":"3rem !important"}},{".govgr-pb-3":{"paddingBottom":".75rem !important"}},{".govgr-pb-4":{"paddingBottom":"1rem !important"}},{".govgr-pb-5":{"paddingBottom":"1.25rem !important"}},{".govgr-pb-6":{"paddingBottom":"1.5rem !important"}},{".govgr-pb-7":{"paddingBottom":"2rem !important"}},{".govgr-pb-8":{"paddingBottom":"2.5rem !important"}},{".govgr-pb-9":{"paddingBottom":"3rem !important"}},{".govgr-pl-3":{"paddingLeft":".75rem !important"}},{".govgr-pl-4":{"paddingLeft":"1rem !important"}},{".govgr-pl-5":{"paddingLeft":"1.25rem !important"}},{".govgr-pl-6":{"paddingLeft":"1.5rem !important"}},{".govgr-pl-7":{"paddingLeft":"2rem !important"}},{".govgr-pl-8":{"paddingLeft":"2.5rem !important"}},{".govgr-pl-9":{"paddingLeft":"3rem !important"}},{".govgr-pr-3":{"paddingRight":".75rem !important"}},{".govgr-pr-4":{"paddingRight":"1rem !important"}},{".govgr-pr-5":{"paddingRight":"1.25rem !important"}},{".govgr-pr-6":{"paddingRight":"1.5rem !important"}},{".govgr-pr-7":{"paddingRight":"2rem !important"}},{".govgr-pr-8":{"paddingRight":"2.5rem !important"}},{".govgr-pr-9":{"paddingRight":"3rem !important"}},{".govgr-md-up":{"display":"none"}},{".govgr-md-up-block":{"display":"block !important"}}],".govgr-m-4":{"margin":".75rem !important"},".govgr-m-5":{"margin":"1rem !important"},".govgr-m-6":{"margin":"1.25rem !important"},".govgr-m-7":{"margin":"1.5rem !important"},".govgr-m-8":{"margin":"2rem !important"},".govgr-m-9":{"margin":"2rem !important"},".govgr-mt-0":{"marginTop":"0 !important"},".govgr-mt-1":{"marginTop":".25rem !important"},".govgr-mt-2":{"marginTop":".5rem !important"},".govgr-mt-3":{"marginTop":".5rem !important"},".govgr-mt-4":{"marginTop":".75rem !important"},".govgr-mt-5":{"marginTop":"1rem !important"},".govgr-mt-6":{"marginTop":"1.25rem !important"},".govgr-mt-7":{"marginTop":"1.5rem !important"},".govgr-mt-8":{"marginTop":"2rem !important"},".govgr-mt-9":{"marginTop":"2rem !important"},".govgr-mb-0":{"marginBottom":"0 !important"},".govgr-mb-1":{"marginBottom":".25rem !important"},".govgr-mb-2":{"marginBottom":".5rem !important"},".govgr-mb-3":{"marginBottom":".5rem !important"},".govgr-mb-4":{"marginBottom":".75rem !important"},".govgr-mb-5":{"marginBottom":"1rem !important"},".govgr-mb-6":{"marginBottom":"1.25rem !important"},".govgr-mb-7":{"marginBottom":"1.5rem !important"},".govgr-mb-8":{"marginBottom":"2rem !important"},".govgr-mb-9":{"marginBottom":"2rem !important"},".govgr-ml-0":{"marginLeft":"0 !important"},".govgr-ml-1":{"marginLeft":".25rem !important"},".govgr-ml-2":{"marginLeft":".5rem !important"},".govgr-ml-3":{"marginLeft":".5rem !important"},".govgr-ml-4":{"marginLeft":".75rem !important"},".govgr-ml-5":{"marginLeft":"1rem !important"},".govgr-ml-6":{"marginLeft":"1.25rem !important"},".govgr-ml-7":{"marginLeft":"1.5rem !important"},".govgr-ml-8":{"marginLeft":"2rem !important"},".govgr-ml-9":{"marginLeft":"2rem !important"},".govgr-mr-0":{"marginRight":"0 !important"},".govgr-mr-1":{"marginRight":".25rem !important"},".govgr-mr-2":{"marginRight":".5rem !important"},".govgr-mr-3":{"marginRight":".5rem !important"},".govgr-mr-4":{"marginRight":".75rem !important"},".govgr-mr-5":{"marginRight":"1rem !important"},".govgr-mr-6":{"marginRight":"1.25rem !important"},".govgr-mr-7":{"marginRight":"1.5rem !important"},".govgr-mr-8":{"marginRight":"2rem !important"},".govgr-mr-9":{"marginRight":"2rem !important"},".govgr-p-0":{"padding":"0 !important"},".govgr-p-1":{"padding":".25rem !important"},".govgr-p-2":{"padding":".5rem !important"},".govgr-p-3":{"padding":".5rem !important"},".govgr-p-4":{"padding":".75rem !important"},".govgr-p-5":{"padding":"1rem !important"},".govgr-p-6":{"padding":"1.25rem !important"},".govgr-p-7":{"padding":"1.5rem !important"},".govgr-p-8":{"padding":"2rem !important"},".govgr-p-9":{"padding":"2rem !important"},".govgr-pt-0":{"paddingTop":"0 !important"},".govgr-pt-1":{"paddingTop":".25rem !important"},".govgr-pt-2":{"paddingTop":".5rem !important"},".govgr-pt-3":{"paddingTop":".5rem !important"},".govgr-pt-4":{"paddingTop":".75rem !important"},".govgr-pt-5":{"paddingTop":"1rem !important"},".govgr-pt-6":{"paddingTop":"1.25rem !important"},".govgr-pt-7":{"paddingTop":"1.5rem !important"},".govgr-pt-8":{"paddingTop":"2rem !important"},".govgr-pt-9":{"paddingTop":"2rem !important"},".govgr-pb-0":{"paddingBottom":"0 !important"},".govgr-pb-1":{"paddingBottom":".25rem !important"},".govgr-pb-2":{"paddingBottom":".5rem !important"},".govgr-pb-3":{"paddingBottom":".5rem !important"},".govgr-pb-4":{"paddingBottom":".75rem !important"},".govgr-pb-5":{"paddingBottom":"1rem !important"},".govgr-pb-6":{"paddingBottom":"1.25rem !important"},".govgr-pb-7":{"paddingBottom":"1.5rem !important"},".govgr-pb-8":{"paddingBottom":"2rem !important"},".govgr-pb-9":{"paddingBottom":"2rem !important"},".govgr-pl-0":{"paddingLeft":"0 !important"},".govgr-pl-1":{"paddingLeft":".25rem !important"},".govgr-pl-2":{"paddingLeft":".5rem !important"},".govgr-pl-3":{"paddingLeft":".5rem !important"},".govgr-pl-4":{"paddingLeft":".75rem !important"},".govgr-pl-5":{"paddingLeft":"1rem !important"},".govgr-pl-6":{"paddingLeft":"1.25rem !important"},".govgr-pl-7":{"paddingLeft":"1.5rem !important"},".govgr-pl-8":{"paddingLeft":"2rem !important"},".govgr-pl-9":{"paddingLeft":"2rem !important"},".govgr-pr-0":{"paddingRight":"0 !important"},".govgr-pr-1":{"paddingRight":".25rem !important"},".govgr-pr-2":{"paddingRight":".5rem !important"},".govgr-pr-3":{"paddingRight":".5rem !important"},".govgr-pr-4":{"paddingRight":".75rem !important"},".govgr-pr-5":{"paddingRight":"1rem !important"},".govgr-pr-6":{"paddingRight":"1.25rem !important"},".govgr-pr-7":{"paddingRight":"1.5rem !important"},".govgr-pr-8":{"paddingRight":"2rem !important"},".govgr-pr-9":{"paddingRight":"2rem !important"},".govgr-grid":{"display":"grid","gridTemplateColumns":"repeat(12,minmax(0,1fr))"},".govgr-grid-inline":{"display":"inline-grid"},".govgr-grid__gap-1":{"gap":".25rem"},".govgr-grid__gap-2":{"gap":".5rem"},".govgr-grid__gap-3":{"gap":".75rem"},".govgr-grid__gap-4":{"gap":"1rem"},".govgr-grid__gap-6":{"gap":"1.5rem"},".govgr-grid__gap-8":{"gap":"2rem"},".govgr-grid__gap-10":{"gap":"2.5rem"},".govgr-grid__gap-12":{"gap":"3rem"},".govgr-grid__col-auto":{"gridColumn":"auto"},".govgr-grid__col-span-1":{"gridColumn":"span 1/span 1"},".govgr-grid__col-span-2":{"gridColumn":"span 2/span 2"},".govgr-grid__col-span-3":{"gridColumn":"span 3/span 3"},".govgr-grid__col-span-4":{"gridColumn":"span 4/span 4"},".govgr-grid__col-span-5":{"gridColumn":"span 5/span 5"},".govgr-grid__col-span-6":{"gridColumn":"span 6/span 6"},".govgr-grid__col-span-7":{"gridColumn":"span 7/span 7"},".govgr-grid__col-span-8":{"gridColumn":"span 8/span 8"},".govgr-grid__col-span-9":{"gridColumn":"span 9/span 9"},".govgr-grid__col-span-10":{"gridColumn":"span 10/span 10"},".govgr-grid__col-span-11":{"gridColumn":"span 11/span 11"},".govgr-grid__col-span-12":{"gridColumn":"span 12/span 12"},"@media (min-width:1024px)":[{".govgr-lg-up":{"display":"none"}},{".govgr-lg-up-block":{"display":"block !important"}}],"@media (min-width:640px)":[{".govgr-sm-up":{"display":"none"}},{".govgr-sm-up-block":{"display":"block !important"}}],"@media (min-width:1280px)":[{".govgr-xl-up":{"display":"none"}},{".govgr-xl-up-block":{"display":"block !important"}}],"@media (min-width:0px)":[{".govgr-xs-up":{"display":"none"}},{".govgr-xs-up-block":{"display":"block !important"}}],"@media print":{".govgr-print-hidden":{"display":"none !important"}}};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digigov/css",
3
- "version": "0.27.0",
3
+ "version": "0.28.0",
4
4
  "description": "Digigov CSS - Tailwind CSS Components",
5
5
  "author": "GRNET Devs <devs@lists.grnet.gr>",
6
6
  "license": "BSD-2-Clause",
@@ -0,0 +1,109 @@
1
+ .govgr-autocomplete__wrapper {
2
+ @apply relative;
3
+ }
4
+
5
+ .govgr-autocomplete__hint,
6
+ .govgr-autocomplete__input {
7
+ @apply md:text-lg text-base p-2 w-full border-2 border-base-content;
8
+ -webkit-appearance: none;
9
+ box-sizing: border-box;
10
+ -moz-box-sizing: border-box;
11
+ -webkit-box-sizing: border-box;
12
+ }
13
+
14
+ .govgr-autocomplete__input {
15
+ @apply relative bg-transparent;
16
+ }
17
+
18
+ .govgr-autocomplete__hint {
19
+ @apply absolute text-gray200;
20
+ }
21
+
22
+ .govgr-autocomplete--assestive__hint{
23
+ @apply hidden;
24
+ }
25
+
26
+ .govgr-autocomplete__input--default {
27
+ @apply p-2;
28
+ }
29
+
30
+ .govgr-autocomplete__input--focused {
31
+ outline: 4px solid var(--color-focus);
32
+ outline-offset: 0;
33
+ -webkit-box-shadow: inset 0 0 0 2px;
34
+ box-shadow: inset 0 0 0 2px;
35
+ }
36
+
37
+ .govgr-autocomplete__input--show-all-values {
38
+ @apply cursor-pointer;
39
+ }
40
+
41
+ .govgr-autocomplete__dropdown-arrow-down {
42
+ @apply inline-block absolute right-2 top-4 w-6 h-6;
43
+ z-index: -1;
44
+ }
45
+
46
+ .govgr-autocomplete__menu {
47
+ @apply bg-white m-0 max-h-96 overflow-x-hidden w-full m-0 p-0 border-2 border-t-0 border-base-content /* border-t-0 border-x-2 border-l-2 border-base-content */;
48
+
49
+ }
50
+
51
+ .govgr-autocomplete__menu--visible {
52
+ @apply block;
53
+ }
54
+
55
+ .govgr-autocomplete__menu--hidden {
56
+ @apply hidden;
57
+ }
58
+
59
+ .govgr-autocomplete__menu--overlay {
60
+ @apply absolute w-full left-0 top-full z-50 shadow-xl;
61
+ }
62
+
63
+ .govgr-autocomplete__menu--inline {
64
+ @apply relative;
65
+ }
66
+
67
+ .govgr-autocomplete__option {
68
+ @apply cursor-pointer block relative;
69
+ border-bottom: solid var(--color-gray200);
70
+ border-width: 1px 0;
71
+ }
72
+
73
+ .govgr-autocomplete__option>* {
74
+ @apply pointer-events-none;
75
+ }
76
+
77
+ .govgr-autocomplete__option:first-of-type {
78
+ @apply border-t-0;
79
+ }
80
+
81
+ .govgr-autocomplete__option:last-of-type {
82
+ @apply border-t-0;
83
+ }
84
+
85
+ .govgr-autocomplete__option--odd {
86
+ @apply bg-base100;
87
+ }
88
+
89
+ .govgr-autocomplete__option--focused,
90
+ .govgr-autocomplete__option:hover {
91
+ @apply bg-secondary600 text-white outline-none;
92
+ border-color: var(--color-secondary600);
93
+ }
94
+
95
+ .govgr-autocomplete--status__wrapper{
96
+ @apply border-0 h-px overflow-hidden absolute whitespace-nowrap p-0 w-px;
97
+ clip: 'rect(0 0 0 0)';
98
+ margin-bottom: '-1px';
99
+ margin-right: '-1px';
100
+ }
101
+
102
+ .govgr-autocomplete__option--no-results {
103
+ @apply text-current cursor-not-allowed;
104
+ }
105
+
106
+ .govgr-autocomplete__hint,
107
+ .govgr-autocomplete__option {
108
+ @apply p-2;
109
+ }
@@ -24,35 +24,38 @@
24
24
  @apply
25
25
  bg-success text-white
26
26
  rounded-none
27
- hover:bg-success-hover active:bg-success-hover hover:text-white hover:no-underline;
28
- }
29
- .govgr-btn-cta {
30
- @apply text-xl py-4;
31
- .govgr-arrow--right {
32
- fill:white;
33
- @apply w-5 h-5 inline-block ml-2 mr-2 transition-all;
27
+ hover:bg-success-hover active:bg-success-hover hover:text-white hover:no-underline
28
+ print:border-b-2 print:border-success print:text-base-content print:bg-white;
34
29
  }
35
- &:hover {
30
+ .govgr-btn-cta {
31
+ @apply text-xl py-4;
36
32
  .govgr-arrow--right {
37
- @apply ml-4 mr-0;
38
- }
33
+ fill:white;
34
+ @apply w-5 h-5 inline-block ml-2 mr-2 transition-all;
35
+ }
36
+ &:hover {
37
+ .govgr-arrow--right {
38
+ @apply ml-4 mr-0;
39
+ }
40
+ }
39
41
  }
40
- }
41
- .govgr-btn-secondary {
42
- -webkit-box-shadow: 0 2px 0 var(--color-gray300);
43
- box-shadow: 0 2px 0 var(--color-gray300);
44
- @apply
42
+ .govgr-btn-secondary {
43
+ -webkit-box-shadow: 0 2px 0 var(--color-gray300);
44
+ box-shadow: 0 2px 0 var(--color-gray300);
45
+ @apply
45
46
  bg-base100 text-base-content
46
47
  rounded-none
47
- hover:bg-base150 active:bg-gray300 hover:no-underline;
48
- }
49
- .govgr-btn-warning {
48
+ hover:bg-base150 active:bg-gray300 hover:no-underline
49
+ print:border-b-2 print:border-gray300 print:text-base-content print:bg-white;
50
+ }
51
+ .govgr-btn-warning {
50
52
  webkit-box-shadow: 0 2px 0 var(--color-base-content);
51
53
  box-shadow: 0 2px 0 var(--color-base-content);
52
- @apply
54
+ @apply
53
55
  bg-error text-white
54
56
  rounded-none
55
- hover:bg-error-hover active:bg-error-hover hover:text-white hover:no-underline;
57
+ hover:bg-error-hover active:bg-error-hover hover:text-white hover:no-underline
58
+ print:border-b-2 print:border-error print:text-base-content print:bg-white;
56
59
  &:active {
57
60
  --tw-bg-opacity: 1;
58
61
  }
@@ -14,17 +14,31 @@
14
14
  }
15
15
  }
16
16
  .govgr-copy-to-clipboard--tooltip {
17
- @apply bg-success p-4 absolute right-0 mt-4 text-center z-50 w-fit md:w-max ;
17
+ @apply bg-success p-4 absolute mt-4 text-center z-50 w-fit md:w-max ;
18
18
  &>* {
19
19
  @apply text-white;
20
20
  }
21
21
  &::before {
22
22
  content: '';
23
23
  @apply w-4 h-4 border-t-8 border-l-8 border-success transform rotate-45
24
- absolute -top-1 right-4;
24
+ absolute -top-1;
25
25
  transform: rotate(45deg);
26
26
  }
27
27
  }
28
+ .govgr-copy-to-clipboard--tooltip-right {
29
+ @apply right-0;
30
+ &::before {
31
+ content: '';
32
+ @apply right-4;
33
+ }
34
+ }
35
+ .govgr-copy-to-clipboard--tooltip-left {
36
+ @apply left-0;
37
+ &::before {
38
+ content: '';
39
+ @apply left-4;
40
+ }
41
+ }
28
42
  .govgr-copy-to-clipboard--hidden {
29
43
  animation: hideAnimation 0s ease-in 3s;
30
44
 
@@ -7,9 +7,15 @@
7
7
  }
8
8
  }
9
9
  .govgr-dropdown__button {
10
- &.govgr-btn-primary { @apply bg-success-hover; }
11
- &.govgr-btn-secondary { @apply bg-base150; }
12
- &.govgr-btn-warning { @apply bg-error-hover; }
10
+ &.govgr-btn-primary {
11
+ @apply bg-success-hover;
12
+ }
13
+ &.govgr-btn-secondary {
14
+ @apply bg-base150;
15
+ }
16
+ &.govgr-btn-warning {
17
+ @apply bg-error-hover;
18
+ }
13
19
  }
14
20
  }
15
21
  .govgr-dropdown__button--arrow {
@@ -19,19 +25,20 @@
19
25
  }
20
26
  }
21
27
  .govgr-dropdown__button {
22
- @apply w-fit;
28
+ @apply w-fit print:text-base-content;
23
29
  &::marker {
24
30
  font-size: 0px;
25
31
  }
26
32
  .govgr-svg-icon {
27
33
  @apply w-5 h-6 md:h-8;
34
+ @apply print:hidden;
28
35
  }
29
36
  &.govgr-link {
30
37
  @apply inline-flex gap-1 items-center;
31
38
  }
32
39
  }
33
40
  .govgr-dropdown__button.govgr-link + .govgr-dropdown__content {
34
- @apply mt-4;
41
+ @apply mt-4 print:text-base-content;
35
42
  }
36
43
  .govgr-button-group .govgr-btn + .govgr-dropdown__content {
37
44
  @apply mt-4;
@@ -86,7 +93,10 @@
86
93
  }
87
94
  .govgr-header, .govgr-admin-header {
88
95
  .govgr-dropdown__button.govgr-link {
89
- @apply text-lg text-white focus:text-base-content;
96
+ @apply text-lg text-white focus:text-base-content print:text-gray600;
97
+ }
98
+ .govgr-dropdown {
99
+ @apply print:hidden;
90
100
  }
91
101
  }
92
102
  .govgr-table {
@@ -1,11 +1,19 @@
1
1
  .govgr-footer {
2
- @apply border-0 border-solid font-normal text-base py-4 md:py-8 border-t-4 border-secondary600 text-gray600 bg-gray100 w-full;
2
+ @apply border-0 border-solid font-normal text-base py-4 md:py-8
3
+ border-t-4 border-secondary600 text-gray600 bg-gray100 w-full
4
+ print:py-2 print:bg-none;
5
+ .govgr-section-break {
6
+ @apply print:hidden;
7
+ }
8
+ .govgr-link {
9
+ @apply print:text-base-content;
10
+ }
3
11
  }
4
12
  .govgr-footer__meta {
5
13
  @apply w-full flex flex-1 flex-wrap md:flex-nowrap items-end justify-between box-border;
6
14
  }
7
15
  .govgr-footer__meta-item {
8
- @apply mx-2 md:mx-4 mb-6;
16
+ @apply mx-2 md:mx-4 mb-6 print:mb-4;
9
17
  }
10
18
  .govgr-footer__meta-item--grow {
11
19
  @apply flex flex-grow;
@@ -14,7 +22,8 @@
14
22
  @apply w-full;
15
23
  }
16
24
  .govgr-footer__content--logos {
17
- @apply flex flex-wrap items-center mb-6 md:mb-8;
25
+ @apply flex flex-wrap items-center mb-6 md:mb-8
26
+ print:hidden;
18
27
  }
19
28
  .govgr-footer__logo {
20
29
  @apply mr-4;
@@ -26,10 +35,10 @@
26
35
  @apply max-w-full h-auto w-52;
27
36
  }
28
37
  .govgr-footer__licence-description {
29
- @apply mt-6;
38
+ @apply mt-6 print:mt-4;
30
39
  }
31
40
  .govgr-footer__inline-list {
32
- @apply mt-0 mb-4 p-0;
41
+ @apply mt-0 mb-4 p-0 print:hidden;
33
42
  }
34
43
  .govgr-footer__inline-list-item {
35
44
  @apply inline-block mr-4 mb-2;
@@ -47,10 +56,11 @@
47
56
  }
48
57
  }
49
58
  .govgr-footer__navigation {
50
- @apply flex flex-wrap;
59
+ @apply flex flex-wrap print:hidden;
51
60
  }
52
61
  .govgr-footer__section {
53
- @apply inline-block mx-4 mb-8 align-top flex-grow flex-shrink;
62
+ @apply inline-block mx-4 mb-8 align-top flex-grow flex-shrink
63
+ print:hidden;
54
64
  }
55
65
  @media (min-width: 48em) {
56
66
  .govgr-footer__section:first-child:nth-last-child(2) {
@@ -58,7 +68,8 @@
58
68
  }
59
69
  }
60
70
  .govgr-footer__list {
61
- @apply m-0 p-0 list-none gap-x-6;
71
+ @apply m-0 p-0 list-none gap-x-6
72
+ print:hidden;
62
73
  }
63
74
  @media (min-width: 48em) {
64
75
  .govgr-footer__list--columns-2 {
@@ -66,7 +77,8 @@
66
77
  }
67
78
  }
68
79
  .govgr-footer__section-break {
69
- @apply m-auto px-4 py-2 border-t border-gray50 mb-5;
80
+ @apply m-auto px-4 py-2 border-t border-gray50 mb-5
81
+ print:hidden;
70
82
  }
71
83
  .govgr-footer__heading {
72
84
  @apply mb-4 pb-4 border-b border-gray50;
@@ -2,6 +2,18 @@
2
2
  .govgr-body {
3
3
  @apply mb-4;
4
4
  }
5
+ &.govgr-grid {
6
+ @apply grid gap-4;
7
+ .govgr-fieldset {
8
+ @apply grid gap-4;
9
+ :not(.govgr-field) {
10
+ @apply col-span-12;
11
+ }
12
+ }
13
+ :not(.govgr-field) {
14
+ @apply col-span-12;
15
+ }
16
+ }
5
17
  }
6
18
  .govgr-form--row {
7
19
  @apply flex flex-wrap gap-x-4;
@@ -1,19 +1,23 @@
1
1
  .govgr-header {
2
2
  @apply bg-primary border-b-8 border-secondary600;
3
+ @apply print:bg-white;
3
4
  border-bottom-style: solid;
4
5
  }
5
6
  .govgr-header__container {
6
- @apply px-4 py-2 mx-auto max-w-5xl w-full flex justify-between items-center;
7
+ @apply px-4 py-2 mx-auto max-w-5xl w-full flex justify-between items-center
8
+ print:px-0;
7
9
  }
8
10
  .govgr-header__container-full {
9
11
  @apply max-w-full;
10
12
  }
11
13
  .govgr-header__content {
12
- @apply flex justify-start flex-wrap items-center gap-x-4 gap-y-2;
14
+ @apply flex justify-start flex-wrap items-center gap-x-4 gap-y-2
15
+ print:gap-1;
13
16
  }
14
17
  .govgr-header-title {
15
18
  @apply text-base100 font-bold text-2xl leading-10 tracking-wide no-underline
16
- w-auto align-middle hover:text-base100 hover:no-underline ;
19
+ w-auto align-middle hover:text-base100 hover:no-underline
20
+ print:text-base-content;
17
21
  }
18
22
  .govgr-header-title:focus {
19
23
  text-decoration:none;
@@ -21,10 +25,13 @@
21
25
  outline-offset: 4px;
22
26
  }
23
27
  .govgr-header-logo {
24
- @apply h-12;
28
+ -webkit-print-color-adjust: exact !important;
29
+ @apply h-12 ;
30
+ @apply print:bg-primary print:mr-4;
25
31
  }
32
+
26
33
  .govgr-header-secondary-logo {
27
- @apply h-10;
34
+ @apply h-10 print:hidden;
28
35
  }
29
36
  .govgr-header-link:focus{
30
37
  box-shadow: 0px 0px 0px 4px var(--color-focus);
@@ -1,4 +1,5 @@
1
1
  @import "./accordion.css";
2
+ @import "./autocomplete.css";
2
3
  @import "./button.css";
3
4
  @import "./form.css";
4
5
  @import "./checkboxes.css";
@@ -15,7 +15,8 @@
15
15
  flex: 1 1 0%;
16
16
  }
17
17
  .govgr-main-wrapper {
18
- @apply grid py-4 md:grid-cols-3 md:gap-12 grid-cols-1 gap-y-16;
18
+ @apply grid py-4 md:grid-cols-3 md:gap-12 grid-cols-1 gap-y-16
19
+ print:gap-4;
19
20
  }
20
21
  .govgr-grid-column-two-thirds {
21
22
  @apply col-span-2;
@@ -1,12 +1,14 @@
1
1
  .govgr-panel {
2
- @apply box-border mb-4 p-8 border-5 border-transparent text-center;
2
+ @apply box-border mb-4 p-8 border-5 border-transparent text-center
3
+ print:p-4;
3
4
  }
4
5
  .govgr-panel--confirmation {
5
- @apply bg-success text-white;
6
+ @apply bg-success text-white
7
+ print:border-4 print:border-success print:text-base-content;
6
8
  }
7
9
  .govgr-panel__title {
8
- @apply text-4xl md:text-5xl mt-0 mb-6 font-bold;
10
+ @apply text-4xl md:text-5xl print:text-4xl mt-0 mb-6 font-bold;
9
11
  }
10
12
  .govgr-panel__body {
11
- @apply text-2xl md:text-4xl;
13
+ @apply text-2xl md:text-4xl print:text-2xl;
12
14
  }
@@ -12,7 +12,7 @@
12
12
  @apply border border-gray50 p-2;
13
13
  }
14
14
  .govgr-table {
15
- @apply w-full border-collapse;
15
+ @apply w-full border-collapse table;
16
16
  @apply md:mb-10 mb-6 text-base-content md:text-lg text-base font-normal;
17
17
  -webkit-font-smoothing: antialiased;
18
18
  -moz-osx-font-smoothing: grayscale;
@@ -26,6 +26,9 @@
26
26
  .govgr-table__body {
27
27
  @apply static;
28
28
  }
29
+ .govgr-table__row {
30
+ @apply bg-white;
31
+ }
29
32
  .govgr-table__cell{
30
33
  .govgr-btn {
31
34
  @apply mb-0;
@@ -101,10 +101,10 @@
101
101
  }
102
102
  .govgr-header {
103
103
  .govgr-header__container > .govgr-link {
104
- @apply text-gray100 focus:text-link-active;
104
+ @apply text-gray100 focus:text-link-active print:text-base-content;
105
105
  }
106
106
  .govgr-header__content > .govgr-link {
107
- @apply text-gray100 focus:text-link-active;
107
+ @apply text-gray100 focus:text-link-active print:text-base-content;
108
108
  }
109
109
  }
110
110
  .govgr-link--no-underline {
@@ -112,7 +112,7 @@
112
112
  }
113
113
  .govgr-background-dark, .govgr-masthead {
114
114
  .govgr-link {
115
- @apply text-white hover:text-white focus:text-white ;
115
+ @apply text-white hover:text-white focus:text-white print:text-base-content;
116
116
  &:hover {
117
117
  text-decoration-thickness: 2px;
118
118
  }
@@ -143,6 +143,6 @@
143
143
  }
144
144
  .govgr-background-dark, .govgr-masthead {
145
145
  .govgr-back-link {
146
- @apply text-white;
146
+ @apply text-white print:text-base-content;
147
147
  }
148
148
  }
@@ -299,7 +299,7 @@
299
299
  @apply pr-8 md:pr-12 !important;
300
300
  }
301
301
  .govgr-grid {
302
- @apply grid md:grid-cols-12 grid-cols-1;
302
+ @apply grid grid-cols-12;
303
303
  }
304
304
  .govgr-grid-inline {
305
305
  @apply inline-grid;
@@ -396,4 +396,7 @@
396
396
  }
397
397
  .govgr-xs-up-block {
398
398
  @apply xs:block !important;
399
+ }
400
+ .govgr-print-hidden {
401
+ @apply print:hidden !important;
399
402
  }
@@ -301,7 +301,7 @@
301
301
  @apply pr-8 md:pr-12 !important;
302
302
  }
303
303
  .govgr-grid {
304
- @apply grid md:grid-cols-12 grid-cols-1;
304
+ @apply grid grid-cols-12;
305
305
  }
306
306
  .govgr-grid-inline {
307
307
  @apply inline-grid;
@@ -399,4 +399,7 @@
399
399
  .govgr-xs-up-block {
400
400
  @apply xs:block !important;
401
401
  }
402
+ .govgr-print-hidden {
403
+ @apply print:hidden !important;
404
+ }
402
405
  };
@@ -24,6 +24,7 @@ module.exports = {
24
24
  lg: '1024px',
25
25
  xl: '1280px',
26
26
  '2xl': '1280px',
27
+ 'print': {'raw': 'print'},
27
28
  },
28
29
  fontFamily: {
29
30
  sans: ['Roboto', ...defaultTheme.fontFamily.sans]