react-magma-dom 3.6.0 → 3.7.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/components/ButtonGroup/ButtonGroup.stories.d.ts +2 -2
- package/dist/components/CharacterCounter/CharacterCounter.stories.d.ts +4 -4
- package/dist/components/Datagrid/Datagrid.stories.d.ts +8 -8
- package/dist/components/FormFieldContainer/FormFieldContainer.d.ts +1 -1
- package/dist/components/Heading/Heading.stories.d.ts +9 -3
- package/dist/components/Heading/index.d.ts +1 -1
- package/dist/components/Input/Input.stories.d.ts +30 -30
- package/dist/components/InputBase/index.d.ts +7 -0
- package/dist/components/NativeSelect/NativeSelect.d.ts +4 -0
- package/dist/components/NativeSelect/NativeSelect.stories.d.ts +1 -0
- package/dist/components/Paragraph/Paragraph.stories.d.ts +1 -1
- package/dist/components/Paragraph/index.d.ts +10 -0
- package/dist/components/Select/Select.stories.d.ts +1 -0
- package/dist/components/Select/SelectContainer.d.ts +2 -0
- package/dist/components/Select/index.d.ts +4 -0
- package/dist/components/Table/Table.stories.d.ts +12 -12
- package/dist/components/Tag/Tag.stories.d.ts +4 -4
- package/dist/components/Textarea/Textarea.stories.d.ts +4 -4
- package/dist/components/ToggleButton/ToggleButton.stories.d.ts +8 -8
- package/dist/components/ToggleButtonGroup/ToggleButtonGroup.stories.d.ts +4 -4
- package/dist/components/Typography/index.d.ts +4 -1
- package/dist/esm/index.js +225 -107
- package/dist/esm/index.js.map +1 -1
- package/dist/properties.json +162 -84
- package/dist/react-magma-dom.cjs.development.js +222 -107
- package/dist/react-magma-dom.cjs.development.js.map +1 -1
- package/dist/react-magma-dom.cjs.production.min.js +1 -1
- package/dist/react-magma-dom.cjs.production.min.js.map +1 -1
- package/dist/theme/ThemeContext.d.ts +6 -1
- package/dist/theme/magma.d.ts +9 -1
- package/package.json +1 -1
|
@@ -169,6 +169,10 @@ export declare const ThemeContext: React.Context<{
|
|
|
169
169
|
fontSize: string;
|
|
170
170
|
lineHeight: string;
|
|
171
171
|
};
|
|
172
|
+
size16: {
|
|
173
|
+
fontSize: string;
|
|
174
|
+
lineHeight: string;
|
|
175
|
+
};
|
|
172
176
|
};
|
|
173
177
|
typographyVisualStyles: {
|
|
174
178
|
headingXLarge: {
|
|
@@ -361,7 +365,6 @@ export declare const ThemeContext: React.Context<{
|
|
|
361
365
|
};
|
|
362
366
|
desktop: {
|
|
363
367
|
fontSize: string;
|
|
364
|
-
letterSpacing: string;
|
|
365
368
|
lineHeight: string;
|
|
366
369
|
};
|
|
367
370
|
fontWeight: number;
|
|
@@ -594,6 +597,8 @@ export declare const ThemeContext: React.Context<{
|
|
|
594
597
|
};
|
|
595
598
|
};
|
|
596
599
|
iterableColors: string[];
|
|
600
|
+
chartColors: string[];
|
|
601
|
+
chartColorsInverse: string[];
|
|
597
602
|
tabs: {
|
|
598
603
|
approxTabSize: {
|
|
599
604
|
horizontal: number;
|
package/dist/theme/magma.d.ts
CHANGED
|
@@ -127,6 +127,7 @@ export interface TypeScale {
|
|
|
127
127
|
size13: TypeScaleSize;
|
|
128
128
|
size14: TypeScaleSize;
|
|
129
129
|
size15: TypeScaleSize;
|
|
130
|
+
size16: TypeScaleSize;
|
|
130
131
|
}
|
|
131
132
|
export interface VisualStyle {
|
|
132
133
|
mobile: TypeScaleSize;
|
|
@@ -263,6 +264,8 @@ export interface ThemeInterface {
|
|
|
263
264
|
headingFont: string;
|
|
264
265
|
iconSizes: IconSizes;
|
|
265
266
|
iterableColors: string[];
|
|
267
|
+
chartColors?: string[];
|
|
268
|
+
chartColorsInverse?: string[];
|
|
266
269
|
spacingMultiplier: number;
|
|
267
270
|
spaceScale: SpacingScale;
|
|
268
271
|
headingExpressiveFont: string;
|
|
@@ -447,6 +450,10 @@ export declare const magma: {
|
|
|
447
450
|
fontSize: string;
|
|
448
451
|
lineHeight: string;
|
|
449
452
|
};
|
|
453
|
+
size16: {
|
|
454
|
+
fontSize: string;
|
|
455
|
+
lineHeight: string;
|
|
456
|
+
};
|
|
450
457
|
};
|
|
451
458
|
typographyVisualStyles: {
|
|
452
459
|
headingXLarge: {
|
|
@@ -639,7 +646,6 @@ export declare const magma: {
|
|
|
639
646
|
};
|
|
640
647
|
desktop: {
|
|
641
648
|
fontSize: string;
|
|
642
|
-
letterSpacing: string;
|
|
643
649
|
lineHeight: string;
|
|
644
650
|
};
|
|
645
651
|
fontWeight: number;
|
|
@@ -872,6 +878,8 @@ export declare const magma: {
|
|
|
872
878
|
};
|
|
873
879
|
};
|
|
874
880
|
iterableColors: string[];
|
|
881
|
+
chartColors: string[];
|
|
882
|
+
chartColorsInverse: string[];
|
|
875
883
|
tabs: {
|
|
876
884
|
approxTabSize: {
|
|
877
885
|
horizontal: number;
|