@graphysdk/react-renderer 2.0.0-beta.1786440210947 → 2.0.0-beta.1787130761469

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.
@@ -1,5 +1,5 @@
1
- import { NAMED_WEIGHTS as d } from "@graphysdk/viz-engine";
2
- import './font-values.css';var H = [
1
+ import { NAMED_WEIGHTS as l } from "@graphysdk/viz-engine";
2
+ import './typography.css';var u = [
3
3
  "canvasDefault",
4
4
  "canvasBlue",
5
5
  "canvasCyan",
@@ -11,7 +11,7 @@ import './font-values.css';var H = [
11
11
  "canvasPurple",
12
12
  "canvasGray",
13
13
  "canvasInverse"
14
- ], t = {
14
+ ], e = {
15
15
  white: "var(--graphy-white)",
16
16
  black: "var(--graphy-black)",
17
17
  transparent: "var(--graphy-transparent)",
@@ -70,22 +70,13 @@ import './font-values.css';var H = [
70
70
  trendPositiveColor: "var(--graphy-trend-positive-color)",
71
71
  trendNeutralColor: "var(--graphy-trend-neutral-color)",
72
72
  defaultAnnotationArrowStroke: "var(--graphy-default-annotation-arrow-stroke)",
73
- defaultAnnotationShapeStroke: "var(--graphy-default-annotation-shape-stroke)",
74
73
  defaultAnnotationShapeFill: "var(--graphy-default-annotation-shape-fill)",
75
74
  arrowAnnotationStickerOutlineColor: "var(--graphy-arrow-annotation-sticker-outline-color)",
76
75
  arrowAnnotationStickerOutlineColorInverse: "var(--graphy-arrow-annotation-sticker-outline-color-inverse)",
77
76
  annotationFrameBorderColor: "var(--graphy-annotation-frame-border-color)",
78
77
  editMenuTriggerIconColor: "var(--graphy-edit-menu-trigger-icon-color)",
79
78
  heatmapEmptyTileBackground: "var(--graphy-heatmap-empty-tile-background)",
80
- dataLabelOutsideBackground: "var(--graphy-data-label-outside-background)",
81
- dataLabelTextColor: "var(--graphy-data-label-text-color)",
82
- dataLabelInsideTextColor: "var(--graphy-data-label-inside-text-color)",
83
- stackTotalTextColor: "var(--graphy-stack-total-text-color)",
84
- stackTotalBackground: "var(--graphy-stack-total-background)",
85
- stackTotalStroke: "var(--graphy-stack-total-stroke)",
86
79
  gridLineWidth: "var(--graphy-grid-line-width)",
87
- gridLineDash: "var(--graphy-grid-line-dash)",
88
- gridLineDotted: "var(--graphy-grid-line-dotted)",
89
80
  tooltipBorderRadius: "var(--graphy-tooltip-border-radius)",
90
81
  tooltipBorderWidth: "var(--graphy-tooltip-border-width)",
91
82
  tooltipPaddingBlock: "var(--graphy-tooltip-padding-block)",
@@ -93,7 +84,6 @@ import './font-values.css';var H = [
93
84
  tooltipRowGap: "var(--graphy-tooltip-row-gap)",
94
85
  tooltipShadow: "var(--graphy-tooltip-shadow)",
95
86
  editorControlHeight: "var(--graphy-editor-control-height)",
96
- tickLabelOffset: "var(--graphy-tick-label-offset)",
97
87
  legendItemGap: "var(--graphy-legend-item-gap)",
98
88
  legendSwatchGap: "var(--graphy-legend-swatch-gap)",
99
89
  legendSwatchWidth: "var(--graphy-legend-swatch-width)",
@@ -174,11 +164,6 @@ import './font-values.css';var H = [
174
164
  fontLineHeightHeadingSm: "var(--graphy-font-line-height-heading-sm)",
175
165
  fontLineHeightHeadingMd: "var(--graphy-font-line-height-heading-md)",
176
166
  fontLineHeightHeadingLg: "var(--graphy-font-line-height-heading-lg)",
177
- fontTickLabel: "var(--graphy-font-tick-label)",
178
- fontAxisLabel: "var(--graphy-font-axis-label)",
179
- fontDataLabel: "var(--graphy-font-data-label)",
180
- fontStackTotal: "var(--graphy-font-stack-total)",
181
- fontCategoryLabel: "var(--graphy-font-category-label)",
182
167
  fontLegendLabel: "var(--graphy-font-legend-label)",
183
168
  fontSeriesLabel: "var(--graphy-font-series-label)",
184
169
  fontTooltipLabel: "var(--graphy-font-tooltip-label)",
@@ -192,7 +177,6 @@ import './font-values.css';var H = [
192
177
  fontTooltipCaptionSmall: "var(--graphy-font-tooltip-caption-small)",
193
178
  fontTrendTag: "var(--graphy-font-trend-tag)",
194
179
  fontTrendTagSmall: "var(--graphy-font-trend-tag-small)",
195
- fontGoalLineLabel: "var(--graphy-font-goal-line-label)",
196
180
  fontPieLabel: "var(--graphy-font-pie-label)",
197
181
  fontPieChartTotal: "var(--graphy-font-pie-chart-total)",
198
182
  fontDifferenceArrowSmall: "var(--graphy-font-difference-arrow-small)",
@@ -228,15 +212,15 @@ import './font-values.css';var H = [
228
212
  fontEditorControlValue: "var(--graphy-font-editor-control-value)",
229
213
  fontEditorSectionTitle: "var(--graphy-font-editor-section-title)",
230
214
  fontEditorCaption: "var(--graphy-font-editor-caption)"
231
- }, v = `'Inter', -apple-system, BlinkMacSystemFont, 'Open Sans', 'Segoe UI', 'Roboto', 'Oxygen-Sans', 'Ubuntu',
232
- 'Cantarell', 'Helvetica Neue', 'NotoSansArabic', 'NotoSansJP', 'NotoSansSC', 'NotoSansKR', 'NotoSerifKR', sans-serif, 'Apple Color Emoji', 'NotoColorEmoji'`, S = v, p = {
233
- regular: d.regular,
234
- medium: d.medium,
235
- semibold: d.semiBold,
236
- bold: d.bold,
237
- extraBold: d.extraBold,
238
- black: d.black
239
- }, n = {
215
+ }, m = `var(--typography-chart-font-family, ${e.fontFamilyDefault})`, y = `'Inter', -apple-system, BlinkMacSystemFont, 'Open Sans', 'Segoe UI', 'Roboto', 'Oxygen-Sans', 'Ubuntu',
216
+ 'Cantarell', 'Helvetica Neue', 'NotoSansArabic', 'NotoSansJP', 'NotoSansSC', 'NotoSansKR', 'NotoSerifKR', sans-serif, 'Apple Color Emoji', 'NotoColorEmoji'`, s = y, h = {
217
+ regular: l.regular,
218
+ medium: l.medium,
219
+ semibold: l.semiBold,
220
+ bold: l.bold,
221
+ extraBold: l.extraBold,
222
+ black: l.black
223
+ }, a = {
240
224
  xxs: 1,
241
225
  xs: 1.1,
242
226
  sm: 1.2,
@@ -247,7 +231,7 @@ import './font-values.css';var H = [
247
231
  headingSm: 1.8,
248
232
  headingMd: 2.2,
249
233
  headingLg: 2.8
250
- }, i = {
234
+ }, r = {
251
235
  xxs: 1,
252
236
  xs: 1,
253
237
  sm: 1.3,
@@ -258,169 +242,106 @@ import './font-values.css';var H = [
258
242
  headingSm: 1.25,
259
243
  headingMd: 1.41,
260
244
  headingLg: 1.29
261
- }, l = {
262
- fontTickLabel: {
263
- weight: "fontWeightMedium",
264
- size: "fontSizeSm",
265
- lineHeight: "fontLineHeightSm"
266
- },
267
- fontAxisLabel: {
268
- weight: "fontWeightMedium",
269
- size: "fontSizeSm",
270
- lineHeight: "fontLineHeightSm"
271
- },
272
- fontDataLabel: {
273
- weight: "fontWeightMedium",
274
- size: "fontSizeXs",
275
- lineHeight: "fontLineHeightXs"
276
- },
277
- fontStackTotal: {
278
- weight: "fontWeightSemibold",
279
- size: "fontSizeXs",
280
- lineHeight: "fontLineHeightXs"
281
- },
282
- fontCategoryLabel: {
283
- weight: "fontWeightMedium",
284
- size: "fontSizeXs",
285
- lineHeight: "fontLineHeightXs"
286
- },
287
- fontLegendLabel: {
288
- weight: "fontWeightMedium",
289
- size: "fontSizeSm",
290
- lineHeight: "fontLineHeightSm"
291
- },
292
- fontGoalLineLabel: {
293
- weight: "fontWeightMedium",
294
- size: "fontSizeXs",
295
- lineHeight: "fontLineHeightXs"
296
- }
297
- }, s = `var(--typography-chart-font-family, ${t.fontFamilyDefault})`, y = `var(--typography-chart-heading-font-family, ${t.fontFamilyHeading})`, M = (a) => a in l, T = (a, o) => {
298
- const r = l[a], h = e(o.weight?.toString() ?? t[r.weight], o.size === void 0 ? t[r.size] : `${o.size.value}${o.size.unit}`, o.lineHeight?.toString() ?? t[r.lineHeight], o.family ?? s);
299
- return o.style === void 0 || o.style === "normal" ? h : `${o.style} ${h}`;
300
- }, g = (a) => `${a}em`, x = {
245
+ }, p = { fontLegendLabel: {
246
+ weight: "fontWeightMedium",
247
+ size: "fontSizeSm",
248
+ lineHeight: "fontLineHeightSm"
249
+ } }, v = m, f = `var(--typography-chart-heading-font-family, ${e.fontFamilyHeading})`, b = (i) => i in p, L = (i, o) => {
250
+ const g = p[i], d = t(o.weight?.toString() ?? e[g.weight], o.size === void 0 ? e[g.size] : `${o.size.value}${o.size.unit}`, o.lineHeight?.toString() ?? e[g.lineHeight], o.family ?? v);
251
+ return o.style === void 0 || o.style === "normal" ? d : `${o.style} ${d}`;
252
+ }, n = (i) => `${i}em`, H = {
301
253
  textScale: "1",
302
- fontFamilyDefault: v,
303
- fontFamilyHeading: S,
304
- fontWeightRegular: p.regular.toString(),
305
- fontWeightMedium: p.medium.toString(),
306
- fontWeightSemibold: p.semibold.toString(),
307
- fontWeightBold: p.bold.toString(),
308
- fontWeightExtraBold: p.extraBold.toString(),
309
- fontWeightBlack: p.black.toString(),
310
- fontSizeXxs: g(n.xxs),
311
- fontSizeXs: g(n.xs),
312
- fontSizeSm: g(n.sm),
313
- fontSizeMd: g(n.md),
314
- fontSizeLg: g(n.lg),
315
- fontSizeXl: g(n.xl),
316
- fontLineHeightXxs: i.xxs.toString(),
317
- fontLineHeightXs: i.xs.toString(),
318
- fontLineHeightSm: i.sm.toString(),
319
- fontLineHeightMd: i.md.toString(),
320
- fontLineHeightLg: i.lg.toString(),
321
- fontLineHeightXl: i.xl.toString()
322
- }, z = {
323
- fontSizeEditorBody: g(n.editorBody),
324
- fontSizeHeadingSm: g(n.headingSm),
325
- fontSizeHeadingMd: g(n.headingMd),
326
- fontSizeHeadingLg: g(n.headingLg),
327
- fontLineHeightEditorBody: i.editorBody.toString(),
328
- fontLineHeightHeadingSm: i.headingSm.toString(),
329
- fontLineHeightHeadingMd: i.headingMd.toString(),
330
- fontLineHeightHeadingLg: i.headingLg.toString()
331
- }, e = (a, o, r, h = s) => `${a} ${o}/${r} ${h}`, f = ({ weight: a, size: o, lineHeight: r }) => e(t[a], t[o], t[r]), k = {
332
- fontTickLabel: f(l.fontTickLabel),
333
- fontAxisLabel: f(l.fontAxisLabel),
334
- fontDataLabel: f(l.fontDataLabel),
335
- fontStackTotal: f(l.fontStackTotal),
336
- fontCategoryLabel: f(l.fontCategoryLabel),
337
- fontLegendLabel: f(l.fontLegendLabel),
338
- fontSeriesLabel: e(t.fontWeightSemibold, t.fontSizeSm, t.fontLineHeightSm),
339
- fontTooltipLabel: e(t.fontWeightMedium, t.fontSizeMd, t.fontLineHeightMd),
340
- fontTooltipHeading: e(t.fontWeightMedium, t.fontSizeSm, t.fontLineHeightSm),
341
- fontTooltipFooter: e(t.fontWeightRegular, t.fontSizeSm, t.fontLineHeightSm),
342
- fontJumboTooltipLabel: e(t.fontWeightRegular, t.fontSizeSm, t.fontLineHeightSm),
343
- fontJumboTooltip: e(t.fontWeightMedium, t.fontSizeHeadingMd, t.fontLineHeightHeadingMd),
344
- fontMiniTooltipLabel: e(t.fontWeightMedium, t.fontSizeSm, t.fontLineHeightSm),
345
- fontMiniTooltipFooter: e(t.fontWeightRegular, t.fontSizeSm, t.fontLineHeightSm),
346
- fontTooltipCaption: e(t.fontWeightMedium, t.fontSizeSm, t.fontLineHeightSm),
347
- fontTooltipCaptionSmall: e(t.fontWeightMedium, t.fontSizeXxs, t.fontLineHeightXxs),
348
- fontUITooltip: e(t.fontWeightMedium, t.fontSizeMd, t.fontLineHeightMd),
349
- fontUITooltipSecondary: e(t.fontWeightMedium, t.fontSizeSm, t.fontLineHeightSm),
350
- fontTrendTag: e(t.fontWeightMedium, t.fontSizeMd, t.fontLineHeightMd),
351
- fontTrendTagSmall: e(t.fontWeightMedium, t.fontSizeXs, t.fontLineHeightXs),
352
- fontGoalLineLabel: f(l.fontGoalLineLabel),
353
- fontPieLabel: e(t.fontWeightMedium, t.fontSizeXs, t.fontLineHeightXs),
354
- fontPieChartTotal: e(t.fontWeightBold, t.fontSizeHeadingLg, t.fontLineHeightHeadingLg),
355
- fontDifferenceArrowSmall: e(t.fontWeightMedium, t.fontSizeSm, t.fontLineHeightSm),
356
- fontDifferenceArrowMedium: e(t.fontWeightMedium, t.fontSizeLg, t.fontLineHeightLg),
357
- fontDifferenceArrowLarge: e(t.fontWeightSemibold, t.fontSizeXl, t.fontLineHeightXl),
358
- fontButton: e(t.fontWeightMedium, t.fontSizeMd, t.fontLineHeightMd),
359
- fontInput: e(t.fontWeightMedium, t.fontSizeMd, t.fontLineHeightMd),
360
- fontInputLabel: e(t.fontWeightMedium, t.fontSizeXxs, t.fontLineHeightXxs),
361
- fontSelectLabel: e(t.fontWeightMedium, t.fontSizeMd, t.fontLineHeightMd),
362
- fontSelectDescription: e(t.fontWeightMedium, t.fontSizeSm, t.fontLineHeightSm),
363
- fontColorSelectLabel: e(t.fontWeightMedium, t.fontSizeSm, t.fontLineHeightSm),
364
- fontMenuTitle: e(t.fontWeightSemibold, t.fontSizeMd, t.fontLineHeightMd),
365
- fontMenuGroupTitle: e(t.fontWeightMedium, t.fontSizeSm, t.fontLineHeightSm),
366
- fontMenuItemLabel: e(t.fontWeightMedium, t.fontSizeMd, t.fontLineHeightMd),
367
- fontMenuItemLabelSecondary: e(t.fontWeightMedium, t.fontSizeSm, t.fontLineHeightSm),
368
- fontErrorBoundaryTitle: e(t.fontWeightSemibold, t.fontSizeHeadingSm, t.fontLineHeightHeadingSm),
369
- fontErrorBoundaryMessage: e(t.fontWeightMedium, t.fontSizeMd, t.fontLineHeightMd),
370
- fontTableCell: e(t.fontWeightMedium, t.fontSizeMd, t.fontLineHeightMd),
371
- fontTableHeaderCell: e(t.fontWeightSemibold, t.fontSizeSm, t.fontLineHeightSm),
372
- fontSourceLabel: e(t.fontWeightMedium, t.fontSizeSm, t.fontLineHeightSm),
373
- fontSourceLink: e(t.fontWeightRegular, t.fontSizeSm, t.fontLineHeightSm),
374
- fontTextEditorH1: e(t.fontWeightBold, t.fontSizeHeadingLg, t.fontLineHeightHeadingLg, y),
375
- fontTextEditorH2: e(t.fontWeightBold, t.fontSizeHeadingMd, t.fontLineHeightHeadingMd, y),
376
- fontTextEditorH3: e(t.fontWeightSemibold, t.fontSizeHeadingSm, t.fontLineHeightHeadingSm, y),
377
- fontTextEditorH6: e(t.fontWeightMedium, t.fontSizeSm, t.fontLineHeightSm),
378
- fontTextEditorBody: e(t.fontWeightMedium, t.fontSizeEditorBody, t.fontLineHeightEditorBody),
379
- fontTextEditorLink: e(t.fontWeightRegular, t.fontSizeMd, t.fontLineHeightMd),
380
- fontHighlightModeTitle: e(t.fontWeightBold, t.fontSizeMd, t.fontLineHeightMd),
381
- fontHighlightModeSubtitle: e(t.fontWeightMedium, t.fontSizeSm, t.fontLineHeightSm),
382
- fontEditorControlLabel: e(t.fontWeightMedium, t.fontSizeSm, t.fontLineHeightSm),
383
- fontEditorControlValue: e(t.fontWeightMedium, t.fontSizeSm, t.fontLineHeightSm),
384
- fontEditorSectionTitle: e(t.fontWeightSemibold, t.fontSizeSm, t.fontLineHeightSm),
385
- fontEditorCaption: e(t.fontWeightMedium, t.fontSizeXxs, t.fontLineHeightXxs)
386
- }, c = [
387
- "normal",
388
- "italic",
389
- "oblique"
390
- ], u = /^(\d*\.?\d+)(px|em)$/, m = /^\d*\.?\d+$/, b = {
391
- normal: d.normal,
392
- bold: d.bold
393
- }, W = (a) => c.includes(a), B = (a) => {
394
- const o = u.exec(a.trim());
395
- return o === null || o[1] === void 0 || o[2] === void 0 ? null : {
396
- value: Number.parseFloat(o[1]),
397
- unit: o[2] === "px" ? "px" : "em"
398
- };
399
- }, C = (a) => {
400
- const o = a.trim(), r = b[o];
401
- if (r !== void 0) return r;
402
- if (!m.test(o)) return null;
403
- const h = Number.parseFloat(o);
404
- return h >= 1 && h <= 1e3 ? h : null;
405
- }, E = (a) => {
406
- const o = a.trim();
407
- return m.test(o) ? Number.parseFloat(o) : null;
254
+ fontFamilyDefault: y,
255
+ fontFamilyHeading: s,
256
+ fontWeightRegular: h.regular.toString(),
257
+ fontWeightMedium: h.medium.toString(),
258
+ fontWeightSemibold: h.semibold.toString(),
259
+ fontWeightBold: h.bold.toString(),
260
+ fontWeightExtraBold: h.extraBold.toString(),
261
+ fontWeightBlack: h.black.toString(),
262
+ fontSizeXxs: n(a.xxs),
263
+ fontSizeXs: n(a.xs),
264
+ fontSizeSm: n(a.sm),
265
+ fontSizeMd: n(a.md),
266
+ fontSizeLg: n(a.lg),
267
+ fontSizeXl: n(a.xl),
268
+ fontLineHeightXxs: r.xxs.toString(),
269
+ fontLineHeightXs: r.xs.toString(),
270
+ fontLineHeightSm: r.sm.toString(),
271
+ fontLineHeightMd: r.md.toString(),
272
+ fontLineHeightLg: r.lg.toString(),
273
+ fontLineHeightXl: r.xl.toString()
274
+ }, M = {
275
+ fontSizeEditorBody: n(a.editorBody),
276
+ fontSizeHeadingSm: n(a.headingSm),
277
+ fontSizeHeadingMd: n(a.headingMd),
278
+ fontSizeHeadingLg: n(a.headingLg),
279
+ fontLineHeightEditorBody: r.editorBody.toString(),
280
+ fontLineHeightHeadingSm: r.headingSm.toString(),
281
+ fontLineHeightHeadingMd: r.headingMd.toString(),
282
+ fontLineHeightHeadingLg: r.headingLg.toString()
283
+ }, t = (i, o, g, d = v) => `${i} ${o}/${g} ${d}`, S = ({ weight: i, size: o, lineHeight: g }) => t(e[i], e[o], e[g]), x = {
284
+ fontLegendLabel: S(p.fontLegendLabel),
285
+ fontSeriesLabel: t(e.fontWeightSemibold, e.fontSizeSm, e.fontLineHeightSm),
286
+ fontTooltipLabel: t(e.fontWeightMedium, e.fontSizeMd, e.fontLineHeightMd),
287
+ fontTooltipHeading: t(e.fontWeightMedium, e.fontSizeSm, e.fontLineHeightSm),
288
+ fontTooltipFooter: t(e.fontWeightRegular, e.fontSizeSm, e.fontLineHeightSm),
289
+ fontJumboTooltipLabel: t(e.fontWeightRegular, e.fontSizeSm, e.fontLineHeightSm),
290
+ fontJumboTooltip: t(e.fontWeightMedium, e.fontSizeHeadingMd, e.fontLineHeightHeadingMd),
291
+ fontMiniTooltipLabel: t(e.fontWeightMedium, e.fontSizeSm, e.fontLineHeightSm),
292
+ fontMiniTooltipFooter: t(e.fontWeightRegular, e.fontSizeSm, e.fontLineHeightSm),
293
+ fontTooltipCaption: t(e.fontWeightMedium, e.fontSizeSm, e.fontLineHeightSm),
294
+ fontTooltipCaptionSmall: t(e.fontWeightMedium, e.fontSizeXxs, e.fontLineHeightXxs),
295
+ fontUITooltip: t(e.fontWeightMedium, e.fontSizeMd, e.fontLineHeightMd),
296
+ fontUITooltipSecondary: t(e.fontWeightMedium, e.fontSizeSm, e.fontLineHeightSm),
297
+ fontTrendTag: t(e.fontWeightMedium, e.fontSizeMd, e.fontLineHeightMd),
298
+ fontTrendTagSmall: t(e.fontWeightMedium, e.fontSizeXs, e.fontLineHeightXs),
299
+ fontPieLabel: t(e.fontWeightMedium, e.fontSizeXs, e.fontLineHeightXs),
300
+ fontPieChartTotal: t(e.fontWeightBold, e.fontSizeHeadingLg, e.fontLineHeightHeadingLg),
301
+ fontDifferenceArrowSmall: t(e.fontWeightMedium, e.fontSizeSm, e.fontLineHeightSm),
302
+ fontDifferenceArrowMedium: t(e.fontWeightMedium, e.fontSizeLg, e.fontLineHeightLg),
303
+ fontDifferenceArrowLarge: t(e.fontWeightSemibold, e.fontSizeXl, e.fontLineHeightXl),
304
+ fontButton: t(e.fontWeightMedium, e.fontSizeMd, e.fontLineHeightMd),
305
+ fontInput: t(e.fontWeightMedium, e.fontSizeMd, e.fontLineHeightMd),
306
+ fontInputLabel: t(e.fontWeightMedium, e.fontSizeXxs, e.fontLineHeightXxs),
307
+ fontSelectLabel: t(e.fontWeightMedium, e.fontSizeMd, e.fontLineHeightMd),
308
+ fontSelectDescription: t(e.fontWeightMedium, e.fontSizeSm, e.fontLineHeightSm),
309
+ fontColorSelectLabel: t(e.fontWeightMedium, e.fontSizeSm, e.fontLineHeightSm),
310
+ fontMenuTitle: t(e.fontWeightSemibold, e.fontSizeMd, e.fontLineHeightMd),
311
+ fontMenuGroupTitle: t(e.fontWeightMedium, e.fontSizeSm, e.fontLineHeightSm),
312
+ fontMenuItemLabel: t(e.fontWeightMedium, e.fontSizeMd, e.fontLineHeightMd),
313
+ fontMenuItemLabelSecondary: t(e.fontWeightMedium, e.fontSizeSm, e.fontLineHeightSm),
314
+ fontErrorBoundaryTitle: t(e.fontWeightSemibold, e.fontSizeHeadingSm, e.fontLineHeightHeadingSm),
315
+ fontErrorBoundaryMessage: t(e.fontWeightMedium, e.fontSizeMd, e.fontLineHeightMd),
316
+ fontTableCell: t(e.fontWeightMedium, e.fontSizeMd, e.fontLineHeightMd),
317
+ fontTableHeaderCell: t(e.fontWeightSemibold, e.fontSizeSm, e.fontLineHeightSm),
318
+ fontSourceLabel: t(e.fontWeightMedium, e.fontSizeSm, e.fontLineHeightSm),
319
+ fontSourceLink: t(e.fontWeightRegular, e.fontSizeSm, e.fontLineHeightSm),
320
+ fontTextEditorH1: t(e.fontWeightBold, e.fontSizeHeadingLg, e.fontLineHeightHeadingLg, f),
321
+ fontTextEditorH2: t(e.fontWeightBold, e.fontSizeHeadingMd, e.fontLineHeightHeadingMd, f),
322
+ fontTextEditorH3: t(e.fontWeightSemibold, e.fontSizeHeadingSm, e.fontLineHeightHeadingSm, f),
323
+ fontTextEditorH6: t(e.fontWeightMedium, e.fontSizeSm, e.fontLineHeightSm),
324
+ fontTextEditorBody: t(e.fontWeightMedium, e.fontSizeEditorBody, e.fontLineHeightEditorBody),
325
+ fontTextEditorLink: t(e.fontWeightRegular, e.fontSizeMd, e.fontLineHeightMd),
326
+ fontHighlightModeTitle: t(e.fontWeightBold, e.fontSizeMd, e.fontLineHeightMd),
327
+ fontHighlightModeSubtitle: t(e.fontWeightMedium, e.fontSizeSm, e.fontLineHeightSm),
328
+ fontEditorControlLabel: t(e.fontWeightMedium, e.fontSizeSm, e.fontLineHeightSm),
329
+ fontEditorControlValue: t(e.fontWeightMedium, e.fontSizeSm, e.fontLineHeightSm),
330
+ fontEditorSectionTitle: t(e.fontWeightSemibold, e.fontSizeSm, e.fontLineHeightSm),
331
+ fontEditorCaption: t(e.fontWeightMedium, e.fontSizeXxs, e.fontLineHeightXxs)
408
332
  };
409
333
  export {
410
- v as a,
411
- p as c,
412
- T as d,
413
- k as f,
414
- t as g,
415
- H as h,
416
- E as i,
417
- l,
418
- z as m,
419
- B as n,
420
- i as o,
421
- M as p,
422
- C as r,
423
- n as s,
424
- W as t,
425
- x as u
334
+ p as a,
335
+ x as c,
336
+ m as d,
337
+ u as f,
338
+ h as i,
339
+ b as l,
340
+ r as n,
341
+ H as o,
342
+ e as p,
343
+ a as r,
344
+ L as s,
345
+ y as t,
346
+ M as u
426
347
  };
@@ -0,0 +1,93 @@
1
+ # PolyForm Free Trial License 1.0.0
2
+
3
+ <https://polyformproject.org/licenses/free-trial/1.0.0>
4
+
5
+ ## Acceptance
6
+
7
+ In order to get any license under these terms, you must agree
8
+ to them as both strict obligations and conditions to all
9
+ your licenses.
10
+
11
+ ## Copyright License
12
+
13
+ The licensor grants you a copyright license for the software
14
+ to do everything you might do with the software that would
15
+ otherwise infringe the licensor's copyright in it for any
16
+ permitted purpose. However, you may only make changes or
17
+ new works based on the software according to [Changes and New
18
+ Works License](#changes-and-new-works-license), and you may
19
+ not distribute copies of the software.
20
+
21
+ ## Changes and New Works License
22
+
23
+ The licensor grants you an additional copyright license to
24
+ make changes and new works based on the software for any
25
+ permitted purpose.
26
+
27
+ ## Patent License
28
+
29
+ The licensor grants you a patent license for the software that
30
+ covers patent claims the licensor can license, or becomes able
31
+ to license, that you would infringe by using the software.
32
+
33
+ ## Fair Use
34
+
35
+ You may have "fair use" rights for the software under the
36
+ law. These terms do not limit them.
37
+
38
+ ## Free Trial
39
+
40
+ Use to evaluate whether the software suits a particular
41
+ application for less than 32 consecutive calendar days, on
42
+ behalf of you or your company, is use for a permitted purpose.
43
+
44
+ ## No Other Rights
45
+
46
+ These terms do not allow you to sublicense or transfer any of
47
+ your licenses to anyone else, or prevent the licensor from
48
+ granting licenses to anyone else. These terms do not imply
49
+ any other licenses.
50
+
51
+ ## Patent Defense
52
+
53
+ If you make any written claim that the software infringes or
54
+ contributes to infringement of any patent, your patent license
55
+ for the software granted under these terms ends immediately. If
56
+ your company makes such a claim, your patent license ends
57
+ immediately for work on behalf of your company.
58
+
59
+ ## Violations
60
+
61
+ If you violate any of these terms, or do anything with the
62
+ software not covered by your licenses, all your licenses
63
+ end immediately.
64
+
65
+ ## No Liability
66
+
67
+ _**As far as the law allows, the software comes as is, without
68
+ any warranty or condition, and the licensor will not be liable
69
+ to you for any damages arising out of these terms or the use
70
+ or nature of the software, under any kind of legal claim.**_
71
+
72
+ ## Definitions
73
+
74
+ The **licensor** is the individual or entity offering these
75
+ terms, and the **software** is the software the licensor makes
76
+ available under these terms.
77
+
78
+ **You** refers to the individual or entity agreeing to these
79
+ terms.
80
+
81
+ **Your company** is any legal entity, sole proprietorship,
82
+ or other kind of organization that you work for, plus all
83
+ organizations that have control over, are under the control of,
84
+ or are under common control with that organization. **Control**
85
+ means ownership of substantially all the assets of an entity,
86
+ or the power to direct its management and policies by vote,
87
+ contract, or otherwise. Control can be direct or indirect.
88
+
89
+ **Your licenses** are all the licenses granted to you for the
90
+ software under these terms.
91
+
92
+ **Use** means anything you do with the software requiring one
93
+ of your licenses.
@@ -0,0 +1,131 @@
1
+ # PolyForm Noncommercial License 1.0.0
2
+
3
+ <https://polyformproject.org/licenses/noncommercial/1.0.0>
4
+
5
+ ## Acceptance
6
+
7
+ In order to get any license under these terms, you must agree
8
+ to them as both strict obligations and conditions to all
9
+ your licenses.
10
+
11
+ ## Copyright License
12
+
13
+ The licensor grants you a copyright license for the
14
+ software to do everything you might do with the software
15
+ that would otherwise infringe the licensor's copyright
16
+ in it for any permitted purpose. However, you may
17
+ only distribute the software according to [Distribution
18
+ License](#distribution-license) and make changes or new works
19
+ based on the software according to [Changes and New Works
20
+ License](#changes-and-new-works-license).
21
+
22
+ ## Distribution License
23
+
24
+ The licensor grants you an additional copyright license
25
+ to distribute copies of the software. Your license
26
+ to distribute covers distributing the software with
27
+ changes and new works permitted by [Changes and New Works
28
+ License](#changes-and-new-works-license).
29
+
30
+ ## Notices
31
+
32
+ You must ensure that anyone who gets a copy of any part of
33
+ the software from you also gets a copy of these terms or the
34
+ URL for them above, as well as copies of any plain-text lines
35
+ beginning with `Required Notice:` that the licensor provided
36
+ with the software. For example:
37
+
38
+ > Required Notice: Copyright Graphy Technologies Ltd. (https://graphy.dev)
39
+
40
+ ## Changes and New Works License
41
+
42
+ The licensor grants you an additional copyright license to
43
+ make changes and new works based on the software for any
44
+ permitted purpose.
45
+
46
+ ## Patent License
47
+
48
+ The licensor grants you a patent license for the software that
49
+ covers patent claims the licensor can license, or becomes able
50
+ to license, that you would infringe by using the software.
51
+
52
+ ## Noncommercial Purposes
53
+
54
+ Any noncommercial purpose is a permitted purpose.
55
+
56
+ ## Personal Uses
57
+
58
+ Personal use for research, experiment, and testing for
59
+ the benefit of public knowledge, personal study, private
60
+ entertainment, hobby projects, amateur pursuits, or religious
61
+ observance, without any anticipated commercial application,
62
+ is use for a permitted purpose.
63
+
64
+ ## Noncommercial Organizations
65
+
66
+ Use by any charitable organization, educational institution,
67
+ public research organization, public safety or health
68
+ organization, environmental protection organization,
69
+ or government institution is use for a permitted purpose
70
+ regardless of the source of funding or obligations resulting
71
+ from the funding.
72
+
73
+ ## Fair Use
74
+
75
+ You may have "fair use" rights for the software under the
76
+ law. These terms do not limit them.
77
+
78
+ ## No Other Rights
79
+
80
+ These terms do not allow you to sublicense or transfer any of
81
+ your licenses to anyone else, or prevent the licensor from
82
+ granting licenses to anyone else. These terms do not imply
83
+ any other licenses.
84
+
85
+ ## Patent Defense
86
+
87
+ If you make any written claim that the software infringes or
88
+ contributes to infringement of any patent, your patent license
89
+ for the software granted under these terms ends immediately. If
90
+ your company makes such a claim, your patent license ends
91
+ immediately for work on behalf of your company.
92
+
93
+ ## Violations
94
+
95
+ The first time you are notified in writing that you have
96
+ violated any of these terms, or done anything with the software
97
+ not covered by your licenses, your licenses can nonetheless
98
+ continue if you come into full compliance with these terms,
99
+ and take practical steps to correct past violations, within
100
+ 32 days of receiving notice. Otherwise, all your licenses
101
+ end immediately.
102
+
103
+ ## No Liability
104
+
105
+ _**As far as the law allows, the software comes as is, without
106
+ any warranty or condition, and the licensor will not be liable
107
+ to you for any damages arising out of these terms or the use
108
+ or nature of the software, under any kind of legal claim.**_
109
+
110
+ ## Definitions
111
+
112
+ The **licensor** is the individual or entity offering these
113
+ terms, and the **software** is the software the licensor makes
114
+ available under these terms.
115
+
116
+ **You** refers to the individual or entity agreeing to these
117
+ terms.
118
+
119
+ **Your company** is any legal entity, sole proprietorship,
120
+ or other kind of organization that you work for, plus all
121
+ organizations that have control over, are under the control of,
122
+ or are under common control with that organization. **Control**
123
+ means ownership of substantially all the assets of an entity,
124
+ or the power to direct its management and policies by vote,
125
+ contract, or otherwise. Control can be direct or indirect.
126
+
127
+ **Your licenses** are all the licenses granted to you for the
128
+ software under these terms.
129
+
130
+ **Use** means anything you do with the software requiring one
131
+ of your licenses.