fontdue-js 2.17.1 → 2.17.2
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/CHANGELOG.md +4 -0
- package/dist/components/ConfigContext.d.ts +9 -4
- package/dist/components/Select/index.d.ts +1 -1
- package/dist/components/TypeTester/useFeaturesData.d.ts +3 -3
- package/dist/components/TypeTester/useTypeTesterStyler.d.ts +0 -1
- package/dist/fontdue.css +1 -1
- package/dist/hooks.d.ts +0 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -8,8 +8,13 @@ interface FormConfig {
|
|
|
8
8
|
interface StripeConfig {
|
|
9
9
|
appearance?: Appearance;
|
|
10
10
|
}
|
|
11
|
+
interface SegmentConfig {
|
|
12
|
+
writeKey?: string;
|
|
13
|
+
integrations?: Record<string, boolean>;
|
|
14
|
+
}
|
|
11
15
|
interface TrackingConfig {
|
|
12
16
|
enabled?: boolean;
|
|
17
|
+
segment?: SegmentConfig;
|
|
13
18
|
}
|
|
14
19
|
export interface Config {
|
|
15
20
|
form?: FormConfig;
|
|
@@ -38,10 +43,10 @@ export declare const makeConfig: (config?: Config) => {
|
|
|
38
43
|
buttonLabel: string;
|
|
39
44
|
interactionStyle: "select" | "panel";
|
|
40
45
|
columns: {
|
|
41
|
-
features: (
|
|
46
|
+
features: ({
|
|
42
47
|
code: string;
|
|
43
48
|
name: string;
|
|
44
|
-
})[];
|
|
49
|
+
} | string)[];
|
|
45
50
|
range: number;
|
|
46
51
|
}[] | undefined;
|
|
47
52
|
selectionStyle: "checkbox" | "bullet";
|
|
@@ -100,10 +105,10 @@ declare const _default: React.Context<{
|
|
|
100
105
|
buttonLabel: string;
|
|
101
106
|
interactionStyle: "select" | "panel";
|
|
102
107
|
columns: {
|
|
103
|
-
features: (
|
|
108
|
+
features: ({
|
|
104
109
|
code: string;
|
|
105
110
|
name: string;
|
|
106
|
-
})[];
|
|
111
|
+
} | string)[];
|
|
107
112
|
range: number;
|
|
108
113
|
}[] | undefined;
|
|
109
114
|
selectionStyle: "checkbox" | "bullet";
|
|
@@ -8,5 +8,5 @@ interface Select_props {
|
|
|
8
8
|
}[];
|
|
9
9
|
}
|
|
10
10
|
type SelectHTMLProps = React.DetailedHTMLProps<React.SelectHTMLAttributes<HTMLSelectElement>, HTMLSelectElement>;
|
|
11
|
-
declare const Select: ({ options, value, nullText, ...rest }: Select_props & Omit<SelectHTMLProps,
|
|
11
|
+
declare const Select: ({ options, value, nullText, ...rest }: Select_props & Omit<SelectHTMLProps, "value">) => React.JSX.Element;
|
|
12
12
|
export default Select;
|
|
@@ -7,11 +7,11 @@ declare const useFeaturesData: ({ fontStyle }: useFeatures_props) => {
|
|
|
7
7
|
[feature: string]: string;
|
|
8
8
|
};
|
|
9
9
|
fontFeatures: {
|
|
10
|
-
readonly stylisticSetNames:
|
|
10
|
+
readonly stylisticSetNames: ReadonlyArray<{
|
|
11
11
|
readonly featureName: string;
|
|
12
12
|
readonly humanName: string;
|
|
13
|
-
}
|
|
14
|
-
readonly supportedFeatures:
|
|
13
|
+
}>;
|
|
14
|
+
readonly supportedFeatures: ReadonlyArray<string>;
|
|
15
15
|
};
|
|
16
16
|
" $fragmentType": "useFeaturesData_fontStyle";
|
|
17
17
|
};
|
package/dist/fontdue.css
CHANGED
package/dist/hooks.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fontdue-js",
|
|
3
|
-
"version": "2.17.
|
|
3
|
+
"version": "2.17.2",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "npm run relay && run-p build-js build-css build-ts",
|
|
6
6
|
"build-js": "babel src --out-dir dist --extensions .ts,.tsx,.js,.jsx",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"react-dom": "^19.0.0",
|
|
59
59
|
"relay-compiler": "^18.0.0",
|
|
60
60
|
"sass": "^1.62",
|
|
61
|
-
"typescript": "5.
|
|
61
|
+
"typescript": "^5.9"
|
|
62
62
|
},
|
|
63
63
|
"relay": {
|
|
64
64
|
"src": "./src",
|