@egov3/system-design 1.0.34 → 1.0.36
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.
|
@@ -2,7 +2,7 @@ import React, { FC } from "react";
|
|
|
2
2
|
type FontClass = "Heading1" | "Heading3" | "Subtitles3" | "Body1Medium" | "Body1Regular" | "Body2Medium" | "Body2Regular" | "Body3Regular" | "Caption1Medium" | "Caption1Regular" | "Caption1Semibold" | "Caption2Medium" | "Caption2Regular";
|
|
3
3
|
export interface ITypographyProps extends React.HTMLAttributes<HTMLElement> {
|
|
4
4
|
tag: keyof JSX.IntrinsicElements | React.JSXElementConstructor<any>;
|
|
5
|
-
fontClass
|
|
5
|
+
fontClass: FontClass;
|
|
6
6
|
}
|
|
7
7
|
export declare const Typography: FC<ITypographyProps>;
|
|
8
8
|
export {};
|
package/dist/cjs/index.js
CHANGED
|
@@ -2816,7 +2816,7 @@ function styleInject(css, ref) {
|
|
|
2816
2816
|
}
|
|
2817
2817
|
}
|
|
2818
2818
|
|
|
2819
|
-
var css_248z$5 = "/* Headings/Heading 1 */\n/* Headings/Heading 3 */\n/* Subtitles/Subtitle 3 */\n/* Body/Body 1, Medium */\n/* Body/Body 1, Regular */\n/* Body/Body 2, Medium */\n/* Body/Body 2, Regular */\n/* Body/Body 3, Regular */\n/* Caption/Caption 1, Medium */\n/* Caption/Caption 1, Regular */\n/* Caption/Caption 1, Semibold */\n/* Caption/Caption 2, Medium */\n/* Caption/Caption 2, Regular */\n.Accordion-module_accordionBtn__LQdRX {\n
|
|
2819
|
+
var css_248z$5 = "/* Headings/Heading 1 */\n/* Headings/Heading 3 */\n/* Subtitles/Subtitle 3 */\n/* Body/Body 1, Medium */\n/* Body/Body 1, Regular */\n/* Body/Body 2, Medium */\n/* Body/Body 2, Regular */\n/* Body/Body 3, Regular */\n/* Caption/Caption 1, Medium */\n/* Caption/Caption 1, Regular */\n/* Caption/Caption 1, Semibold */\n/* Caption/Caption 2, Medium */\n/* Caption/Caption 2, Regular */\n.Accordion-module_accordionBtn__LQdRX {\n border-radius: inherit;\n width: 100%;\n text-align: left;\n display: flex;\n justify-content: space-between;\n cursor: pointer;\n}\n\n.Accordion-module_accordionContent__sarnp {\n max-height: 1000px;\n overflow: hidden;\n transition: all 0.3s ease-in-out;\n}\n\n.Accordion-module_accordionContent--hidden__6kNQ2 {\n max-height: 0;\n}";
|
|
2820
2820
|
var styles$5 = {"accordionBtn":"Accordion-module_accordionBtn__LQdRX","accordionContent":"Accordion-module_accordionContent__sarnp","accordionContent--hidden":"Accordion-module_accordionContent--hidden__6kNQ2"};
|
|
2821
2821
|
styleInject(css_248z$5);
|
|
2822
2822
|
|
|
@@ -2,7 +2,7 @@ import React, { FC } from "react";
|
|
|
2
2
|
type FontClass = "Heading1" | "Heading3" | "Subtitles3" | "Body1Medium" | "Body1Regular" | "Body2Medium" | "Body2Regular" | "Body3Regular" | "Caption1Medium" | "Caption1Regular" | "Caption1Semibold" | "Caption2Medium" | "Caption2Regular";
|
|
3
3
|
export interface ITypographyProps extends React.HTMLAttributes<HTMLElement> {
|
|
4
4
|
tag: keyof JSX.IntrinsicElements | React.JSXElementConstructor<any>;
|
|
5
|
-
fontClass
|
|
5
|
+
fontClass: FontClass;
|
|
6
6
|
}
|
|
7
7
|
export declare const Typography: FC<ITypographyProps>;
|
|
8
8
|
export {};
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import React__default, { Dispatch, SetStateAction, HTMLInputTypeAttribute } from
|
|
|
5
5
|
type FontClass = "Heading1" | "Heading3" | "Subtitles3" | "Body1Medium" | "Body1Regular" | "Body2Medium" | "Body2Regular" | "Body3Regular" | "Caption1Medium" | "Caption1Regular" | "Caption1Semibold" | "Caption2Medium" | "Caption2Regular";
|
|
6
6
|
interface ITypographyProps extends React__default.HTMLAttributes<HTMLElement> {
|
|
7
7
|
tag: keyof JSX.IntrinsicElements | React__default.JSXElementConstructor<any>;
|
|
8
|
-
fontClass
|
|
8
|
+
fontClass: FontClass;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
interface IRadioToggleProps {
|
package/dist/esm/index.js
CHANGED
|
@@ -2814,7 +2814,7 @@ function styleInject(css, ref) {
|
|
|
2814
2814
|
}
|
|
2815
2815
|
}
|
|
2816
2816
|
|
|
2817
|
-
var css_248z$5 = "/* Headings/Heading 1 */\n/* Headings/Heading 3 */\n/* Subtitles/Subtitle 3 */\n/* Body/Body 1, Medium */\n/* Body/Body 1, Regular */\n/* Body/Body 2, Medium */\n/* Body/Body 2, Regular */\n/* Body/Body 3, Regular */\n/* Caption/Caption 1, Medium */\n/* Caption/Caption 1, Regular */\n/* Caption/Caption 1, Semibold */\n/* Caption/Caption 2, Medium */\n/* Caption/Caption 2, Regular */\n.Accordion-module_accordionBtn__LQdRX {\n
|
|
2817
|
+
var css_248z$5 = "/* Headings/Heading 1 */\n/* Headings/Heading 3 */\n/* Subtitles/Subtitle 3 */\n/* Body/Body 1, Medium */\n/* Body/Body 1, Regular */\n/* Body/Body 2, Medium */\n/* Body/Body 2, Regular */\n/* Body/Body 3, Regular */\n/* Caption/Caption 1, Medium */\n/* Caption/Caption 1, Regular */\n/* Caption/Caption 1, Semibold */\n/* Caption/Caption 2, Medium */\n/* Caption/Caption 2, Regular */\n.Accordion-module_accordionBtn__LQdRX {\n border-radius: inherit;\n width: 100%;\n text-align: left;\n display: flex;\n justify-content: space-between;\n cursor: pointer;\n}\n\n.Accordion-module_accordionContent__sarnp {\n max-height: 1000px;\n overflow: hidden;\n transition: all 0.3s ease-in-out;\n}\n\n.Accordion-module_accordionContent--hidden__6kNQ2 {\n max-height: 0;\n}";
|
|
2818
2818
|
var styles$5 = {"accordionBtn":"Accordion-module_accordionBtn__LQdRX","accordionContent":"Accordion-module_accordionContent__sarnp","accordionContent--hidden":"Accordion-module_accordionContent--hidden__6kNQ2"};
|
|
2819
2819
|
styleInject(css_248z$5);
|
|
2820
2820
|
|