@appdirect/ds-enforce 0.0.15 → 0.0.17

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.
@@ -0,0 +1,78 @@
1
+ {
2
+ "id": "KeyInsight",
3
+ "kind": "complex",
4
+ "version": "0.1.0",
5
+ "purpose": "Single KPI tile: a value, a title, and an optional subtitle. Visual size is independent of the value's HTML element.",
6
+ "importFrom": [
7
+ "@appdirect/design-system"
8
+ ],
9
+ "mantineCounterpart": null,
10
+ "anatomy": [
11
+ "value",
12
+ "title",
13
+ "subtitle"
14
+ ],
15
+ "api": {
16
+ "props": {
17
+ "value": {
18
+ "type": "string | number",
19
+ "required": true
20
+ },
21
+ "title": {
22
+ "type": "string",
23
+ "required": true
24
+ },
25
+ "subtitle": {
26
+ "type": "string"
27
+ },
28
+ "showBorder": {
29
+ "type": "boolean",
30
+ "default": false
31
+ },
32
+ "size": {
33
+ "enum": [
34
+ "super-jumbo",
35
+ "jumbo",
36
+ "level-1",
37
+ "level-2",
38
+ "level-3",
39
+ "level-4",
40
+ "level-5",
41
+ "level-6",
42
+ "xs",
43
+ "sm",
44
+ "md",
45
+ "lg"
46
+ ],
47
+ "default": "level-2",
48
+ "notes": "Canonical sizes are super-jumbo, jumbo, and level-1…level-6. Deprecated aliases: xs→level-4, sm→level-3, md→level-2, lg→level-1. jumbo and super-jumbo are unchanged."
49
+ },
50
+ "valueAs": {
51
+ "enum": [
52
+ "h1",
53
+ "h2",
54
+ "h3",
55
+ "h4",
56
+ "h5",
57
+ "h6",
58
+ "p",
59
+ "span"
60
+ ],
61
+ "notes": "Element for the value. Defaults to the heading that matches the resolved size (level-1, jumbo, and super-jumbo → h1). Pass p or span so a level-1 visual size is not an h1."
62
+ }
63
+ }
64
+ },
65
+ "enforcement": {
66
+ "deterministic": [
67
+ "importFrom",
68
+ "kind",
69
+ "mantineCounterpart",
70
+ "api.props.value.required",
71
+ "api.props.title.required",
72
+ "api.props.size.enum"
73
+ ],
74
+ "semantic": [
75
+ "purpose"
76
+ ]
77
+ }
78
+ }
@@ -40,6 +40,11 @@
40
40
  "kind": "wrapper",
41
41
  "file": "Inline.json"
42
42
  },
43
+ {
44
+ "id": "KeyInsight",
45
+ "kind": "complex",
46
+ "file": "KeyInsight.json"
47
+ },
43
48
  {
44
49
  "id": "PageContentHeader",
45
50
  "kind": "complex",
@@ -297,6 +297,49 @@
297
297
  "colorEnum": null,
298
298
  "colorDeprecated": false
299
299
  },
300
+ {
301
+ "id": "KeyInsight",
302
+ "kind": "complex",
303
+ "mantineName": "KeyInsight",
304
+ "importNames": [
305
+ "KeyInsight"
306
+ ],
307
+ "variantEnum": null,
308
+ "sizeEnum": [
309
+ "super-jumbo",
310
+ "jumbo",
311
+ "level-1",
312
+ "level-2",
313
+ "level-3",
314
+ "level-4",
315
+ "level-5",
316
+ "level-6",
317
+ "xs",
318
+ "sm",
319
+ "md",
320
+ "lg"
321
+ ],
322
+ "fixedProps": {},
323
+ "defaultProps": {
324
+ "showBorder": false,
325
+ "size": "level-2"
326
+ },
327
+ "deprecatedPatterns": [],
328
+ "deterministic": [
329
+ "importFrom",
330
+ "kind",
331
+ "mantineCounterpart",
332
+ "api.props.value.required",
333
+ "api.props.title.required",
334
+ "api.props.size.enum"
335
+ ],
336
+ "semantic": [
337
+ "purpose"
338
+ ],
339
+ "purpose": "Single KPI tile: a value, a title, and an optional subtitle. Visual size is independent of the value's HTML element.",
340
+ "colorEnum": null,
341
+ "colorDeprecated": false
342
+ },
300
343
  {
301
344
  "id": "PageContentHeader",
302
345
  "kind": "complex",
@@ -769,6 +812,10 @@
769
812
  "--ad-headings-sizes-h5-line-height",
770
813
  "--ad-headings-sizes-h6-font-size",
771
814
  "--ad-headings-sizes-h6-line-height",
815
+ "--ad-headings-sizes-jumbo-font-size",
816
+ "--ad-headings-sizes-super-jumbo-font-size",
817
+ "--ad-headings-sizes-super-jumbo-label-font-size",
818
+ "--ad-headings-sizes-super-jumbo-label-line-height",
772
819
  "--ad-headings-text-wrap",
773
820
  "--ad-icon-size-lg",
774
821
  "--ad-icon-size-md",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appdirect/ds-enforce",
3
- "version": "0.0.15",
3
+ "version": "0.0.17",
4
4
  "description": "ESLint, Stylelint, and Mantine types that keep apps on the AppDirect design system.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",