@companycam/slab-web 2.0.6 → 2.1.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/index.js +76 -78
- package/index.mjs +227 -229
- package/lib/Text/Text.d.ts +0 -1
- package/lib/shared/styles.d.ts +1 -1
- package/package.json +1 -1
package/lib/Text/Text.d.ts
CHANGED
|
@@ -17,7 +17,6 @@ export type TextProps = {
|
|
|
17
17
|
};
|
|
18
18
|
/**
|
|
19
19
|
- Sensible defaults based on size, with the flexibility to render as any HTML element.
|
|
20
|
-
- Automatically nudges sizes up 1px if heading font-family (Averta) is being used.
|
|
21
20
|
- Margins reset to 0 by default (we don't do a lot of long-form text in the app itself). Add margin when you need it via the `ccMargin` prop.
|
|
22
21
|
- Can be extended as a styled-component.
|
|
23
22
|
*/
|
package/lib/shared/styles.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Placement } from '@floating-ui/react';
|
|
2
2
|
import { GetStatusProps, ProgressProps } from './types';
|
|
3
|
-
export declare const systemFontFamily = "font-family: system-ui, -apple-system, BlinkMacSystemFont,\n'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;";
|
|
3
|
+
export declare const systemFontFamily = "font-family: 'Averta', system-ui, -apple-system, BlinkMacSystemFont,\n'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;";
|
|
4
4
|
export declare const headingFontFamily = "font-family: 'Averta', system-ui, -apple-system, BlinkMacSystemFont,\n'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;";
|
|
5
5
|
export declare const sharedFocusStyles: import('styled-components').RuleSet<object>;
|
|
6
6
|
export declare const disabledStyles: import('styled-components').RuleSet<object>;
|