@taprootio/espalier 2.16.0 → 2.18.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/custom-elements.json +1416 -1065
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -1
- package/dist/pickers/esp-picker-menu.js +1 -1
- package/dist/root/helpers/compute-theme-properties.js +1 -1
- package/dist/root/helpers/compute-variants.js +1 -1
- package/dist/shared/color-engine.js +1 -1
- package/dist/shared/esp-element-base.js +1 -1
- package/dist/shared/theme-fit-report.d.ts +162 -0
- package/dist/shared/theme-fit-report.js +1 -0
- package/dist/shared/theme-fit-trace.js +0 -0
- package/dist/shared/theme.d.ts +220 -5
- package/dist/shared/theme.js +1 -1
- package/dist/shared/variant-engine.js +1 -0
- package/package.json +1 -1
package/custom-elements.json
CHANGED
|
@@ -1006,6 +1006,70 @@
|
|
|
1006
1006
|
"name": "getGoogleFonts",
|
|
1007
1007
|
"module": "./font-picker/esp-font-picker.js"
|
|
1008
1008
|
}
|
|
1009
|
+
},
|
|
1010
|
+
{
|
|
1011
|
+
"kind": "js",
|
|
1012
|
+
"name": "themeFitReport",
|
|
1013
|
+
"declaration": {
|
|
1014
|
+
"name": "themeFitReport",
|
|
1015
|
+
"module": "./shared/theme-fit-report.js"
|
|
1016
|
+
}
|
|
1017
|
+
},
|
|
1018
|
+
{
|
|
1019
|
+
"kind": "js",
|
|
1020
|
+
"name": "themeFitRows",
|
|
1021
|
+
"declaration": {
|
|
1022
|
+
"name": "themeFitRows",
|
|
1023
|
+
"module": "./shared/theme-fit-report.js"
|
|
1024
|
+
}
|
|
1025
|
+
},
|
|
1026
|
+
{
|
|
1027
|
+
"kind": "js",
|
|
1028
|
+
"name": "printThemeFitReport",
|
|
1029
|
+
"declaration": {
|
|
1030
|
+
"name": "printThemeFitReport",
|
|
1031
|
+
"module": "./shared/theme-fit-report.js"
|
|
1032
|
+
}
|
|
1033
|
+
},
|
|
1034
|
+
{
|
|
1035
|
+
"kind": "js",
|
|
1036
|
+
"name": "ThemeFitReport",
|
|
1037
|
+
"declaration": {
|
|
1038
|
+
"name": "ThemeFitReport",
|
|
1039
|
+
"module": "./shared/theme-fit-report.js"
|
|
1040
|
+
}
|
|
1041
|
+
},
|
|
1042
|
+
{
|
|
1043
|
+
"kind": "js",
|
|
1044
|
+
"name": "ThemeFitToken",
|
|
1045
|
+
"declaration": {
|
|
1046
|
+
"name": "ThemeFitToken",
|
|
1047
|
+
"module": "./shared/theme-fit-report.js"
|
|
1048
|
+
}
|
|
1049
|
+
},
|
|
1050
|
+
{
|
|
1051
|
+
"kind": "js",
|
|
1052
|
+
"name": "ThemeFitApcaAction",
|
|
1053
|
+
"declaration": {
|
|
1054
|
+
"name": "ThemeFitApcaAction",
|
|
1055
|
+
"module": "./shared/theme-fit-report.js"
|
|
1056
|
+
}
|
|
1057
|
+
},
|
|
1058
|
+
{
|
|
1059
|
+
"kind": "js",
|
|
1060
|
+
"name": "ThemeFitAnchor",
|
|
1061
|
+
"declaration": {
|
|
1062
|
+
"name": "ThemeFitAnchor",
|
|
1063
|
+
"module": "./shared/theme-fit-report.js"
|
|
1064
|
+
}
|
|
1065
|
+
},
|
|
1066
|
+
{
|
|
1067
|
+
"kind": "js",
|
|
1068
|
+
"name": "ThemeFitRow",
|
|
1069
|
+
"declaration": {
|
|
1070
|
+
"name": "ThemeFitRow",
|
|
1071
|
+
"module": "./shared/theme-fit-report.js"
|
|
1072
|
+
}
|
|
1009
1073
|
}
|
|
1010
1074
|
]
|
|
1011
1075
|
},
|
|
@@ -1569,14 +1633,11 @@
|
|
|
1569
1633
|
{
|
|
1570
1634
|
"kind": "field",
|
|
1571
1635
|
"name": "textContrast",
|
|
1572
|
-
"type": {
|
|
1573
|
-
"text": "Partial<\n Record<SemanticColorName, { bg: SemanticColorName; targetLc: number }>\n >"
|
|
1574
|
-
},
|
|
1575
1636
|
"privacy": "private",
|
|
1576
1637
|
"static": true,
|
|
1577
1638
|
"readonly": true,
|
|
1578
|
-
"default": "
|
|
1579
|
-
"description": "
|
|
1639
|
+
"default": "TOKEN_PAIRINGS",
|
|
1640
|
+
"description": "Which ink sits on which surface, and at what APCA target.\n\nReads the single pairing table in the theme model rather than\ncarrying a second copy: an identical literal used to live here and\nin `compute-theme-properties.ts`, which is precisely the drift the\nrepository's adoption rules exist to catch. See ESP0164.",
|
|
1580
1641
|
"inheritedFrom": {
|
|
1581
1642
|
"name": "EspalierElementBase",
|
|
1582
1643
|
"module": "dist/shared/esp-element-base.js"
|
|
@@ -1634,7 +1695,7 @@
|
|
|
1634
1695
|
"privacy": "private",
|
|
1635
1696
|
"return": {
|
|
1636
1697
|
"type": {
|
|
1637
|
-
"text": "
|
|
1698
|
+
"text": "MappingSource"
|
|
1638
1699
|
}
|
|
1639
1700
|
},
|
|
1640
1701
|
"parameters": [
|
|
@@ -1647,7 +1708,7 @@
|
|
|
1647
1708
|
{
|
|
1648
1709
|
"name": "mappedSource",
|
|
1649
1710
|
"type": {
|
|
1650
|
-
"text": "
|
|
1711
|
+
"text": "MappingSource"
|
|
1651
1712
|
}
|
|
1652
1713
|
},
|
|
1653
1714
|
{
|
|
@@ -2636,14 +2697,11 @@
|
|
|
2636
2697
|
{
|
|
2637
2698
|
"kind": "field",
|
|
2638
2699
|
"name": "textContrast",
|
|
2639
|
-
"type": {
|
|
2640
|
-
"text": "Partial<\n Record<SemanticColorName, { bg: SemanticColorName; targetLc: number }>\n >"
|
|
2641
|
-
},
|
|
2642
2700
|
"privacy": "private",
|
|
2643
2701
|
"static": true,
|
|
2644
2702
|
"readonly": true,
|
|
2645
|
-
"default": "
|
|
2646
|
-
"description": "
|
|
2703
|
+
"default": "TOKEN_PAIRINGS",
|
|
2704
|
+
"description": "Which ink sits on which surface, and at what APCA target.\n\nReads the single pairing table in the theme model rather than\ncarrying a second copy: an identical literal used to live here and\nin `compute-theme-properties.ts`, which is precisely the drift the\nrepository's adoption rules exist to catch. See ESP0164.",
|
|
2647
2705
|
"inheritedFrom": {
|
|
2648
2706
|
"name": "EspalierElementBase",
|
|
2649
2707
|
"module": "dist/shared/esp-element-base.js"
|
|
@@ -2701,7 +2759,7 @@
|
|
|
2701
2759
|
"privacy": "private",
|
|
2702
2760
|
"return": {
|
|
2703
2761
|
"type": {
|
|
2704
|
-
"text": "
|
|
2762
|
+
"text": "MappingSource"
|
|
2705
2763
|
}
|
|
2706
2764
|
},
|
|
2707
2765
|
"parameters": [
|
|
@@ -2714,7 +2772,7 @@
|
|
|
2714
2772
|
{
|
|
2715
2773
|
"name": "mappedSource",
|
|
2716
2774
|
"type": {
|
|
2717
|
-
"text": "
|
|
2775
|
+
"text": "MappingSource"
|
|
2718
2776
|
}
|
|
2719
2777
|
},
|
|
2720
2778
|
{
|
|
@@ -3650,14 +3708,11 @@
|
|
|
3650
3708
|
{
|
|
3651
3709
|
"kind": "field",
|
|
3652
3710
|
"name": "textContrast",
|
|
3653
|
-
"type": {
|
|
3654
|
-
"text": "Partial<\n Record<SemanticColorName, { bg: SemanticColorName; targetLc: number }>\n >"
|
|
3655
|
-
},
|
|
3656
3711
|
"privacy": "private",
|
|
3657
3712
|
"static": true,
|
|
3658
3713
|
"readonly": true,
|
|
3659
|
-
"default": "
|
|
3660
|
-
"description": "
|
|
3714
|
+
"default": "TOKEN_PAIRINGS",
|
|
3715
|
+
"description": "Which ink sits on which surface, and at what APCA target.\n\nReads the single pairing table in the theme model rather than\ncarrying a second copy: an identical literal used to live here and\nin `compute-theme-properties.ts`, which is precisely the drift the\nrepository's adoption rules exist to catch. See ESP0164.",
|
|
3661
3716
|
"inheritedFrom": {
|
|
3662
3717
|
"name": "EspalierElementBase",
|
|
3663
3718
|
"module": "dist/shared/esp-element-base.js"
|
|
@@ -3715,7 +3770,7 @@
|
|
|
3715
3770
|
"privacy": "private",
|
|
3716
3771
|
"return": {
|
|
3717
3772
|
"type": {
|
|
3718
|
-
"text": "
|
|
3773
|
+
"text": "MappingSource"
|
|
3719
3774
|
}
|
|
3720
3775
|
},
|
|
3721
3776
|
"parameters": [
|
|
@@ -3728,7 +3783,7 @@
|
|
|
3728
3783
|
{
|
|
3729
3784
|
"name": "mappedSource",
|
|
3730
3785
|
"type": {
|
|
3731
|
-
"text": "
|
|
3786
|
+
"text": "MappingSource"
|
|
3732
3787
|
}
|
|
3733
3788
|
},
|
|
3734
3789
|
{
|
|
@@ -4481,14 +4536,11 @@
|
|
|
4481
4536
|
{
|
|
4482
4537
|
"kind": "field",
|
|
4483
4538
|
"name": "textContrast",
|
|
4484
|
-
"type": {
|
|
4485
|
-
"text": "Partial<\n Record<SemanticColorName, { bg: SemanticColorName; targetLc: number }>\n >"
|
|
4486
|
-
},
|
|
4487
4539
|
"privacy": "private",
|
|
4488
4540
|
"static": true,
|
|
4489
4541
|
"readonly": true,
|
|
4490
|
-
"default": "
|
|
4491
|
-
"description": "
|
|
4542
|
+
"default": "TOKEN_PAIRINGS",
|
|
4543
|
+
"description": "Which ink sits on which surface, and at what APCA target.\n\nReads the single pairing table in the theme model rather than\ncarrying a second copy: an identical literal used to live here and\nin `compute-theme-properties.ts`, which is precisely the drift the\nrepository's adoption rules exist to catch. See ESP0164.",
|
|
4492
4544
|
"inheritedFrom": {
|
|
4493
4545
|
"name": "EspalierElementBase",
|
|
4494
4546
|
"module": "dist/shared/esp-element-base.js"
|
|
@@ -4546,7 +4598,7 @@
|
|
|
4546
4598
|
"privacy": "private",
|
|
4547
4599
|
"return": {
|
|
4548
4600
|
"type": {
|
|
4549
|
-
"text": "
|
|
4601
|
+
"text": "MappingSource"
|
|
4550
4602
|
}
|
|
4551
4603
|
},
|
|
4552
4604
|
"parameters": [
|
|
@@ -4559,7 +4611,7 @@
|
|
|
4559
4611
|
{
|
|
4560
4612
|
"name": "mappedSource",
|
|
4561
4613
|
"type": {
|
|
4562
|
-
"text": "
|
|
4614
|
+
"text": "MappingSource"
|
|
4563
4615
|
}
|
|
4564
4616
|
},
|
|
4565
4617
|
{
|
|
@@ -5248,14 +5300,11 @@
|
|
|
5248
5300
|
{
|
|
5249
5301
|
"kind": "field",
|
|
5250
5302
|
"name": "textContrast",
|
|
5251
|
-
"type": {
|
|
5252
|
-
"text": "Partial<\n Record<SemanticColorName, { bg: SemanticColorName; targetLc: number }>\n >"
|
|
5253
|
-
},
|
|
5254
5303
|
"privacy": "private",
|
|
5255
5304
|
"static": true,
|
|
5256
5305
|
"readonly": true,
|
|
5257
|
-
"default": "
|
|
5258
|
-
"description": "
|
|
5306
|
+
"default": "TOKEN_PAIRINGS",
|
|
5307
|
+
"description": "Which ink sits on which surface, and at what APCA target.\n\nReads the single pairing table in the theme model rather than\ncarrying a second copy: an identical literal used to live here and\nin `compute-theme-properties.ts`, which is precisely the drift the\nrepository's adoption rules exist to catch. See ESP0164.",
|
|
5259
5308
|
"inheritedFrom": {
|
|
5260
5309
|
"name": "EspalierElementBase",
|
|
5261
5310
|
"module": "dist/shared/esp-element-base.js"
|
|
@@ -5313,7 +5362,7 @@
|
|
|
5313
5362
|
"privacy": "private",
|
|
5314
5363
|
"return": {
|
|
5315
5364
|
"type": {
|
|
5316
|
-
"text": "
|
|
5365
|
+
"text": "MappingSource"
|
|
5317
5366
|
}
|
|
5318
5367
|
},
|
|
5319
5368
|
"parameters": [
|
|
@@ -5326,7 +5375,7 @@
|
|
|
5326
5375
|
{
|
|
5327
5376
|
"name": "mappedSource",
|
|
5328
5377
|
"type": {
|
|
5329
|
-
"text": "
|
|
5378
|
+
"text": "MappingSource"
|
|
5330
5379
|
}
|
|
5331
5380
|
},
|
|
5332
5381
|
{
|
|
@@ -5936,14 +5985,11 @@
|
|
|
5936
5985
|
{
|
|
5937
5986
|
"kind": "field",
|
|
5938
5987
|
"name": "textContrast",
|
|
5939
|
-
"type": {
|
|
5940
|
-
"text": "Partial<\n Record<SemanticColorName, { bg: SemanticColorName; targetLc: number }>\n >"
|
|
5941
|
-
},
|
|
5942
5988
|
"privacy": "private",
|
|
5943
5989
|
"static": true,
|
|
5944
5990
|
"readonly": true,
|
|
5945
|
-
"default": "
|
|
5946
|
-
"description": "
|
|
5991
|
+
"default": "TOKEN_PAIRINGS",
|
|
5992
|
+
"description": "Which ink sits on which surface, and at what APCA target.\n\nReads the single pairing table in the theme model rather than\ncarrying a second copy: an identical literal used to live here and\nin `compute-theme-properties.ts`, which is precisely the drift the\nrepository's adoption rules exist to catch. See ESP0164.",
|
|
5947
5993
|
"inheritedFrom": {
|
|
5948
5994
|
"name": "EspalierElementBase",
|
|
5949
5995
|
"module": "dist/shared/esp-element-base.js"
|
|
@@ -6001,7 +6047,7 @@
|
|
|
6001
6047
|
"privacy": "private",
|
|
6002
6048
|
"return": {
|
|
6003
6049
|
"type": {
|
|
6004
|
-
"text": "
|
|
6050
|
+
"text": "MappingSource"
|
|
6005
6051
|
}
|
|
6006
6052
|
},
|
|
6007
6053
|
"parameters": [
|
|
@@ -6014,7 +6060,7 @@
|
|
|
6014
6060
|
{
|
|
6015
6061
|
"name": "mappedSource",
|
|
6016
6062
|
"type": {
|
|
6017
|
-
"text": "
|
|
6063
|
+
"text": "MappingSource"
|
|
6018
6064
|
}
|
|
6019
6065
|
},
|
|
6020
6066
|
{
|
|
@@ -6756,14 +6802,11 @@
|
|
|
6756
6802
|
{
|
|
6757
6803
|
"kind": "field",
|
|
6758
6804
|
"name": "textContrast",
|
|
6759
|
-
"type": {
|
|
6760
|
-
"text": "Partial<\n Record<SemanticColorName, { bg: SemanticColorName; targetLc: number }>\n >"
|
|
6761
|
-
},
|
|
6762
6805
|
"privacy": "private",
|
|
6763
6806
|
"static": true,
|
|
6764
6807
|
"readonly": true,
|
|
6765
|
-
"default": "
|
|
6766
|
-
"description": "
|
|
6808
|
+
"default": "TOKEN_PAIRINGS",
|
|
6809
|
+
"description": "Which ink sits on which surface, and at what APCA target.\n\nReads the single pairing table in the theme model rather than\ncarrying a second copy: an identical literal used to live here and\nin `compute-theme-properties.ts`, which is precisely the drift the\nrepository's adoption rules exist to catch. See ESP0164.",
|
|
6767
6810
|
"inheritedFrom": {
|
|
6768
6811
|
"name": "EspalierElementBase",
|
|
6769
6812
|
"module": "dist/shared/esp-element-base.js"
|
|
@@ -6821,7 +6864,7 @@
|
|
|
6821
6864
|
"privacy": "private",
|
|
6822
6865
|
"return": {
|
|
6823
6866
|
"type": {
|
|
6824
|
-
"text": "
|
|
6867
|
+
"text": "MappingSource"
|
|
6825
6868
|
}
|
|
6826
6869
|
},
|
|
6827
6870
|
"parameters": [
|
|
@@ -6834,7 +6877,7 @@
|
|
|
6834
6877
|
{
|
|
6835
6878
|
"name": "mappedSource",
|
|
6836
6879
|
"type": {
|
|
6837
|
-
"text": "
|
|
6880
|
+
"text": "MappingSource"
|
|
6838
6881
|
}
|
|
6839
6882
|
},
|
|
6840
6883
|
{
|
|
@@ -8133,14 +8176,11 @@
|
|
|
8133
8176
|
{
|
|
8134
8177
|
"kind": "field",
|
|
8135
8178
|
"name": "textContrast",
|
|
8136
|
-
"type": {
|
|
8137
|
-
"text": "Partial<\n Record<SemanticColorName, { bg: SemanticColorName; targetLc: number }>\n >"
|
|
8138
|
-
},
|
|
8139
8179
|
"privacy": "private",
|
|
8140
8180
|
"static": true,
|
|
8141
8181
|
"readonly": true,
|
|
8142
|
-
"default": "
|
|
8143
|
-
"description": "
|
|
8182
|
+
"default": "TOKEN_PAIRINGS",
|
|
8183
|
+
"description": "Which ink sits on which surface, and at what APCA target.\n\nReads the single pairing table in the theme model rather than\ncarrying a second copy: an identical literal used to live here and\nin `compute-theme-properties.ts`, which is precisely the drift the\nrepository's adoption rules exist to catch. See ESP0164.",
|
|
8144
8184
|
"inheritedFrom": {
|
|
8145
8185
|
"name": "EspalierElementBase",
|
|
8146
8186
|
"module": "dist/shared/esp-element-base.js"
|
|
@@ -8198,7 +8238,7 @@
|
|
|
8198
8238
|
"privacy": "private",
|
|
8199
8239
|
"return": {
|
|
8200
8240
|
"type": {
|
|
8201
|
-
"text": "
|
|
8241
|
+
"text": "MappingSource"
|
|
8202
8242
|
}
|
|
8203
8243
|
},
|
|
8204
8244
|
"parameters": [
|
|
@@ -8211,7 +8251,7 @@
|
|
|
8211
8251
|
{
|
|
8212
8252
|
"name": "mappedSource",
|
|
8213
8253
|
"type": {
|
|
8214
|
-
"text": "
|
|
8254
|
+
"text": "MappingSource"
|
|
8215
8255
|
}
|
|
8216
8256
|
},
|
|
8217
8257
|
{
|
|
@@ -9087,14 +9127,11 @@
|
|
|
9087
9127
|
{
|
|
9088
9128
|
"kind": "field",
|
|
9089
9129
|
"name": "textContrast",
|
|
9090
|
-
"type": {
|
|
9091
|
-
"text": "Partial<\n Record<SemanticColorName, { bg: SemanticColorName; targetLc: number }>\n >"
|
|
9092
|
-
},
|
|
9093
9130
|
"privacy": "private",
|
|
9094
9131
|
"static": true,
|
|
9095
9132
|
"readonly": true,
|
|
9096
|
-
"default": "
|
|
9097
|
-
"description": "
|
|
9133
|
+
"default": "TOKEN_PAIRINGS",
|
|
9134
|
+
"description": "Which ink sits on which surface, and at what APCA target.\n\nReads the single pairing table in the theme model rather than\ncarrying a second copy: an identical literal used to live here and\nin `compute-theme-properties.ts`, which is precisely the drift the\nrepository's adoption rules exist to catch. See ESP0164.",
|
|
9098
9135
|
"inheritedFrom": {
|
|
9099
9136
|
"name": "EspalierElementBase",
|
|
9100
9137
|
"module": "dist/shared/esp-element-base.js"
|
|
@@ -9152,7 +9189,7 @@
|
|
|
9152
9189
|
"privacy": "private",
|
|
9153
9190
|
"return": {
|
|
9154
9191
|
"type": {
|
|
9155
|
-
"text": "
|
|
9192
|
+
"text": "MappingSource"
|
|
9156
9193
|
}
|
|
9157
9194
|
},
|
|
9158
9195
|
"parameters": [
|
|
@@ -9165,7 +9202,7 @@
|
|
|
9165
9202
|
{
|
|
9166
9203
|
"name": "mappedSource",
|
|
9167
9204
|
"type": {
|
|
9168
|
-
"text": "
|
|
9205
|
+
"text": "MappingSource"
|
|
9169
9206
|
}
|
|
9170
9207
|
},
|
|
9171
9208
|
{
|
|
@@ -10072,14 +10109,11 @@
|
|
|
10072
10109
|
{
|
|
10073
10110
|
"kind": "field",
|
|
10074
10111
|
"name": "textContrast",
|
|
10075
|
-
"type": {
|
|
10076
|
-
"text": "Partial<\n Record<SemanticColorName, { bg: SemanticColorName; targetLc: number }>\n >"
|
|
10077
|
-
},
|
|
10078
10112
|
"privacy": "private",
|
|
10079
10113
|
"static": true,
|
|
10080
10114
|
"readonly": true,
|
|
10081
|
-
"default": "
|
|
10082
|
-
"description": "
|
|
10115
|
+
"default": "TOKEN_PAIRINGS",
|
|
10116
|
+
"description": "Which ink sits on which surface, and at what APCA target.\n\nReads the single pairing table in the theme model rather than\ncarrying a second copy: an identical literal used to live here and\nin `compute-theme-properties.ts`, which is precisely the drift the\nrepository's adoption rules exist to catch. See ESP0164.",
|
|
10083
10117
|
"inheritedFrom": {
|
|
10084
10118
|
"name": "EspalierElementBase",
|
|
10085
10119
|
"module": "dist/shared/esp-element-base.js"
|
|
@@ -10137,7 +10171,7 @@
|
|
|
10137
10171
|
"privacy": "private",
|
|
10138
10172
|
"return": {
|
|
10139
10173
|
"type": {
|
|
10140
|
-
"text": "
|
|
10174
|
+
"text": "MappingSource"
|
|
10141
10175
|
}
|
|
10142
10176
|
},
|
|
10143
10177
|
"parameters": [
|
|
@@ -10150,7 +10184,7 @@
|
|
|
10150
10184
|
{
|
|
10151
10185
|
"name": "mappedSource",
|
|
10152
10186
|
"type": {
|
|
10153
|
-
"text": "
|
|
10187
|
+
"text": "MappingSource"
|
|
10154
10188
|
}
|
|
10155
10189
|
},
|
|
10156
10190
|
{
|
|
@@ -10949,14 +10983,11 @@
|
|
|
10949
10983
|
{
|
|
10950
10984
|
"kind": "field",
|
|
10951
10985
|
"name": "textContrast",
|
|
10952
|
-
"type": {
|
|
10953
|
-
"text": "Partial<\n Record<SemanticColorName, { bg: SemanticColorName; targetLc: number }>\n >"
|
|
10954
|
-
},
|
|
10955
10986
|
"privacy": "private",
|
|
10956
10987
|
"static": true,
|
|
10957
10988
|
"readonly": true,
|
|
10958
|
-
"default": "
|
|
10959
|
-
"description": "
|
|
10989
|
+
"default": "TOKEN_PAIRINGS",
|
|
10990
|
+
"description": "Which ink sits on which surface, and at what APCA target.\n\nReads the single pairing table in the theme model rather than\ncarrying a second copy: an identical literal used to live here and\nin `compute-theme-properties.ts`, which is precisely the drift the\nrepository's adoption rules exist to catch. See ESP0164.",
|
|
10960
10991
|
"inheritedFrom": {
|
|
10961
10992
|
"name": "EspalierElementBase",
|
|
10962
10993
|
"module": "dist/shared/esp-element-base.js"
|
|
@@ -11014,7 +11045,7 @@
|
|
|
11014
11045
|
"privacy": "private",
|
|
11015
11046
|
"return": {
|
|
11016
11047
|
"type": {
|
|
11017
|
-
"text": "
|
|
11048
|
+
"text": "MappingSource"
|
|
11018
11049
|
}
|
|
11019
11050
|
},
|
|
11020
11051
|
"parameters": [
|
|
@@ -11027,7 +11058,7 @@
|
|
|
11027
11058
|
{
|
|
11028
11059
|
"name": "mappedSource",
|
|
11029
11060
|
"type": {
|
|
11030
|
-
"text": "
|
|
11061
|
+
"text": "MappingSource"
|
|
11031
11062
|
}
|
|
11032
11063
|
},
|
|
11033
11064
|
{
|
|
@@ -12641,14 +12672,11 @@
|
|
|
12641
12672
|
{
|
|
12642
12673
|
"kind": "field",
|
|
12643
12674
|
"name": "textContrast",
|
|
12644
|
-
"type": {
|
|
12645
|
-
"text": "Partial<\n Record<SemanticColorName, { bg: SemanticColorName; targetLc: number }>\n >"
|
|
12646
|
-
},
|
|
12647
12675
|
"privacy": "private",
|
|
12648
12676
|
"static": true,
|
|
12649
12677
|
"readonly": true,
|
|
12650
|
-
"default": "
|
|
12651
|
-
"description": "
|
|
12678
|
+
"default": "TOKEN_PAIRINGS",
|
|
12679
|
+
"description": "Which ink sits on which surface, and at what APCA target.\n\nReads the single pairing table in the theme model rather than\ncarrying a second copy: an identical literal used to live here and\nin `compute-theme-properties.ts`, which is precisely the drift the\nrepository's adoption rules exist to catch. See ESP0164.",
|
|
12652
12680
|
"inheritedFrom": {
|
|
12653
12681
|
"name": "EspalierElementBase",
|
|
12654
12682
|
"module": "dist/shared/esp-element-base.js"
|
|
@@ -12706,7 +12734,7 @@
|
|
|
12706
12734
|
"privacy": "private",
|
|
12707
12735
|
"return": {
|
|
12708
12736
|
"type": {
|
|
12709
|
-
"text": "
|
|
12737
|
+
"text": "MappingSource"
|
|
12710
12738
|
}
|
|
12711
12739
|
},
|
|
12712
12740
|
"parameters": [
|
|
@@ -12719,7 +12747,7 @@
|
|
|
12719
12747
|
{
|
|
12720
12748
|
"name": "mappedSource",
|
|
12721
12749
|
"type": {
|
|
12722
|
-
"text": "
|
|
12750
|
+
"text": "MappingSource"
|
|
12723
12751
|
}
|
|
12724
12752
|
},
|
|
12725
12753
|
{
|
|
@@ -13530,14 +13558,11 @@
|
|
|
13530
13558
|
{
|
|
13531
13559
|
"kind": "field",
|
|
13532
13560
|
"name": "textContrast",
|
|
13533
|
-
"type": {
|
|
13534
|
-
"text": "Partial<\n Record<SemanticColorName, { bg: SemanticColorName; targetLc: number }>\n >"
|
|
13535
|
-
},
|
|
13536
13561
|
"privacy": "private",
|
|
13537
13562
|
"static": true,
|
|
13538
13563
|
"readonly": true,
|
|
13539
|
-
"default": "
|
|
13540
|
-
"description": "
|
|
13564
|
+
"default": "TOKEN_PAIRINGS",
|
|
13565
|
+
"description": "Which ink sits on which surface, and at what APCA target.\n\nReads the single pairing table in the theme model rather than\ncarrying a second copy: an identical literal used to live here and\nin `compute-theme-properties.ts`, which is precisely the drift the\nrepository's adoption rules exist to catch. See ESP0164.",
|
|
13541
13566
|
"inheritedFrom": {
|
|
13542
13567
|
"name": "EspalierElementBase",
|
|
13543
13568
|
"module": "dist/shared/esp-element-base.js"
|
|
@@ -13595,7 +13620,7 @@
|
|
|
13595
13620
|
"privacy": "private",
|
|
13596
13621
|
"return": {
|
|
13597
13622
|
"type": {
|
|
13598
|
-
"text": "
|
|
13623
|
+
"text": "MappingSource"
|
|
13599
13624
|
}
|
|
13600
13625
|
},
|
|
13601
13626
|
"parameters": [
|
|
@@ -13608,7 +13633,7 @@
|
|
|
13608
13633
|
{
|
|
13609
13634
|
"name": "mappedSource",
|
|
13610
13635
|
"type": {
|
|
13611
|
-
"text": "
|
|
13636
|
+
"text": "MappingSource"
|
|
13612
13637
|
}
|
|
13613
13638
|
},
|
|
13614
13639
|
{
|
|
@@ -14325,14 +14350,11 @@
|
|
|
14325
14350
|
{
|
|
14326
14351
|
"kind": "field",
|
|
14327
14352
|
"name": "textContrast",
|
|
14328
|
-
"type": {
|
|
14329
|
-
"text": "Partial<\n Record<SemanticColorName, { bg: SemanticColorName; targetLc: number }>\n >"
|
|
14330
|
-
},
|
|
14331
14353
|
"privacy": "private",
|
|
14332
14354
|
"static": true,
|
|
14333
14355
|
"readonly": true,
|
|
14334
|
-
"default": "
|
|
14335
|
-
"description": "
|
|
14356
|
+
"default": "TOKEN_PAIRINGS",
|
|
14357
|
+
"description": "Which ink sits on which surface, and at what APCA target.\n\nReads the single pairing table in the theme model rather than\ncarrying a second copy: an identical literal used to live here and\nin `compute-theme-properties.ts`, which is precisely the drift the\nrepository's adoption rules exist to catch. See ESP0164.",
|
|
14336
14358
|
"inheritedFrom": {
|
|
14337
14359
|
"name": "EspalierElementBase",
|
|
14338
14360
|
"module": "dist/shared/esp-element-base.js"
|
|
@@ -14390,7 +14412,7 @@
|
|
|
14390
14412
|
"privacy": "private",
|
|
14391
14413
|
"return": {
|
|
14392
14414
|
"type": {
|
|
14393
|
-
"text": "
|
|
14415
|
+
"text": "MappingSource"
|
|
14394
14416
|
}
|
|
14395
14417
|
},
|
|
14396
14418
|
"parameters": [
|
|
@@ -14403,7 +14425,7 @@
|
|
|
14403
14425
|
{
|
|
14404
14426
|
"name": "mappedSource",
|
|
14405
14427
|
"type": {
|
|
14406
|
-
"text": "
|
|
14428
|
+
"text": "MappingSource"
|
|
14407
14429
|
}
|
|
14408
14430
|
},
|
|
14409
14431
|
{
|
|
@@ -15227,14 +15249,11 @@
|
|
|
15227
15249
|
{
|
|
15228
15250
|
"kind": "field",
|
|
15229
15251
|
"name": "textContrast",
|
|
15230
|
-
"type": {
|
|
15231
|
-
"text": "Partial<\n Record<SemanticColorName, { bg: SemanticColorName; targetLc: number }>\n >"
|
|
15232
|
-
},
|
|
15233
15252
|
"privacy": "private",
|
|
15234
15253
|
"static": true,
|
|
15235
15254
|
"readonly": true,
|
|
15236
|
-
"default": "
|
|
15237
|
-
"description": "
|
|
15255
|
+
"default": "TOKEN_PAIRINGS",
|
|
15256
|
+
"description": "Which ink sits on which surface, and at what APCA target.\n\nReads the single pairing table in the theme model rather than\ncarrying a second copy: an identical literal used to live here and\nin `compute-theme-properties.ts`, which is precisely the drift the\nrepository's adoption rules exist to catch. See ESP0164.",
|
|
15238
15257
|
"inheritedFrom": {
|
|
15239
15258
|
"name": "EspalierElementBase",
|
|
15240
15259
|
"module": "dist/shared/esp-element-base.js"
|
|
@@ -15292,7 +15311,7 @@
|
|
|
15292
15311
|
"privacy": "private",
|
|
15293
15312
|
"return": {
|
|
15294
15313
|
"type": {
|
|
15295
|
-
"text": "
|
|
15314
|
+
"text": "MappingSource"
|
|
15296
15315
|
}
|
|
15297
15316
|
},
|
|
15298
15317
|
"parameters": [
|
|
@@ -15305,7 +15324,7 @@
|
|
|
15305
15324
|
{
|
|
15306
15325
|
"name": "mappedSource",
|
|
15307
15326
|
"type": {
|
|
15308
|
-
"text": "
|
|
15327
|
+
"text": "MappingSource"
|
|
15309
15328
|
}
|
|
15310
15329
|
},
|
|
15311
15330
|
{
|
|
@@ -15948,14 +15967,11 @@
|
|
|
15948
15967
|
{
|
|
15949
15968
|
"kind": "field",
|
|
15950
15969
|
"name": "textContrast",
|
|
15951
|
-
"type": {
|
|
15952
|
-
"text": "Partial<\n Record<SemanticColorName, { bg: SemanticColorName; targetLc: number }>\n >"
|
|
15953
|
-
},
|
|
15954
15970
|
"privacy": "private",
|
|
15955
15971
|
"static": true,
|
|
15956
15972
|
"readonly": true,
|
|
15957
|
-
"default": "
|
|
15958
|
-
"description": "
|
|
15973
|
+
"default": "TOKEN_PAIRINGS",
|
|
15974
|
+
"description": "Which ink sits on which surface, and at what APCA target.\n\nReads the single pairing table in the theme model rather than\ncarrying a second copy: an identical literal used to live here and\nin `compute-theme-properties.ts`, which is precisely the drift the\nrepository's adoption rules exist to catch. See ESP0164.",
|
|
15959
15975
|
"inheritedFrom": {
|
|
15960
15976
|
"name": "EspalierElementBase",
|
|
15961
15977
|
"module": "dist/shared/esp-element-base.js"
|
|
@@ -16013,7 +16029,7 @@
|
|
|
16013
16029
|
"privacy": "private",
|
|
16014
16030
|
"return": {
|
|
16015
16031
|
"type": {
|
|
16016
|
-
"text": "
|
|
16032
|
+
"text": "MappingSource"
|
|
16017
16033
|
}
|
|
16018
16034
|
},
|
|
16019
16035
|
"parameters": [
|
|
@@ -16026,7 +16042,7 @@
|
|
|
16026
16042
|
{
|
|
16027
16043
|
"name": "mappedSource",
|
|
16028
16044
|
"type": {
|
|
16029
|
-
"text": "
|
|
16045
|
+
"text": "MappingSource"
|
|
16030
16046
|
}
|
|
16031
16047
|
},
|
|
16032
16048
|
{
|
|
@@ -17265,14 +17281,11 @@
|
|
|
17265
17281
|
{
|
|
17266
17282
|
"kind": "field",
|
|
17267
17283
|
"name": "textContrast",
|
|
17268
|
-
"type": {
|
|
17269
|
-
"text": "Partial<\n Record<SemanticColorName, { bg: SemanticColorName; targetLc: number }>\n >"
|
|
17270
|
-
},
|
|
17271
17284
|
"privacy": "private",
|
|
17272
17285
|
"static": true,
|
|
17273
17286
|
"readonly": true,
|
|
17274
|
-
"default": "
|
|
17275
|
-
"description": "
|
|
17287
|
+
"default": "TOKEN_PAIRINGS",
|
|
17288
|
+
"description": "Which ink sits on which surface, and at what APCA target.\n\nReads the single pairing table in the theme model rather than\ncarrying a second copy: an identical literal used to live here and\nin `compute-theme-properties.ts`, which is precisely the drift the\nrepository's adoption rules exist to catch. See ESP0164.",
|
|
17276
17289
|
"inheritedFrom": {
|
|
17277
17290
|
"name": "EspalierElementBase",
|
|
17278
17291
|
"module": "dist/shared/esp-element-base.js"
|
|
@@ -17330,7 +17343,7 @@
|
|
|
17330
17343
|
"privacy": "private",
|
|
17331
17344
|
"return": {
|
|
17332
17345
|
"type": {
|
|
17333
|
-
"text": "
|
|
17346
|
+
"text": "MappingSource"
|
|
17334
17347
|
}
|
|
17335
17348
|
},
|
|
17336
17349
|
"parameters": [
|
|
@@ -17343,7 +17356,7 @@
|
|
|
17343
17356
|
{
|
|
17344
17357
|
"name": "mappedSource",
|
|
17345
17358
|
"type": {
|
|
17346
|
-
"text": "
|
|
17359
|
+
"text": "MappingSource"
|
|
17347
17360
|
}
|
|
17348
17361
|
},
|
|
17349
17362
|
{
|
|
@@ -18182,14 +18195,11 @@
|
|
|
18182
18195
|
{
|
|
18183
18196
|
"kind": "field",
|
|
18184
18197
|
"name": "textContrast",
|
|
18185
|
-
"type": {
|
|
18186
|
-
"text": "Partial<\n Record<SemanticColorName, { bg: SemanticColorName; targetLc: number }>\n >"
|
|
18187
|
-
},
|
|
18188
18198
|
"privacy": "private",
|
|
18189
18199
|
"static": true,
|
|
18190
18200
|
"readonly": true,
|
|
18191
|
-
"default": "
|
|
18192
|
-
"description": "
|
|
18201
|
+
"default": "TOKEN_PAIRINGS",
|
|
18202
|
+
"description": "Which ink sits on which surface, and at what APCA target.\n\nReads the single pairing table in the theme model rather than\ncarrying a second copy: an identical literal used to live here and\nin `compute-theme-properties.ts`, which is precisely the drift the\nrepository's adoption rules exist to catch. See ESP0164.",
|
|
18193
18203
|
"inheritedFrom": {
|
|
18194
18204
|
"name": "EspalierElementBase",
|
|
18195
18205
|
"module": "dist/shared/esp-element-base.js"
|
|
@@ -18247,7 +18257,7 @@
|
|
|
18247
18257
|
"privacy": "private",
|
|
18248
18258
|
"return": {
|
|
18249
18259
|
"type": {
|
|
18250
|
-
"text": "
|
|
18260
|
+
"text": "MappingSource"
|
|
18251
18261
|
}
|
|
18252
18262
|
},
|
|
18253
18263
|
"parameters": [
|
|
@@ -18260,7 +18270,7 @@
|
|
|
18260
18270
|
{
|
|
18261
18271
|
"name": "mappedSource",
|
|
18262
18272
|
"type": {
|
|
18263
|
-
"text": "
|
|
18273
|
+
"text": "MappingSource"
|
|
18264
18274
|
}
|
|
18265
18275
|
},
|
|
18266
18276
|
{
|
|
@@ -19060,14 +19070,11 @@
|
|
|
19060
19070
|
{
|
|
19061
19071
|
"kind": "field",
|
|
19062
19072
|
"name": "textContrast",
|
|
19063
|
-
"type": {
|
|
19064
|
-
"text": "Partial<\n Record<SemanticColorName, { bg: SemanticColorName; targetLc: number }>\n >"
|
|
19065
|
-
},
|
|
19066
19073
|
"privacy": "private",
|
|
19067
19074
|
"static": true,
|
|
19068
19075
|
"readonly": true,
|
|
19069
|
-
"default": "
|
|
19070
|
-
"description": "
|
|
19076
|
+
"default": "TOKEN_PAIRINGS",
|
|
19077
|
+
"description": "Which ink sits on which surface, and at what APCA target.\n\nReads the single pairing table in the theme model rather than\ncarrying a second copy: an identical literal used to live here and\nin `compute-theme-properties.ts`, which is precisely the drift the\nrepository's adoption rules exist to catch. See ESP0164.",
|
|
19071
19078
|
"inheritedFrom": {
|
|
19072
19079
|
"name": "EspalierElementBase",
|
|
19073
19080
|
"module": "dist/shared/esp-element-base.js"
|
|
@@ -19125,7 +19132,7 @@
|
|
|
19125
19132
|
"privacy": "private",
|
|
19126
19133
|
"return": {
|
|
19127
19134
|
"type": {
|
|
19128
|
-
"text": "
|
|
19135
|
+
"text": "MappingSource"
|
|
19129
19136
|
}
|
|
19130
19137
|
},
|
|
19131
19138
|
"parameters": [
|
|
@@ -19138,7 +19145,7 @@
|
|
|
19138
19145
|
{
|
|
19139
19146
|
"name": "mappedSource",
|
|
19140
19147
|
"type": {
|
|
19141
|
-
"text": "
|
|
19148
|
+
"text": "MappingSource"
|
|
19142
19149
|
}
|
|
19143
19150
|
},
|
|
19144
19151
|
{
|
|
@@ -19853,14 +19860,11 @@
|
|
|
19853
19860
|
{
|
|
19854
19861
|
"kind": "field",
|
|
19855
19862
|
"name": "textContrast",
|
|
19856
|
-
"type": {
|
|
19857
|
-
"text": "Partial<\n Record<SemanticColorName, { bg: SemanticColorName; targetLc: number }>\n >"
|
|
19858
|
-
},
|
|
19859
19863
|
"privacy": "private",
|
|
19860
19864
|
"static": true,
|
|
19861
19865
|
"readonly": true,
|
|
19862
|
-
"default": "
|
|
19863
|
-
"description": "
|
|
19866
|
+
"default": "TOKEN_PAIRINGS",
|
|
19867
|
+
"description": "Which ink sits on which surface, and at what APCA target.\n\nReads the single pairing table in the theme model rather than\ncarrying a second copy: an identical literal used to live here and\nin `compute-theme-properties.ts`, which is precisely the drift the\nrepository's adoption rules exist to catch. See ESP0164.",
|
|
19864
19868
|
"inheritedFrom": {
|
|
19865
19869
|
"name": "EspalierElementBase",
|
|
19866
19870
|
"module": "dist/shared/esp-element-base.js"
|
|
@@ -19918,7 +19922,7 @@
|
|
|
19918
19922
|
"privacy": "private",
|
|
19919
19923
|
"return": {
|
|
19920
19924
|
"type": {
|
|
19921
|
-
"text": "
|
|
19925
|
+
"text": "MappingSource"
|
|
19922
19926
|
}
|
|
19923
19927
|
},
|
|
19924
19928
|
"parameters": [
|
|
@@ -19931,7 +19935,7 @@
|
|
|
19931
19935
|
{
|
|
19932
19936
|
"name": "mappedSource",
|
|
19933
19937
|
"type": {
|
|
19934
|
-
"text": "
|
|
19938
|
+
"text": "MappingSource"
|
|
19935
19939
|
}
|
|
19936
19940
|
},
|
|
19937
19941
|
{
|
|
@@ -20472,14 +20476,11 @@
|
|
|
20472
20476
|
{
|
|
20473
20477
|
"kind": "field",
|
|
20474
20478
|
"name": "textContrast",
|
|
20475
|
-
"type": {
|
|
20476
|
-
"text": "Partial<\n Record<SemanticColorName, { bg: SemanticColorName; targetLc: number }>\n >"
|
|
20477
|
-
},
|
|
20478
20479
|
"privacy": "private",
|
|
20479
20480
|
"static": true,
|
|
20480
20481
|
"readonly": true,
|
|
20481
|
-
"default": "
|
|
20482
|
-
"description": "
|
|
20482
|
+
"default": "TOKEN_PAIRINGS",
|
|
20483
|
+
"description": "Which ink sits on which surface, and at what APCA target.\n\nReads the single pairing table in the theme model rather than\ncarrying a second copy: an identical literal used to live here and\nin `compute-theme-properties.ts`, which is precisely the drift the\nrepository's adoption rules exist to catch. See ESP0164.",
|
|
20483
20484
|
"inheritedFrom": {
|
|
20484
20485
|
"name": "EspalierElementBase",
|
|
20485
20486
|
"module": "dist/shared/esp-element-base.js"
|
|
@@ -20537,7 +20538,7 @@
|
|
|
20537
20538
|
"privacy": "private",
|
|
20538
20539
|
"return": {
|
|
20539
20540
|
"type": {
|
|
20540
|
-
"text": "
|
|
20541
|
+
"text": "MappingSource"
|
|
20541
20542
|
}
|
|
20542
20543
|
},
|
|
20543
20544
|
"parameters": [
|
|
@@ -20550,7 +20551,7 @@
|
|
|
20550
20551
|
{
|
|
20551
20552
|
"name": "mappedSource",
|
|
20552
20553
|
"type": {
|
|
20553
|
-
"text": "
|
|
20554
|
+
"text": "MappingSource"
|
|
20554
20555
|
}
|
|
20555
20556
|
},
|
|
20556
20557
|
{
|
|
@@ -21503,14 +21504,11 @@
|
|
|
21503
21504
|
{
|
|
21504
21505
|
"kind": "field",
|
|
21505
21506
|
"name": "textContrast",
|
|
21506
|
-
"type": {
|
|
21507
|
-
"text": "Partial<\n Record<SemanticColorName, { bg: SemanticColorName; targetLc: number }>\n >"
|
|
21508
|
-
},
|
|
21509
21507
|
"privacy": "private",
|
|
21510
21508
|
"static": true,
|
|
21511
21509
|
"readonly": true,
|
|
21512
|
-
"default": "
|
|
21513
|
-
"description": "
|
|
21510
|
+
"default": "TOKEN_PAIRINGS",
|
|
21511
|
+
"description": "Which ink sits on which surface, and at what APCA target.\n\nReads the single pairing table in the theme model rather than\ncarrying a second copy: an identical literal used to live here and\nin `compute-theme-properties.ts`, which is precisely the drift the\nrepository's adoption rules exist to catch. See ESP0164.",
|
|
21514
21512
|
"inheritedFrom": {
|
|
21515
21513
|
"name": "EspalierElementBase",
|
|
21516
21514
|
"module": "dist/shared/esp-element-base.js"
|
|
@@ -21568,7 +21566,7 @@
|
|
|
21568
21566
|
"privacy": "private",
|
|
21569
21567
|
"return": {
|
|
21570
21568
|
"type": {
|
|
21571
|
-
"text": "
|
|
21569
|
+
"text": "MappingSource"
|
|
21572
21570
|
}
|
|
21573
21571
|
},
|
|
21574
21572
|
"parameters": [
|
|
@@ -21581,7 +21579,7 @@
|
|
|
21581
21579
|
{
|
|
21582
21580
|
"name": "mappedSource",
|
|
21583
21581
|
"type": {
|
|
21584
|
-
"text": "
|
|
21582
|
+
"text": "MappingSource"
|
|
21585
21583
|
}
|
|
21586
21584
|
},
|
|
21587
21585
|
{
|
|
@@ -24429,14 +24427,11 @@
|
|
|
24429
24427
|
{
|
|
24430
24428
|
"kind": "field",
|
|
24431
24429
|
"name": "textContrast",
|
|
24432
|
-
"type": {
|
|
24433
|
-
"text": "Partial<\n Record<SemanticColorName, { bg: SemanticColorName; targetLc: number }>\n >"
|
|
24434
|
-
},
|
|
24435
24430
|
"privacy": "private",
|
|
24436
24431
|
"static": true,
|
|
24437
24432
|
"readonly": true,
|
|
24438
|
-
"default": "
|
|
24439
|
-
"description": "
|
|
24433
|
+
"default": "TOKEN_PAIRINGS",
|
|
24434
|
+
"description": "Which ink sits on which surface, and at what APCA target.\n\nReads the single pairing table in the theme model rather than\ncarrying a second copy: an identical literal used to live here and\nin `compute-theme-properties.ts`, which is precisely the drift the\nrepository's adoption rules exist to catch. See ESP0164.",
|
|
24440
24435
|
"inheritedFrom": {
|
|
24441
24436
|
"name": "EspalierElementBase",
|
|
24442
24437
|
"module": "dist/shared/esp-element-base.js"
|
|
@@ -24494,7 +24489,7 @@
|
|
|
24494
24489
|
"privacy": "private",
|
|
24495
24490
|
"return": {
|
|
24496
24491
|
"type": {
|
|
24497
|
-
"text": "
|
|
24492
|
+
"text": "MappingSource"
|
|
24498
24493
|
}
|
|
24499
24494
|
},
|
|
24500
24495
|
"parameters": [
|
|
@@ -24507,7 +24502,7 @@
|
|
|
24507
24502
|
{
|
|
24508
24503
|
"name": "mappedSource",
|
|
24509
24504
|
"type": {
|
|
24510
|
-
"text": "
|
|
24505
|
+
"text": "MappingSource"
|
|
24511
24506
|
}
|
|
24512
24507
|
},
|
|
24513
24508
|
{
|
|
@@ -26190,14 +26185,11 @@
|
|
|
26190
26185
|
{
|
|
26191
26186
|
"kind": "field",
|
|
26192
26187
|
"name": "textContrast",
|
|
26193
|
-
"type": {
|
|
26194
|
-
"text": "Partial<\n Record<SemanticColorName, { bg: SemanticColorName; targetLc: number }>\n >"
|
|
26195
|
-
},
|
|
26196
26188
|
"privacy": "private",
|
|
26197
26189
|
"static": true,
|
|
26198
26190
|
"readonly": true,
|
|
26199
|
-
"default": "
|
|
26200
|
-
"description": "
|
|
26191
|
+
"default": "TOKEN_PAIRINGS",
|
|
26192
|
+
"description": "Which ink sits on which surface, and at what APCA target.\n\nReads the single pairing table in the theme model rather than\ncarrying a second copy: an identical literal used to live here and\nin `compute-theme-properties.ts`, which is precisely the drift the\nrepository's adoption rules exist to catch. See ESP0164.",
|
|
26201
26193
|
"inheritedFrom": {
|
|
26202
26194
|
"name": "EspalierElementBase",
|
|
26203
26195
|
"module": "dist/shared/esp-element-base.js"
|
|
@@ -26255,7 +26247,7 @@
|
|
|
26255
26247
|
"privacy": "private",
|
|
26256
26248
|
"return": {
|
|
26257
26249
|
"type": {
|
|
26258
|
-
"text": "
|
|
26250
|
+
"text": "MappingSource"
|
|
26259
26251
|
}
|
|
26260
26252
|
},
|
|
26261
26253
|
"parameters": [
|
|
@@ -26268,7 +26260,7 @@
|
|
|
26268
26260
|
{
|
|
26269
26261
|
"name": "mappedSource",
|
|
26270
26262
|
"type": {
|
|
26271
|
-
"text": "
|
|
26263
|
+
"text": "MappingSource"
|
|
26272
26264
|
}
|
|
26273
26265
|
},
|
|
26274
26266
|
{
|
|
@@ -27107,14 +27099,11 @@
|
|
|
27107
27099
|
{
|
|
27108
27100
|
"kind": "field",
|
|
27109
27101
|
"name": "textContrast",
|
|
27110
|
-
"type": {
|
|
27111
|
-
"text": "Partial<\n Record<SemanticColorName, { bg: SemanticColorName; targetLc: number }>\n >"
|
|
27112
|
-
},
|
|
27113
27102
|
"privacy": "private",
|
|
27114
27103
|
"static": true,
|
|
27115
27104
|
"readonly": true,
|
|
27116
|
-
"default": "
|
|
27117
|
-
"description": "
|
|
27105
|
+
"default": "TOKEN_PAIRINGS",
|
|
27106
|
+
"description": "Which ink sits on which surface, and at what APCA target.\n\nReads the single pairing table in the theme model rather than\ncarrying a second copy: an identical literal used to live here and\nin `compute-theme-properties.ts`, which is precisely the drift the\nrepository's adoption rules exist to catch. See ESP0164.",
|
|
27118
27107
|
"inheritedFrom": {
|
|
27119
27108
|
"name": "EspalierElementBase",
|
|
27120
27109
|
"module": "dist/shared/esp-element-base.js"
|
|
@@ -27172,7 +27161,7 @@
|
|
|
27172
27161
|
"privacy": "private",
|
|
27173
27162
|
"return": {
|
|
27174
27163
|
"type": {
|
|
27175
|
-
"text": "
|
|
27164
|
+
"text": "MappingSource"
|
|
27176
27165
|
}
|
|
27177
27166
|
},
|
|
27178
27167
|
"parameters": [
|
|
@@ -27185,7 +27174,7 @@
|
|
|
27185
27174
|
{
|
|
27186
27175
|
"name": "mappedSource",
|
|
27187
27176
|
"type": {
|
|
27188
|
-
"text": "
|
|
27177
|
+
"text": "MappingSource"
|
|
27189
27178
|
}
|
|
27190
27179
|
},
|
|
27191
27180
|
{
|
|
@@ -28040,14 +28029,11 @@
|
|
|
28040
28029
|
{
|
|
28041
28030
|
"kind": "field",
|
|
28042
28031
|
"name": "textContrast",
|
|
28043
|
-
"type": {
|
|
28044
|
-
"text": "Partial<\n Record<SemanticColorName, { bg: SemanticColorName; targetLc: number }>\n >"
|
|
28045
|
-
},
|
|
28046
28032
|
"privacy": "private",
|
|
28047
28033
|
"static": true,
|
|
28048
28034
|
"readonly": true,
|
|
28049
|
-
"default": "
|
|
28050
|
-
"description": "
|
|
28035
|
+
"default": "TOKEN_PAIRINGS",
|
|
28036
|
+
"description": "Which ink sits on which surface, and at what APCA target.\n\nReads the single pairing table in the theme model rather than\ncarrying a second copy: an identical literal used to live here and\nin `compute-theme-properties.ts`, which is precisely the drift the\nrepository's adoption rules exist to catch. See ESP0164.",
|
|
28051
28037
|
"inheritedFrom": {
|
|
28052
28038
|
"name": "EspalierElementBase",
|
|
28053
28039
|
"module": "dist/shared/esp-element-base.js"
|
|
@@ -28105,7 +28091,7 @@
|
|
|
28105
28091
|
"privacy": "private",
|
|
28106
28092
|
"return": {
|
|
28107
28093
|
"type": {
|
|
28108
|
-
"text": "
|
|
28094
|
+
"text": "MappingSource"
|
|
28109
28095
|
}
|
|
28110
28096
|
},
|
|
28111
28097
|
"parameters": [
|
|
@@ -28118,7 +28104,7 @@
|
|
|
28118
28104
|
{
|
|
28119
28105
|
"name": "mappedSource",
|
|
28120
28106
|
"type": {
|
|
28121
|
-
"text": "
|
|
28107
|
+
"text": "MappingSource"
|
|
28122
28108
|
}
|
|
28123
28109
|
},
|
|
28124
28110
|
{
|
|
@@ -29366,14 +29352,11 @@
|
|
|
29366
29352
|
{
|
|
29367
29353
|
"kind": "field",
|
|
29368
29354
|
"name": "textContrast",
|
|
29369
|
-
"type": {
|
|
29370
|
-
"text": "Partial<\n Record<SemanticColorName, { bg: SemanticColorName; targetLc: number }>\n >"
|
|
29371
|
-
},
|
|
29372
29355
|
"privacy": "private",
|
|
29373
29356
|
"static": true,
|
|
29374
29357
|
"readonly": true,
|
|
29375
|
-
"default": "
|
|
29376
|
-
"description": "
|
|
29358
|
+
"default": "TOKEN_PAIRINGS",
|
|
29359
|
+
"description": "Which ink sits on which surface, and at what APCA target.\n\nReads the single pairing table in the theme model rather than\ncarrying a second copy: an identical literal used to live here and\nin `compute-theme-properties.ts`, which is precisely the drift the\nrepository's adoption rules exist to catch. See ESP0164.",
|
|
29377
29360
|
"inheritedFrom": {
|
|
29378
29361
|
"name": "EspalierElementBase",
|
|
29379
29362
|
"module": "dist/shared/esp-element-base.js"
|
|
@@ -29431,7 +29414,7 @@
|
|
|
29431
29414
|
"privacy": "private",
|
|
29432
29415
|
"return": {
|
|
29433
29416
|
"type": {
|
|
29434
|
-
"text": "
|
|
29417
|
+
"text": "MappingSource"
|
|
29435
29418
|
}
|
|
29436
29419
|
},
|
|
29437
29420
|
"parameters": [
|
|
@@ -29444,7 +29427,7 @@
|
|
|
29444
29427
|
{
|
|
29445
29428
|
"name": "mappedSource",
|
|
29446
29429
|
"type": {
|
|
29447
|
-
"text": "
|
|
29430
|
+
"text": "MappingSource"
|
|
29448
29431
|
}
|
|
29449
29432
|
},
|
|
29450
29433
|
{
|
|
@@ -30474,14 +30457,11 @@
|
|
|
30474
30457
|
{
|
|
30475
30458
|
"kind": "field",
|
|
30476
30459
|
"name": "textContrast",
|
|
30477
|
-
"type": {
|
|
30478
|
-
"text": "Partial<\n Record<SemanticColorName, { bg: SemanticColorName; targetLc: number }>\n >"
|
|
30479
|
-
},
|
|
30480
30460
|
"privacy": "private",
|
|
30481
30461
|
"static": true,
|
|
30482
30462
|
"readonly": true,
|
|
30483
|
-
"default": "
|
|
30484
|
-
"description": "
|
|
30463
|
+
"default": "TOKEN_PAIRINGS",
|
|
30464
|
+
"description": "Which ink sits on which surface, and at what APCA target.\n\nReads the single pairing table in the theme model rather than\ncarrying a second copy: an identical literal used to live here and\nin `compute-theme-properties.ts`, which is precisely the drift the\nrepository's adoption rules exist to catch. See ESP0164.",
|
|
30485
30465
|
"inheritedFrom": {
|
|
30486
30466
|
"name": "EspalierElementBase",
|
|
30487
30467
|
"module": "dist/shared/esp-element-base.js"
|
|
@@ -30539,7 +30519,7 @@
|
|
|
30539
30519
|
"privacy": "private",
|
|
30540
30520
|
"return": {
|
|
30541
30521
|
"type": {
|
|
30542
|
-
"text": "
|
|
30522
|
+
"text": "MappingSource"
|
|
30543
30523
|
}
|
|
30544
30524
|
},
|
|
30545
30525
|
"parameters": [
|
|
@@ -30552,7 +30532,7 @@
|
|
|
30552
30532
|
{
|
|
30553
30533
|
"name": "mappedSource",
|
|
30554
30534
|
"type": {
|
|
30555
|
-
"text": "
|
|
30535
|
+
"text": "MappingSource"
|
|
30556
30536
|
}
|
|
30557
30537
|
},
|
|
30558
30538
|
{
|
|
@@ -31654,14 +31634,11 @@
|
|
|
31654
31634
|
{
|
|
31655
31635
|
"kind": "field",
|
|
31656
31636
|
"name": "textContrast",
|
|
31657
|
-
"type": {
|
|
31658
|
-
"text": "Partial<\n Record<SemanticColorName, { bg: SemanticColorName; targetLc: number }>\n >"
|
|
31659
|
-
},
|
|
31660
31637
|
"privacy": "private",
|
|
31661
31638
|
"static": true,
|
|
31662
31639
|
"readonly": true,
|
|
31663
|
-
"default": "
|
|
31664
|
-
"description": "
|
|
31640
|
+
"default": "TOKEN_PAIRINGS",
|
|
31641
|
+
"description": "Which ink sits on which surface, and at what APCA target.\n\nReads the single pairing table in the theme model rather than\ncarrying a second copy: an identical literal used to live here and\nin `compute-theme-properties.ts`, which is precisely the drift the\nrepository's adoption rules exist to catch. See ESP0164.",
|
|
31665
31642
|
"inheritedFrom": {
|
|
31666
31643
|
"name": "EspalierElementBase",
|
|
31667
31644
|
"module": "dist/shared/esp-element-base.js"
|
|
@@ -31719,7 +31696,7 @@
|
|
|
31719
31696
|
"privacy": "private",
|
|
31720
31697
|
"return": {
|
|
31721
31698
|
"type": {
|
|
31722
|
-
"text": "
|
|
31699
|
+
"text": "MappingSource"
|
|
31723
31700
|
}
|
|
31724
31701
|
},
|
|
31725
31702
|
"parameters": [
|
|
@@ -31732,7 +31709,7 @@
|
|
|
31732
31709
|
{
|
|
31733
31710
|
"name": "mappedSource",
|
|
31734
31711
|
"type": {
|
|
31735
|
-
"text": "
|
|
31712
|
+
"text": "MappingSource"
|
|
31736
31713
|
}
|
|
31737
31714
|
},
|
|
31738
31715
|
{
|
|
@@ -32461,14 +32438,11 @@
|
|
|
32461
32438
|
{
|
|
32462
32439
|
"kind": "field",
|
|
32463
32440
|
"name": "textContrast",
|
|
32464
|
-
"type": {
|
|
32465
|
-
"text": "Partial<\n Record<SemanticColorName, { bg: SemanticColorName; targetLc: number }>\n >"
|
|
32466
|
-
},
|
|
32467
32441
|
"privacy": "private",
|
|
32468
32442
|
"static": true,
|
|
32469
32443
|
"readonly": true,
|
|
32470
|
-
"default": "
|
|
32471
|
-
"description": "
|
|
32444
|
+
"default": "TOKEN_PAIRINGS",
|
|
32445
|
+
"description": "Which ink sits on which surface, and at what APCA target.\n\nReads the single pairing table in the theme model rather than\ncarrying a second copy: an identical literal used to live here and\nin `compute-theme-properties.ts`, which is precisely the drift the\nrepository's adoption rules exist to catch. See ESP0164.",
|
|
32472
32446
|
"inheritedFrom": {
|
|
32473
32447
|
"name": "EspalierElementBase",
|
|
32474
32448
|
"module": "dist/shared/esp-element-base.js"
|
|
@@ -32526,7 +32500,7 @@
|
|
|
32526
32500
|
"privacy": "private",
|
|
32527
32501
|
"return": {
|
|
32528
32502
|
"type": {
|
|
32529
|
-
"text": "
|
|
32503
|
+
"text": "MappingSource"
|
|
32530
32504
|
}
|
|
32531
32505
|
},
|
|
32532
32506
|
"parameters": [
|
|
@@ -32539,7 +32513,7 @@
|
|
|
32539
32513
|
{
|
|
32540
32514
|
"name": "mappedSource",
|
|
32541
32515
|
"type": {
|
|
32542
|
-
"text": "
|
|
32516
|
+
"text": "MappingSource"
|
|
32543
32517
|
}
|
|
32544
32518
|
},
|
|
32545
32519
|
{
|
|
@@ -33829,14 +33803,11 @@
|
|
|
33829
33803
|
{
|
|
33830
33804
|
"kind": "field",
|
|
33831
33805
|
"name": "textContrast",
|
|
33832
|
-
"type": {
|
|
33833
|
-
"text": "Partial<\n Record<SemanticColorName, { bg: SemanticColorName; targetLc: number }>\n >"
|
|
33834
|
-
},
|
|
33835
33806
|
"privacy": "private",
|
|
33836
33807
|
"static": true,
|
|
33837
33808
|
"readonly": true,
|
|
33838
|
-
"default": "
|
|
33839
|
-
"description": "
|
|
33809
|
+
"default": "TOKEN_PAIRINGS",
|
|
33810
|
+
"description": "Which ink sits on which surface, and at what APCA target.\n\nReads the single pairing table in the theme model rather than\ncarrying a second copy: an identical literal used to live here and\nin `compute-theme-properties.ts`, which is precisely the drift the\nrepository's adoption rules exist to catch. See ESP0164.",
|
|
33840
33811
|
"inheritedFrom": {
|
|
33841
33812
|
"name": "EspalierElementBase",
|
|
33842
33813
|
"module": "dist/shared/esp-element-base.js"
|
|
@@ -33894,7 +33865,7 @@
|
|
|
33894
33865
|
"privacy": "private",
|
|
33895
33866
|
"return": {
|
|
33896
33867
|
"type": {
|
|
33897
|
-
"text": "
|
|
33868
|
+
"text": "MappingSource"
|
|
33898
33869
|
}
|
|
33899
33870
|
},
|
|
33900
33871
|
"parameters": [
|
|
@@ -33907,7 +33878,7 @@
|
|
|
33907
33878
|
{
|
|
33908
33879
|
"name": "mappedSource",
|
|
33909
33880
|
"type": {
|
|
33910
|
-
"text": "
|
|
33881
|
+
"text": "MappingSource"
|
|
33911
33882
|
}
|
|
33912
33883
|
},
|
|
33913
33884
|
{
|
|
@@ -35504,14 +35475,11 @@
|
|
|
35504
35475
|
{
|
|
35505
35476
|
"kind": "field",
|
|
35506
35477
|
"name": "textContrast",
|
|
35507
|
-
"type": {
|
|
35508
|
-
"text": "Partial<\n Record<SemanticColorName, { bg: SemanticColorName; targetLc: number }>\n >"
|
|
35509
|
-
},
|
|
35510
35478
|
"privacy": "private",
|
|
35511
35479
|
"static": true,
|
|
35512
35480
|
"readonly": true,
|
|
35513
|
-
"default": "
|
|
35514
|
-
"description": "
|
|
35481
|
+
"default": "TOKEN_PAIRINGS",
|
|
35482
|
+
"description": "Which ink sits on which surface, and at what APCA target.\n\nReads the single pairing table in the theme model rather than\ncarrying a second copy: an identical literal used to live here and\nin `compute-theme-properties.ts`, which is precisely the drift the\nrepository's adoption rules exist to catch. See ESP0164.",
|
|
35515
35483
|
"inheritedFrom": {
|
|
35516
35484
|
"name": "EspalierElementBase",
|
|
35517
35485
|
"module": "dist/shared/esp-element-base.js"
|
|
@@ -35569,7 +35537,7 @@
|
|
|
35569
35537
|
"privacy": "private",
|
|
35570
35538
|
"return": {
|
|
35571
35539
|
"type": {
|
|
35572
|
-
"text": "
|
|
35540
|
+
"text": "MappingSource"
|
|
35573
35541
|
}
|
|
35574
35542
|
},
|
|
35575
35543
|
"parameters": [
|
|
@@ -35582,7 +35550,7 @@
|
|
|
35582
35550
|
{
|
|
35583
35551
|
"name": "mappedSource",
|
|
35584
35552
|
"type": {
|
|
35585
|
-
"text": "
|
|
35553
|
+
"text": "MappingSource"
|
|
35586
35554
|
}
|
|
35587
35555
|
},
|
|
35588
35556
|
{
|
|
@@ -36585,14 +36553,11 @@
|
|
|
36585
36553
|
{
|
|
36586
36554
|
"kind": "field",
|
|
36587
36555
|
"name": "textContrast",
|
|
36588
|
-
"type": {
|
|
36589
|
-
"text": "Partial<\n Record<SemanticColorName, { bg: SemanticColorName; targetLc: number }>\n >"
|
|
36590
|
-
},
|
|
36591
36556
|
"privacy": "private",
|
|
36592
36557
|
"static": true,
|
|
36593
36558
|
"readonly": true,
|
|
36594
|
-
"default": "
|
|
36595
|
-
"description": "
|
|
36559
|
+
"default": "TOKEN_PAIRINGS",
|
|
36560
|
+
"description": "Which ink sits on which surface, and at what APCA target.\n\nReads the single pairing table in the theme model rather than\ncarrying a second copy: an identical literal used to live here and\nin `compute-theme-properties.ts`, which is precisely the drift the\nrepository's adoption rules exist to catch. See ESP0164.",
|
|
36596
36561
|
"inheritedFrom": {
|
|
36597
36562
|
"name": "EspalierElementBase",
|
|
36598
36563
|
"module": "dist/shared/esp-element-base.js"
|
|
@@ -36650,7 +36615,7 @@
|
|
|
36650
36615
|
"privacy": "private",
|
|
36651
36616
|
"return": {
|
|
36652
36617
|
"type": {
|
|
36653
|
-
"text": "
|
|
36618
|
+
"text": "MappingSource"
|
|
36654
36619
|
}
|
|
36655
36620
|
},
|
|
36656
36621
|
"parameters": [
|
|
@@ -36663,7 +36628,7 @@
|
|
|
36663
36628
|
{
|
|
36664
36629
|
"name": "mappedSource",
|
|
36665
36630
|
"type": {
|
|
36666
|
-
"text": "
|
|
36631
|
+
"text": "MappingSource"
|
|
36667
36632
|
}
|
|
36668
36633
|
},
|
|
36669
36634
|
{
|
|
@@ -37435,14 +37400,11 @@
|
|
|
37435
37400
|
{
|
|
37436
37401
|
"kind": "field",
|
|
37437
37402
|
"name": "textContrast",
|
|
37438
|
-
"type": {
|
|
37439
|
-
"text": "Partial<\n Record<SemanticColorName, { bg: SemanticColorName; targetLc: number }>\n >"
|
|
37440
|
-
},
|
|
37441
37403
|
"privacy": "private",
|
|
37442
37404
|
"static": true,
|
|
37443
37405
|
"readonly": true,
|
|
37444
|
-
"default": "
|
|
37445
|
-
"description": "
|
|
37406
|
+
"default": "TOKEN_PAIRINGS",
|
|
37407
|
+
"description": "Which ink sits on which surface, and at what APCA target.\n\nReads the single pairing table in the theme model rather than\ncarrying a second copy: an identical literal used to live here and\nin `compute-theme-properties.ts`, which is precisely the drift the\nrepository's adoption rules exist to catch. See ESP0164.",
|
|
37446
37408
|
"inheritedFrom": {
|
|
37447
37409
|
"name": "EspalierElementBase",
|
|
37448
37410
|
"module": "dist/shared/esp-element-base.js"
|
|
@@ -37500,7 +37462,7 @@
|
|
|
37500
37462
|
"privacy": "private",
|
|
37501
37463
|
"return": {
|
|
37502
37464
|
"type": {
|
|
37503
|
-
"text": "
|
|
37465
|
+
"text": "MappingSource"
|
|
37504
37466
|
}
|
|
37505
37467
|
},
|
|
37506
37468
|
"parameters": [
|
|
@@ -37513,7 +37475,7 @@
|
|
|
37513
37475
|
{
|
|
37514
37476
|
"name": "mappedSource",
|
|
37515
37477
|
"type": {
|
|
37516
|
-
"text": "
|
|
37478
|
+
"text": "MappingSource"
|
|
37517
37479
|
}
|
|
37518
37480
|
},
|
|
37519
37481
|
{
|
|
@@ -38735,14 +38697,11 @@
|
|
|
38735
38697
|
{
|
|
38736
38698
|
"kind": "field",
|
|
38737
38699
|
"name": "textContrast",
|
|
38738
|
-
"type": {
|
|
38739
|
-
"text": "Partial<\n Record<SemanticColorName, { bg: SemanticColorName; targetLc: number }>\n >"
|
|
38740
|
-
},
|
|
38741
38700
|
"privacy": "private",
|
|
38742
38701
|
"static": true,
|
|
38743
38702
|
"readonly": true,
|
|
38744
|
-
"default": "
|
|
38745
|
-
"description": "
|
|
38703
|
+
"default": "TOKEN_PAIRINGS",
|
|
38704
|
+
"description": "Which ink sits on which surface, and at what APCA target.\n\nReads the single pairing table in the theme model rather than\ncarrying a second copy: an identical literal used to live here and\nin `compute-theme-properties.ts`, which is precisely the drift the\nrepository's adoption rules exist to catch. See ESP0164.",
|
|
38746
38705
|
"inheritedFrom": {
|
|
38747
38706
|
"name": "EspalierElementBase",
|
|
38748
38707
|
"module": "dist/shared/esp-element-base.js"
|
|
@@ -38800,7 +38759,7 @@
|
|
|
38800
38759
|
"privacy": "private",
|
|
38801
38760
|
"return": {
|
|
38802
38761
|
"type": {
|
|
38803
|
-
"text": "
|
|
38762
|
+
"text": "MappingSource"
|
|
38804
38763
|
}
|
|
38805
38764
|
},
|
|
38806
38765
|
"parameters": [
|
|
@@ -38813,7 +38772,7 @@
|
|
|
38813
38772
|
{
|
|
38814
38773
|
"name": "mappedSource",
|
|
38815
38774
|
"type": {
|
|
38816
|
-
"text": "
|
|
38775
|
+
"text": "MappingSource"
|
|
38817
38776
|
}
|
|
38818
38777
|
},
|
|
38819
38778
|
{
|
|
@@ -42417,14 +42376,11 @@
|
|
|
42417
42376
|
{
|
|
42418
42377
|
"kind": "field",
|
|
42419
42378
|
"name": "textContrast",
|
|
42420
|
-
"type": {
|
|
42421
|
-
"text": "Partial<\n Record<SemanticColorName, { bg: SemanticColorName; targetLc: number }>\n >"
|
|
42422
|
-
},
|
|
42423
42379
|
"privacy": "private",
|
|
42424
42380
|
"static": true,
|
|
42425
42381
|
"readonly": true,
|
|
42426
|
-
"default": "
|
|
42427
|
-
"description": "
|
|
42382
|
+
"default": "TOKEN_PAIRINGS",
|
|
42383
|
+
"description": "Which ink sits on which surface, and at what APCA target.\n\nReads the single pairing table in the theme model rather than\ncarrying a second copy: an identical literal used to live here and\nin `compute-theme-properties.ts`, which is precisely the drift the\nrepository's adoption rules exist to catch. See ESP0164.",
|
|
42428
42384
|
"inheritedFrom": {
|
|
42429
42385
|
"name": "EspalierElementBase",
|
|
42430
42386
|
"module": "dist/shared/esp-element-base.js"
|
|
@@ -42482,7 +42438,7 @@
|
|
|
42482
42438
|
"privacy": "private",
|
|
42483
42439
|
"return": {
|
|
42484
42440
|
"type": {
|
|
42485
|
-
"text": "
|
|
42441
|
+
"text": "MappingSource"
|
|
42486
42442
|
}
|
|
42487
42443
|
},
|
|
42488
42444
|
"parameters": [
|
|
@@ -42495,7 +42451,7 @@
|
|
|
42495
42451
|
{
|
|
42496
42452
|
"name": "mappedSource",
|
|
42497
42453
|
"type": {
|
|
42498
|
-
"text": "
|
|
42454
|
+
"text": "MappingSource"
|
|
42499
42455
|
}
|
|
42500
42456
|
},
|
|
42501
42457
|
{
|
|
@@ -44256,14 +44212,11 @@
|
|
|
44256
44212
|
{
|
|
44257
44213
|
"kind": "field",
|
|
44258
44214
|
"name": "textContrast",
|
|
44259
|
-
"type": {
|
|
44260
|
-
"text": "Partial<\n Record<SemanticColorName, { bg: SemanticColorName; targetLc: number }>\n >"
|
|
44261
|
-
},
|
|
44262
44215
|
"privacy": "private",
|
|
44263
44216
|
"static": true,
|
|
44264
44217
|
"readonly": true,
|
|
44265
|
-
"default": "
|
|
44266
|
-
"description": "
|
|
44218
|
+
"default": "TOKEN_PAIRINGS",
|
|
44219
|
+
"description": "Which ink sits on which surface, and at what APCA target.\n\nReads the single pairing table in the theme model rather than\ncarrying a second copy: an identical literal used to live here and\nin `compute-theme-properties.ts`, which is precisely the drift the\nrepository's adoption rules exist to catch. See ESP0164.",
|
|
44267
44220
|
"inheritedFrom": {
|
|
44268
44221
|
"name": "EspalierElementBase",
|
|
44269
44222
|
"module": "dist/shared/esp-element-base.js"
|
|
@@ -44321,7 +44274,7 @@
|
|
|
44321
44274
|
"privacy": "private",
|
|
44322
44275
|
"return": {
|
|
44323
44276
|
"type": {
|
|
44324
|
-
"text": "
|
|
44277
|
+
"text": "MappingSource"
|
|
44325
44278
|
}
|
|
44326
44279
|
},
|
|
44327
44280
|
"parameters": [
|
|
@@ -44334,7 +44287,7 @@
|
|
|
44334
44287
|
{
|
|
44335
44288
|
"name": "mappedSource",
|
|
44336
44289
|
"type": {
|
|
44337
|
-
"text": "
|
|
44290
|
+
"text": "MappingSource"
|
|
44338
44291
|
}
|
|
44339
44292
|
},
|
|
44340
44293
|
{
|
|
@@ -45941,14 +45894,11 @@
|
|
|
45941
45894
|
{
|
|
45942
45895
|
"kind": "field",
|
|
45943
45896
|
"name": "textContrast",
|
|
45944
|
-
"type": {
|
|
45945
|
-
"text": "Partial<\n Record<SemanticColorName, { bg: SemanticColorName; targetLc: number }>\n >"
|
|
45946
|
-
},
|
|
45947
45897
|
"privacy": "private",
|
|
45948
45898
|
"static": true,
|
|
45949
45899
|
"readonly": true,
|
|
45950
|
-
"default": "
|
|
45951
|
-
"description": "
|
|
45900
|
+
"default": "TOKEN_PAIRINGS",
|
|
45901
|
+
"description": "Which ink sits on which surface, and at what APCA target.\n\nReads the single pairing table in the theme model rather than\ncarrying a second copy: an identical literal used to live here and\nin `compute-theme-properties.ts`, which is precisely the drift the\nrepository's adoption rules exist to catch. See ESP0164.",
|
|
45952
45902
|
"inheritedFrom": {
|
|
45953
45903
|
"name": "EspalierElementBase",
|
|
45954
45904
|
"module": "dist/shared/esp-element-base.js"
|
|
@@ -46006,7 +45956,7 @@
|
|
|
46006
45956
|
"privacy": "private",
|
|
46007
45957
|
"return": {
|
|
46008
45958
|
"type": {
|
|
46009
|
-
"text": "
|
|
45959
|
+
"text": "MappingSource"
|
|
46010
45960
|
}
|
|
46011
45961
|
},
|
|
46012
45962
|
"parameters": [
|
|
@@ -46019,7 +45969,7 @@
|
|
|
46019
45969
|
{
|
|
46020
45970
|
"name": "mappedSource",
|
|
46021
45971
|
"type": {
|
|
46022
|
-
"text": "
|
|
45972
|
+
"text": "MappingSource"
|
|
46023
45973
|
}
|
|
46024
45974
|
},
|
|
46025
45975
|
{
|
|
@@ -47311,14 +47261,11 @@
|
|
|
47311
47261
|
{
|
|
47312
47262
|
"kind": "field",
|
|
47313
47263
|
"name": "textContrast",
|
|
47314
|
-
"type": {
|
|
47315
|
-
"text": "Partial<\n Record<SemanticColorName, { bg: SemanticColorName; targetLc: number }>\n >"
|
|
47316
|
-
},
|
|
47317
47264
|
"privacy": "private",
|
|
47318
47265
|
"static": true,
|
|
47319
47266
|
"readonly": true,
|
|
47320
|
-
"default": "
|
|
47321
|
-
"description": "
|
|
47267
|
+
"default": "TOKEN_PAIRINGS",
|
|
47268
|
+
"description": "Which ink sits on which surface, and at what APCA target.\n\nReads the single pairing table in the theme model rather than\ncarrying a second copy: an identical literal used to live here and\nin `compute-theme-properties.ts`, which is precisely the drift the\nrepository's adoption rules exist to catch. See ESP0164.",
|
|
47322
47269
|
"inheritedFrom": {
|
|
47323
47270
|
"name": "EspalierElementBase",
|
|
47324
47271
|
"module": "dist/shared/esp-element-base.js"
|
|
@@ -47376,7 +47323,7 @@
|
|
|
47376
47323
|
"privacy": "private",
|
|
47377
47324
|
"return": {
|
|
47378
47325
|
"type": {
|
|
47379
|
-
"text": "
|
|
47326
|
+
"text": "MappingSource"
|
|
47380
47327
|
}
|
|
47381
47328
|
},
|
|
47382
47329
|
"parameters": [
|
|
@@ -47389,7 +47336,7 @@
|
|
|
47389
47336
|
{
|
|
47390
47337
|
"name": "mappedSource",
|
|
47391
47338
|
"type": {
|
|
47392
|
-
"text": "
|
|
47339
|
+
"text": "MappingSource"
|
|
47393
47340
|
}
|
|
47394
47341
|
},
|
|
47395
47342
|
{
|
|
@@ -49875,14 +49822,11 @@
|
|
|
49875
49822
|
{
|
|
49876
49823
|
"kind": "field",
|
|
49877
49824
|
"name": "textContrast",
|
|
49878
|
-
"type": {
|
|
49879
|
-
"text": "Partial<\n Record<SemanticColorName, { bg: SemanticColorName; targetLc: number }>\n >"
|
|
49880
|
-
},
|
|
49881
49825
|
"privacy": "private",
|
|
49882
49826
|
"static": true,
|
|
49883
49827
|
"readonly": true,
|
|
49884
|
-
"default": "
|
|
49885
|
-
"description": "
|
|
49828
|
+
"default": "TOKEN_PAIRINGS",
|
|
49829
|
+
"description": "Which ink sits on which surface, and at what APCA target.\n\nReads the single pairing table in the theme model rather than\ncarrying a second copy: an identical literal used to live here and\nin `compute-theme-properties.ts`, which is precisely the drift the\nrepository's adoption rules exist to catch. See ESP0164.",
|
|
49886
49830
|
"inheritedFrom": {
|
|
49887
49831
|
"name": "EspalierElementBase",
|
|
49888
49832
|
"module": "dist/shared/esp-element-base.js"
|
|
@@ -49940,7 +49884,7 @@
|
|
|
49940
49884
|
"privacy": "private",
|
|
49941
49885
|
"return": {
|
|
49942
49886
|
"type": {
|
|
49943
|
-
"text": "
|
|
49887
|
+
"text": "MappingSource"
|
|
49944
49888
|
}
|
|
49945
49889
|
},
|
|
49946
49890
|
"parameters": [
|
|
@@ -49953,7 +49897,7 @@
|
|
|
49953
49897
|
{
|
|
49954
49898
|
"name": "mappedSource",
|
|
49955
49899
|
"type": {
|
|
49956
|
-
"text": "
|
|
49900
|
+
"text": "MappingSource"
|
|
49957
49901
|
}
|
|
49958
49902
|
},
|
|
49959
49903
|
{
|
|
@@ -50783,14 +50727,11 @@
|
|
|
50783
50727
|
{
|
|
50784
50728
|
"kind": "field",
|
|
50785
50729
|
"name": "textContrast",
|
|
50786
|
-
"type": {
|
|
50787
|
-
"text": "Partial<\n Record<SemanticColorName, { bg: SemanticColorName; targetLc: number }>\n >"
|
|
50788
|
-
},
|
|
50789
50730
|
"privacy": "private",
|
|
50790
50731
|
"static": true,
|
|
50791
50732
|
"readonly": true,
|
|
50792
|
-
"default": "
|
|
50793
|
-
"description": "
|
|
50733
|
+
"default": "TOKEN_PAIRINGS",
|
|
50734
|
+
"description": "Which ink sits on which surface, and at what APCA target.\n\nReads the single pairing table in the theme model rather than\ncarrying a second copy: an identical literal used to live here and\nin `compute-theme-properties.ts`, which is precisely the drift the\nrepository's adoption rules exist to catch. See ESP0164.",
|
|
50794
50735
|
"inheritedFrom": {
|
|
50795
50736
|
"name": "EspalierElementBase",
|
|
50796
50737
|
"module": "dist/shared/esp-element-base.js"
|
|
@@ -50848,7 +50789,7 @@
|
|
|
50848
50789
|
"privacy": "private",
|
|
50849
50790
|
"return": {
|
|
50850
50791
|
"type": {
|
|
50851
|
-
"text": "
|
|
50792
|
+
"text": "MappingSource"
|
|
50852
50793
|
}
|
|
50853
50794
|
},
|
|
50854
50795
|
"parameters": [
|
|
@@ -50861,7 +50802,7 @@
|
|
|
50861
50802
|
{
|
|
50862
50803
|
"name": "mappedSource",
|
|
50863
50804
|
"type": {
|
|
50864
|
-
"text": "
|
|
50805
|
+
"text": "MappingSource"
|
|
50865
50806
|
}
|
|
50866
50807
|
},
|
|
50867
50808
|
{
|
|
@@ -51623,14 +51564,11 @@
|
|
|
51623
51564
|
{
|
|
51624
51565
|
"kind": "field",
|
|
51625
51566
|
"name": "textContrast",
|
|
51626
|
-
"type": {
|
|
51627
|
-
"text": "Partial<\n Record<SemanticColorName, { bg: SemanticColorName; targetLc: number }>\n >"
|
|
51628
|
-
},
|
|
51629
51567
|
"privacy": "private",
|
|
51630
51568
|
"static": true,
|
|
51631
51569
|
"readonly": true,
|
|
51632
|
-
"default": "
|
|
51633
|
-
"description": "
|
|
51570
|
+
"default": "TOKEN_PAIRINGS",
|
|
51571
|
+
"description": "Which ink sits on which surface, and at what APCA target.\n\nReads the single pairing table in the theme model rather than\ncarrying a second copy: an identical literal used to live here and\nin `compute-theme-properties.ts`, which is precisely the drift the\nrepository's adoption rules exist to catch. See ESP0164.",
|
|
51634
51572
|
"inheritedFrom": {
|
|
51635
51573
|
"name": "EspalierElementBase",
|
|
51636
51574
|
"module": "dist/shared/esp-element-base.js"
|
|
@@ -51688,7 +51626,7 @@
|
|
|
51688
51626
|
"privacy": "private",
|
|
51689
51627
|
"return": {
|
|
51690
51628
|
"type": {
|
|
51691
|
-
"text": "
|
|
51629
|
+
"text": "MappingSource"
|
|
51692
51630
|
}
|
|
51693
51631
|
},
|
|
51694
51632
|
"parameters": [
|
|
@@ -51701,7 +51639,7 @@
|
|
|
51701
51639
|
{
|
|
51702
51640
|
"name": "mappedSource",
|
|
51703
51641
|
"type": {
|
|
51704
|
-
"text": "
|
|
51642
|
+
"text": "MappingSource"
|
|
51705
51643
|
}
|
|
51706
51644
|
},
|
|
51707
51645
|
{
|
|
@@ -53315,14 +53253,11 @@
|
|
|
53315
53253
|
{
|
|
53316
53254
|
"kind": "field",
|
|
53317
53255
|
"name": "textContrast",
|
|
53318
|
-
"type": {
|
|
53319
|
-
"text": "Partial<\n Record<SemanticColorName, { bg: SemanticColorName; targetLc: number }>\n >"
|
|
53320
|
-
},
|
|
53321
53256
|
"privacy": "private",
|
|
53322
53257
|
"static": true,
|
|
53323
53258
|
"readonly": true,
|
|
53324
|
-
"default": "
|
|
53325
|
-
"description": "
|
|
53259
|
+
"default": "TOKEN_PAIRINGS",
|
|
53260
|
+
"description": "Which ink sits on which surface, and at what APCA target.\n\nReads the single pairing table in the theme model rather than\ncarrying a second copy: an identical literal used to live here and\nin `compute-theme-properties.ts`, which is precisely the drift the\nrepository's adoption rules exist to catch. See ESP0164.",
|
|
53326
53261
|
"inheritedFrom": {
|
|
53327
53262
|
"name": "EspalierElementBase",
|
|
53328
53263
|
"module": "dist/shared/esp-element-base.js"
|
|
@@ -53380,7 +53315,7 @@
|
|
|
53380
53315
|
"privacy": "private",
|
|
53381
53316
|
"return": {
|
|
53382
53317
|
"type": {
|
|
53383
|
-
"text": "
|
|
53318
|
+
"text": "MappingSource"
|
|
53384
53319
|
}
|
|
53385
53320
|
},
|
|
53386
53321
|
"parameters": [
|
|
@@ -53393,7 +53328,7 @@
|
|
|
53393
53328
|
{
|
|
53394
53329
|
"name": "mappedSource",
|
|
53395
53330
|
"type": {
|
|
53396
|
-
"text": "
|
|
53331
|
+
"text": "MappingSource"
|
|
53397
53332
|
}
|
|
53398
53333
|
},
|
|
53399
53334
|
{
|
|
@@ -55023,14 +54958,11 @@
|
|
|
55023
54958
|
{
|
|
55024
54959
|
"kind": "field",
|
|
55025
54960
|
"name": "textContrast",
|
|
55026
|
-
"type": {
|
|
55027
|
-
"text": "Partial<\n Record<SemanticColorName, { bg: SemanticColorName; targetLc: number }>\n >"
|
|
55028
|
-
},
|
|
55029
54961
|
"privacy": "private",
|
|
55030
54962
|
"static": true,
|
|
55031
54963
|
"readonly": true,
|
|
55032
|
-
"default": "
|
|
55033
|
-
"description": "
|
|
54964
|
+
"default": "TOKEN_PAIRINGS",
|
|
54965
|
+
"description": "Which ink sits on which surface, and at what APCA target.\n\nReads the single pairing table in the theme model rather than\ncarrying a second copy: an identical literal used to live here and\nin `compute-theme-properties.ts`, which is precisely the drift the\nrepository's adoption rules exist to catch. See ESP0164.",
|
|
55034
54966
|
"inheritedFrom": {
|
|
55035
54967
|
"name": "EspalierElementBase",
|
|
55036
54968
|
"module": "dist/shared/esp-element-base.js"
|
|
@@ -55088,7 +55020,7 @@
|
|
|
55088
55020
|
"privacy": "private",
|
|
55089
55021
|
"return": {
|
|
55090
55022
|
"type": {
|
|
55091
|
-
"text": "
|
|
55023
|
+
"text": "MappingSource"
|
|
55092
55024
|
}
|
|
55093
55025
|
},
|
|
55094
55026
|
"parameters": [
|
|
@@ -55101,7 +55033,7 @@
|
|
|
55101
55033
|
{
|
|
55102
55034
|
"name": "mappedSource",
|
|
55103
55035
|
"type": {
|
|
55104
|
-
"text": "
|
|
55036
|
+
"text": "MappingSource"
|
|
55105
55037
|
}
|
|
55106
55038
|
},
|
|
55107
55039
|
{
|
|
@@ -55573,6 +55505,30 @@
|
|
|
55573
55505
|
],
|
|
55574
55506
|
"description": "Rotate a hue angle by `degrees`, wrapping within 0–360."
|
|
55575
55507
|
},
|
|
55508
|
+
{
|
|
55509
|
+
"kind": "function",
|
|
55510
|
+
"name": "deltaEOK",
|
|
55511
|
+
"return": {
|
|
55512
|
+
"type": {
|
|
55513
|
+
"text": "number"
|
|
55514
|
+
}
|
|
55515
|
+
},
|
|
55516
|
+
"parameters": [
|
|
55517
|
+
{
|
|
55518
|
+
"name": "a",
|
|
55519
|
+
"type": {
|
|
55520
|
+
"text": "OklchColor"
|
|
55521
|
+
}
|
|
55522
|
+
},
|
|
55523
|
+
{
|
|
55524
|
+
"name": "b",
|
|
55525
|
+
"type": {
|
|
55526
|
+
"text": "OklchColor"
|
|
55527
|
+
}
|
|
55528
|
+
}
|
|
55529
|
+
],
|
|
55530
|
+
"description": "Perceptual distance between two OKLCH colors — the Euclidean\ndistance between them in OKLab (ΔE-OK, CSS Color 4 § \"Color\ndifference\").\n\nReported by the theme fit report (ESP0163) as the distance between a\ndeclared brand anchor and the token that was actually emitted for it.\nNothing in the derivation pipeline consumes it: contrast enforcement\nmoves lightness on purpose, so this number describes the gap, it does\nnot constrain it."
|
|
55531
|
+
},
|
|
55576
55532
|
{
|
|
55577
55533
|
"kind": "function",
|
|
55578
55534
|
"name": "deriveSemantic",
|
|
@@ -55664,6 +55620,14 @@
|
|
|
55664
55620
|
"text": "number"
|
|
55665
55621
|
},
|
|
55666
55622
|
"description": "Minimum |Lc| score (default 60)"
|
|
55623
|
+
},
|
|
55624
|
+
{
|
|
55625
|
+
"name": "onRequested",
|
|
55626
|
+
"optional": true,
|
|
55627
|
+
"type": {
|
|
55628
|
+
"text": "(requested: OklchColor) => void"
|
|
55629
|
+
},
|
|
55630
|
+
"description": "Optional observer, invoked with the **pre-enforcement**\nderivation — the value the mapping asked for, before `ensureContrast`\nis allowed to move it. It receives the very binding enforcement then\nconsumes, so an observer cannot report a \"requested\" value the engine\ndid not actually start from (ESP0163). Omitted on the production path,\nwhere the optional call costs nothing."
|
|
55667
55631
|
}
|
|
55668
55632
|
],
|
|
55669
55633
|
"description": "Derive a semantic color with automatic APCA contrast\nenforcement against a reference background."
|
|
@@ -55769,6 +55733,14 @@
|
|
|
55769
55733
|
"module": "dist/shared/color-engine.js"
|
|
55770
55734
|
}
|
|
55771
55735
|
},
|
|
55736
|
+
{
|
|
55737
|
+
"kind": "js",
|
|
55738
|
+
"name": "deltaEOK",
|
|
55739
|
+
"declaration": {
|
|
55740
|
+
"name": "deltaEOK",
|
|
55741
|
+
"module": "dist/shared/color-engine.js"
|
|
55742
|
+
}
|
|
55743
|
+
},
|
|
55772
55744
|
{
|
|
55773
55745
|
"kind": "js",
|
|
55774
55746
|
"name": "deriveSemantic",
|
|
@@ -56383,14 +56355,11 @@
|
|
|
56383
56355
|
{
|
|
56384
56356
|
"kind": "field",
|
|
56385
56357
|
"name": "textContrast",
|
|
56386
|
-
"type": {
|
|
56387
|
-
"text": "Partial<\n Record<SemanticColorName, { bg: SemanticColorName; targetLc: number }>\n >"
|
|
56388
|
-
},
|
|
56389
56358
|
"privacy": "private",
|
|
56390
56359
|
"static": true,
|
|
56391
56360
|
"readonly": true,
|
|
56392
|
-
"default": "
|
|
56393
|
-
"description": "
|
|
56361
|
+
"default": "TOKEN_PAIRINGS",
|
|
56362
|
+
"description": "Which ink sits on which surface, and at what APCA target.\n\nReads the single pairing table in the theme model rather than\ncarrying a second copy: an identical literal used to live here and\nin `compute-theme-properties.ts`, which is precisely the drift the\nrepository's adoption rules exist to catch. See ESP0164."
|
|
56394
56363
|
},
|
|
56395
56364
|
{
|
|
56396
56365
|
"kind": "field",
|
|
@@ -56432,7 +56401,7 @@
|
|
|
56432
56401
|
"privacy": "private",
|
|
56433
56402
|
"return": {
|
|
56434
56403
|
"type": {
|
|
56435
|
-
"text": "
|
|
56404
|
+
"text": "MappingSource"
|
|
56436
56405
|
}
|
|
56437
56406
|
},
|
|
56438
56407
|
"parameters": [
|
|
@@ -56445,7 +56414,7 @@
|
|
|
56445
56414
|
{
|
|
56446
56415
|
"name": "mappedSource",
|
|
56447
56416
|
"type": {
|
|
56448
|
-
"text": "
|
|
56417
|
+
"text": "MappingSource"
|
|
56449
56418
|
}
|
|
56450
56419
|
},
|
|
56451
56420
|
{
|
|
@@ -56921,14 +56890,11 @@
|
|
|
56921
56890
|
{
|
|
56922
56891
|
"kind": "field",
|
|
56923
56892
|
"name": "textContrast",
|
|
56924
|
-
"type": {
|
|
56925
|
-
"text": "Partial<\n Record<SemanticColorName, { bg: SemanticColorName; targetLc: number }>\n >"
|
|
56926
|
-
},
|
|
56927
56893
|
"privacy": "private",
|
|
56928
56894
|
"static": true,
|
|
56929
56895
|
"readonly": true,
|
|
56930
|
-
"default": "
|
|
56931
|
-
"description": "
|
|
56896
|
+
"default": "TOKEN_PAIRINGS",
|
|
56897
|
+
"description": "Which ink sits on which surface, and at what APCA target.\n\nReads the single pairing table in the theme model rather than\ncarrying a second copy: an identical literal used to live here and\nin `compute-theme-properties.ts`, which is precisely the drift the\nrepository's adoption rules exist to catch. See ESP0164.",
|
|
56932
56898
|
"inheritedFrom": {
|
|
56933
56899
|
"name": "EspalierElementBase",
|
|
56934
56900
|
"module": "dist/shared/esp-element-base.js"
|
|
@@ -56986,7 +56952,7 @@
|
|
|
56986
56952
|
"privacy": "private",
|
|
56987
56953
|
"return": {
|
|
56988
56954
|
"type": {
|
|
56989
|
-
"text": "
|
|
56955
|
+
"text": "MappingSource"
|
|
56990
56956
|
}
|
|
56991
56957
|
},
|
|
56992
56958
|
"parameters": [
|
|
@@ -56999,7 +56965,7 @@
|
|
|
56999
56965
|
{
|
|
57000
56966
|
"name": "mappedSource",
|
|
57001
56967
|
"type": {
|
|
57002
|
-
"text": "
|
|
56968
|
+
"text": "MappingSource"
|
|
57003
56969
|
}
|
|
57004
56970
|
},
|
|
57005
56971
|
{
|
|
@@ -59507,10 +59473,234 @@
|
|
|
59507
59473
|
}
|
|
59508
59474
|
]
|
|
59509
59475
|
},
|
|
59476
|
+
{
|
|
59477
|
+
"kind": "javascript-module",
|
|
59478
|
+
"path": "dist/shared/theme-fit-report.js",
|
|
59479
|
+
"declarations": [
|
|
59480
|
+
{
|
|
59481
|
+
"kind": "function",
|
|
59482
|
+
"name": "themeFitReport",
|
|
59483
|
+
"return": {
|
|
59484
|
+
"type": {
|
|
59485
|
+
"text": "ThemeFitReport"
|
|
59486
|
+
}
|
|
59487
|
+
},
|
|
59488
|
+
"parameters": [
|
|
59489
|
+
{
|
|
59490
|
+
"name": "theme",
|
|
59491
|
+
"type": {
|
|
59492
|
+
"text": "EspalierTheme"
|
|
59493
|
+
},
|
|
59494
|
+
"description": "A resolved theme (as `mergeTheme` returns)."
|
|
59495
|
+
},
|
|
59496
|
+
{
|
|
59497
|
+
"name": "scheme",
|
|
59498
|
+
"type": {
|
|
59499
|
+
"text": "\"light\" | \"dark\""
|
|
59500
|
+
},
|
|
59501
|
+
"description": "The scheme to compute."
|
|
59502
|
+
}
|
|
59503
|
+
],
|
|
59504
|
+
"description": "Build the fit report for a resolved theme.\n\nRuns the real pipeline once with a trace sink attached and describes\nwhat it did. An unparseable seed produces an empty token list, exactly\nas it produces an empty property record."
|
|
59505
|
+
},
|
|
59506
|
+
{
|
|
59507
|
+
"kind": "function",
|
|
59508
|
+
"name": "themeFitRows",
|
|
59509
|
+
"return": {
|
|
59510
|
+
"type": {
|
|
59511
|
+
"text": "ThemeFitRow[]"
|
|
59512
|
+
}
|
|
59513
|
+
},
|
|
59514
|
+
"parameters": [
|
|
59515
|
+
{
|
|
59516
|
+
"name": "report",
|
|
59517
|
+
"type": {
|
|
59518
|
+
"text": "ThemeFitReport"
|
|
59519
|
+
}
|
|
59520
|
+
}
|
|
59521
|
+
],
|
|
59522
|
+
"description": "Render a report as `console.table` rows.\n\nExposed separately from printThemeFitReport so a host can put\nthe same rows somewhere other than the console."
|
|
59523
|
+
},
|
|
59524
|
+
{
|
|
59525
|
+
"kind": "function",
|
|
59526
|
+
"name": "printThemeFitReport",
|
|
59527
|
+
"return": {
|
|
59528
|
+
"type": {
|
|
59529
|
+
"text": "void"
|
|
59530
|
+
}
|
|
59531
|
+
},
|
|
59532
|
+
"parameters": [
|
|
59533
|
+
{
|
|
59534
|
+
"name": "report",
|
|
59535
|
+
"type": {
|
|
59536
|
+
"text": "ThemeFitReport"
|
|
59537
|
+
}
|
|
59538
|
+
}
|
|
59539
|
+
],
|
|
59540
|
+
"description": "Print a fit report to the console — the common case.\n\nOne summary line naming the scheme and the tokens enforcement moved,\nthen a `console.table` of every token."
|
|
59541
|
+
},
|
|
59542
|
+
{
|
|
59543
|
+
"kind": "variable",
|
|
59544
|
+
"name": "requested"
|
|
59545
|
+
}
|
|
59546
|
+
],
|
|
59547
|
+
"exports": [
|
|
59548
|
+
{
|
|
59549
|
+
"kind": "js",
|
|
59550
|
+
"name": "themeFitReport",
|
|
59551
|
+
"declaration": {
|
|
59552
|
+
"name": "themeFitReport",
|
|
59553
|
+
"module": "dist/shared/theme-fit-report.js"
|
|
59554
|
+
}
|
|
59555
|
+
},
|
|
59556
|
+
{
|
|
59557
|
+
"kind": "js",
|
|
59558
|
+
"name": "themeFitRows",
|
|
59559
|
+
"declaration": {
|
|
59560
|
+
"name": "themeFitRows",
|
|
59561
|
+
"module": "dist/shared/theme-fit-report.js"
|
|
59562
|
+
}
|
|
59563
|
+
},
|
|
59564
|
+
{
|
|
59565
|
+
"kind": "js",
|
|
59566
|
+
"name": "printThemeFitReport",
|
|
59567
|
+
"declaration": {
|
|
59568
|
+
"name": "printThemeFitReport",
|
|
59569
|
+
"module": "dist/shared/theme-fit-report.js"
|
|
59570
|
+
}
|
|
59571
|
+
}
|
|
59572
|
+
]
|
|
59573
|
+
},
|
|
59574
|
+
{
|
|
59575
|
+
"kind": "javascript-module",
|
|
59576
|
+
"path": "dist/shared/theme-fit-trace.js",
|
|
59577
|
+
"declarations": [],
|
|
59578
|
+
"exports": []
|
|
59579
|
+
},
|
|
59510
59580
|
{
|
|
59511
59581
|
"kind": "javascript-module",
|
|
59512
59582
|
"path": "dist/shared/theme.js",
|
|
59513
59583
|
"declarations": [
|
|
59584
|
+
{
|
|
59585
|
+
"kind": "variable",
|
|
59586
|
+
"name": "ANCHOR_SLUG_PATTERN",
|
|
59587
|
+
"default": "/^[a-z][a-z0-9-]*$/",
|
|
59588
|
+
"description": "Anchor names and slot names share one slug grammar."
|
|
59589
|
+
},
|
|
59590
|
+
{
|
|
59591
|
+
"kind": "function",
|
|
59592
|
+
"name": "parseAnchorSource",
|
|
59593
|
+
"return": {
|
|
59594
|
+
"type": {
|
|
59595
|
+
"text": "AnchorReference | null"
|
|
59596
|
+
}
|
|
59597
|
+
},
|
|
59598
|
+
"parameters": [
|
|
59599
|
+
{
|
|
59600
|
+
"name": "source",
|
|
59601
|
+
"type": {
|
|
59602
|
+
"text": "string"
|
|
59603
|
+
}
|
|
59604
|
+
}
|
|
59605
|
+
],
|
|
59606
|
+
"description": "Parse an `anchor:` mapping source into its reference, or return\n`null` for anything that is not anchor syntax at all. (A reference\nwith an invalid or undeclared name parses fine here — declaration\nchecks belong to validateTheme and resolution.)"
|
|
59607
|
+
},
|
|
59608
|
+
{
|
|
59609
|
+
"kind": "function",
|
|
59610
|
+
"name": "resolveAnchorColor",
|
|
59611
|
+
"return": {
|
|
59612
|
+
"type": {
|
|
59613
|
+
"text": "string | null"
|
|
59614
|
+
}
|
|
59615
|
+
},
|
|
59616
|
+
"parameters": [
|
|
59617
|
+
{
|
|
59618
|
+
"name": "anchors",
|
|
59619
|
+
"type": {
|
|
59620
|
+
"text": "ThemeAnchors"
|
|
59621
|
+
}
|
|
59622
|
+
},
|
|
59623
|
+
{
|
|
59624
|
+
"name": "reference",
|
|
59625
|
+
"type": {
|
|
59626
|
+
"text": "AnchorReference"
|
|
59627
|
+
}
|
|
59628
|
+
}
|
|
59629
|
+
],
|
|
59630
|
+
"description": "Resolve an anchor reference to its declared color string.\n\n`anchor:<name>` on an object-form anchor resolves the `color` key; a\nslot reference into a string-form anchor has nowhere to point and\nresolves `null`, as do unknown names and slots."
|
|
59631
|
+
},
|
|
59632
|
+
{
|
|
59633
|
+
"kind": "variable",
|
|
59634
|
+
"name": "ROLE_NAMES",
|
|
59635
|
+
"type": {
|
|
59636
|
+
"text": "[\n \"canvas\",\n \"ink\",\n \"accent\",\n \"action\",\n \"structure\",\n]"
|
|
59637
|
+
},
|
|
59638
|
+
"default": "[ \"canvas\", \"ink\", \"accent\", \"action\", \"structure\", ]",
|
|
59639
|
+
"description": "Ordered role names, for validation and iteration."
|
|
59640
|
+
},
|
|
59641
|
+
{
|
|
59642
|
+
"kind": "variable",
|
|
59643
|
+
"name": "ROLE_TOKEN_PLAN",
|
|
59644
|
+
"type": {
|
|
59645
|
+
"text": "Readonly<\n Record<RoleName, Readonly<Record<string, ReadonlyArray<[SemanticColorName, LightnessKey]>>>>\n>"
|
|
59646
|
+
},
|
|
59647
|
+
"default": "{ canvas: { color: [ [\"background\", \"surface\"], [\"layer1\", \"raised1\"], [\"layer2\", \"raised2\"], [\"layer3\", \"raised3\"], [\"layer4\", \"raised4\"], ], }, ink: { color: [ [\"text\", \"text\"], [\"inputSelection\", \"text\"], ], heading: [ [\"headings\", \"muted\"], [\"headingsHover\", \"ink\"], ], }, accent: { color: [ [\"linkHoverBg\", \"raised2\"], [\"inputSelectionBg\", \"raised2\"], [\"inputCaret\", \"ink\"], ], text: [ [\"link\", \"accent\"], [\"linkHover\", \"text\"], ], }, action: { // Neither stop here is fixed — both are derived per scheme. See // ACTION_SURFACE_TARGET_L and resolvePairedInkStop; the values in // this table are the fallbacks used when a theme names the slot // itself. color: [[\"actionBackground\", \"muted\"]], ink: [[\"actionText\", \"surface\"]], }, structure: { color: [ [\"border\", \"border\"], [\"shadow\", \"shadow\"], ], }, }",
|
|
59648
|
+
"description": "Which semantic tokens each role slot paints, and at which ramp stop.\n\nThis is the compilation table: it turns five designer-facing roles\ninto the nineteen engine-room tokens. `dangerText` is absent by\ndesign — the status family is reserved and keeps its own source.\n\nThe `accent` role has no body-text slot on purpose. \"Rose is\ndecorative only\" is a structural guarantee here, not a comment: text\nthat must come from the accent family comes through `accent.text`,\nthe deepened variant a designer picked for legibility."
|
|
59649
|
+
},
|
|
59650
|
+
{
|
|
59651
|
+
"kind": "variable",
|
|
59652
|
+
"name": "ROLE_PAIRED_INK",
|
|
59653
|
+
"type": {
|
|
59654
|
+
"text": "Readonly<Record<string, { role: RoleName; slot: string }>>"
|
|
59655
|
+
},
|
|
59656
|
+
"default": "{ \"action.ink\": { role: \"canvas\", slot: \"color\" }, }",
|
|
59657
|
+
"description": "Ink slots that derive from another role when the theme does not\ndeclare them.\n\nA role that paints a surface must also answer \"what writes on it\".\n`action.ink` defaults to the canvas color: the ink paired with a\nfilled action is the page ground, and APCA enforcement against\n`actionBackground` then guarantees it is legible — which is exactly\nhow \"white on plum for reversed sections\" becomes one theme line\ninstead of a hand-picked hex."
|
|
59658
|
+
},
|
|
59659
|
+
{
|
|
59660
|
+
"kind": "function",
|
|
59661
|
+
"name": "compileRoles",
|
|
59662
|
+
"return": {
|
|
59663
|
+
"type": {
|
|
59664
|
+
"text": "Partial<SemanticMappings>"
|
|
59665
|
+
}
|
|
59666
|
+
},
|
|
59667
|
+
"parameters": [
|
|
59668
|
+
{
|
|
59669
|
+
"name": "roles",
|
|
59670
|
+
"type": {
|
|
59671
|
+
"text": "ThemeRoles"
|
|
59672
|
+
}
|
|
59673
|
+
},
|
|
59674
|
+
{
|
|
59675
|
+
"name": "lightness",
|
|
59676
|
+
"type": {
|
|
59677
|
+
"text": "LightnessMap"
|
|
59678
|
+
}
|
|
59679
|
+
},
|
|
59680
|
+
{
|
|
59681
|
+
"name": "baseMappings",
|
|
59682
|
+
"type": {
|
|
59683
|
+
"text": "SemanticMappings"
|
|
59684
|
+
}
|
|
59685
|
+
},
|
|
59686
|
+
{
|
|
59687
|
+
"name": "options",
|
|
59688
|
+
"default": "{}",
|
|
59689
|
+
"type": {
|
|
59690
|
+
"text": "CompileRoleOptions"
|
|
59691
|
+
}
|
|
59692
|
+
}
|
|
59693
|
+
],
|
|
59694
|
+
"description": "Compile roles into semantic mappings.\n\nOnly the tokens a declared role owns are emitted, so a theme that\ndeclares no roles compiles to nothing and every existing theme keeps\nits exact output. Token-level `semanticMappings` layer over the\nresult — the engine room stays available for the cases roles do not\nreach."
|
|
59695
|
+
},
|
|
59696
|
+
{
|
|
59697
|
+
"kind": "variable",
|
|
59698
|
+
"name": "TOKEN_PAIRINGS",
|
|
59699
|
+
"type": {
|
|
59700
|
+
"text": "Readonly<\n Record<\"actionText\", TokenPairing> & Partial<Record<SemanticColorName, TokenPairing>>\n>"
|
|
59701
|
+
},
|
|
59702
|
+
"default": "{ text: { bg: \"background\", targetLc: 75 }, dangerText: { bg: \"background\", targetLc: 75 }, headings: { bg: \"background\", targetLc: 60 }, headingsHover: { bg: \"background\", targetLc: 60 }, link: { bg: \"background\", targetLc: 75 }, linkHover: { bg: \"background\", targetLc: 75 }, actionText: { bg: \"actionBackground\", targetLc: 75 }, inputCaret: { bg: \"layer2\", targetLc: 60 }, inputSelection: { bg: \"inputSelectionBg\", targetLc: 60 }, }"
|
|
59703
|
+
},
|
|
59514
59704
|
{
|
|
59515
59705
|
"kind": "variable",
|
|
59516
59706
|
"name": "SEMANTIC_COLOR_NAMES",
|
|
@@ -59580,7 +59770,7 @@
|
|
|
59580
59770
|
"type": {
|
|
59581
59771
|
"text": "Readonly<EspalierTheme>"
|
|
59582
59772
|
},
|
|
59583
|
-
"default": "{ ...SHARED_DEFAULTS, chroma: buildDefaultChroma(), semanticMappings: { ...DEFAULT_SEMANTIC_MAPPINGS }, lightness: { ...DEFAULT_LIGHT_LIGHTNESS }, }",
|
|
59773
|
+
"default": "{ ...SHARED_DEFAULTS, chroma: buildDefaultChroma(), semanticMappings: { ...DEFAULT_SEMANTIC_MAPPINGS }, anchors: {}, roles: {}, lightness: { ...DEFAULT_LIGHT_LIGHTNESS }, }",
|
|
59584
59774
|
"description": "The built-in **light** theme.\n\nIdentical to the dark theme in every field except `lightness`,\nwhich uses a high-surface / low-text ramp suited for bright\nbackgrounds."
|
|
59585
59775
|
},
|
|
59586
59776
|
{
|
|
@@ -59589,7 +59779,7 @@
|
|
|
59589
59779
|
"type": {
|
|
59590
59780
|
"text": "Readonly<EspalierTheme>"
|
|
59591
59781
|
},
|
|
59592
|
-
"default": "{ ...SHARED_DEFAULTS, chroma: buildDefaultChroma(), semanticMappings: { ...DEFAULT_SEMANTIC_MAPPINGS }, lightness: { ...DEFAULT_DARK_LIGHTNESS }, }",
|
|
59782
|
+
"default": "{ ...SHARED_DEFAULTS, chroma: buildDefaultChroma(), semanticMappings: { ...DEFAULT_SEMANTIC_MAPPINGS }, anchors: {}, roles: {}, lightness: { ...DEFAULT_DARK_LIGHTNESS }, }",
|
|
59593
59783
|
"description": "The built-in **dark** theme.\n\nIdentical to the light theme in every field except `lightness`,\nwhich uses a low-surface / high-text ramp suited for dark\nbackgrounds."
|
|
59594
59784
|
},
|
|
59595
59785
|
{
|
|
@@ -59697,9 +59887,9 @@
|
|
|
59697
59887
|
"kind": "variable",
|
|
59698
59888
|
"name": "NESTED_THEME_KEYS",
|
|
59699
59889
|
"type": {
|
|
59700
|
-
"text": "[\n \"angles\",\n \"chroma\",\n \"lightness\",\n \"semanticHues\",\n \"semanticMappings\",\n \"variantChroma\",\n]"
|
|
59890
|
+
"text": "[\n \"anchors\",\n \"angles\",\n \"roles\",\n \"chroma\",\n \"lightness\",\n \"semanticHues\",\n \"semanticMappings\",\n \"variantChroma\",\n]"
|
|
59701
59891
|
},
|
|
59702
|
-
"default": "[ \"angles\", \"chroma\", \"lightness\", \"semanticHues\", \"semanticMappings\", \"variantChroma\", ]",
|
|
59892
|
+
"default": "[ \"anchors\", \"angles\", \"roles\", \"chroma\", \"lightness\", \"semanticHues\", \"semanticMappings\", \"variantChroma\", ]",
|
|
59703
59893
|
"description": "Keys of EspalierTheme whose values are nested objects\nand therefore need key-by-key merging instead of wholesale\nreplacement when combining two PartialTheme objects."
|
|
59704
59894
|
},
|
|
59705
59895
|
{
|
|
@@ -59787,6 +59977,70 @@
|
|
|
59787
59977
|
}
|
|
59788
59978
|
],
|
|
59789
59979
|
"exports": [
|
|
59980
|
+
{
|
|
59981
|
+
"kind": "js",
|
|
59982
|
+
"name": "ANCHOR_SLUG_PATTERN",
|
|
59983
|
+
"declaration": {
|
|
59984
|
+
"name": "ANCHOR_SLUG_PATTERN",
|
|
59985
|
+
"module": "dist/shared/theme.js"
|
|
59986
|
+
}
|
|
59987
|
+
},
|
|
59988
|
+
{
|
|
59989
|
+
"kind": "js",
|
|
59990
|
+
"name": "parseAnchorSource",
|
|
59991
|
+
"declaration": {
|
|
59992
|
+
"name": "parseAnchorSource",
|
|
59993
|
+
"module": "dist/shared/theme.js"
|
|
59994
|
+
}
|
|
59995
|
+
},
|
|
59996
|
+
{
|
|
59997
|
+
"kind": "js",
|
|
59998
|
+
"name": "resolveAnchorColor",
|
|
59999
|
+
"declaration": {
|
|
60000
|
+
"name": "resolveAnchorColor",
|
|
60001
|
+
"module": "dist/shared/theme.js"
|
|
60002
|
+
}
|
|
60003
|
+
},
|
|
60004
|
+
{
|
|
60005
|
+
"kind": "js",
|
|
60006
|
+
"name": "ROLE_NAMES",
|
|
60007
|
+
"declaration": {
|
|
60008
|
+
"name": "ROLE_NAMES",
|
|
60009
|
+
"module": "dist/shared/theme.js"
|
|
60010
|
+
}
|
|
60011
|
+
},
|
|
60012
|
+
{
|
|
60013
|
+
"kind": "js",
|
|
60014
|
+
"name": "ROLE_TOKEN_PLAN",
|
|
60015
|
+
"declaration": {
|
|
60016
|
+
"name": "ROLE_TOKEN_PLAN",
|
|
60017
|
+
"module": "dist/shared/theme.js"
|
|
60018
|
+
}
|
|
60019
|
+
},
|
|
60020
|
+
{
|
|
60021
|
+
"kind": "js",
|
|
60022
|
+
"name": "ROLE_PAIRED_INK",
|
|
60023
|
+
"declaration": {
|
|
60024
|
+
"name": "ROLE_PAIRED_INK",
|
|
60025
|
+
"module": "dist/shared/theme.js"
|
|
60026
|
+
}
|
|
60027
|
+
},
|
|
60028
|
+
{
|
|
60029
|
+
"kind": "js",
|
|
60030
|
+
"name": "compileRoles",
|
|
60031
|
+
"declaration": {
|
|
60032
|
+
"name": "compileRoles",
|
|
60033
|
+
"module": "dist/shared/theme.js"
|
|
60034
|
+
}
|
|
60035
|
+
},
|
|
60036
|
+
{
|
|
60037
|
+
"kind": "js",
|
|
60038
|
+
"name": "TOKEN_PAIRINGS",
|
|
60039
|
+
"declaration": {
|
|
60040
|
+
"name": "TOKEN_PAIRINGS",
|
|
60041
|
+
"module": "dist/shared/theme.js"
|
|
60042
|
+
}
|
|
60043
|
+
},
|
|
59790
60044
|
{
|
|
59791
60045
|
"kind": "js",
|
|
59792
60046
|
"name": "SEMANTIC_COLOR_NAMES",
|
|
@@ -60198,6 +60452,142 @@
|
|
|
60198
60452
|
}
|
|
60199
60453
|
]
|
|
60200
60454
|
},
|
|
60455
|
+
{
|
|
60456
|
+
"kind": "javascript-module",
|
|
60457
|
+
"path": "dist/shared/variant-engine.js",
|
|
60458
|
+
"declarations": [
|
|
60459
|
+
{
|
|
60460
|
+
"kind": "function",
|
|
60461
|
+
"name": "parseAnchorSource",
|
|
60462
|
+
"return": {
|
|
60463
|
+
"type": {
|
|
60464
|
+
"text": "AnchorReference | null"
|
|
60465
|
+
}
|
|
60466
|
+
},
|
|
60467
|
+
"parameters": [
|
|
60468
|
+
{
|
|
60469
|
+
"name": "source",
|
|
60470
|
+
"type": {
|
|
60471
|
+
"text": "string"
|
|
60472
|
+
}
|
|
60473
|
+
}
|
|
60474
|
+
],
|
|
60475
|
+
"description": "Parse an `anchor:` mapping source, or return `null` for another source form."
|
|
60476
|
+
},
|
|
60477
|
+
{
|
|
60478
|
+
"kind": "function",
|
|
60479
|
+
"name": "resolveAnchorColor",
|
|
60480
|
+
"return": {
|
|
60481
|
+
"type": {
|
|
60482
|
+
"text": "string | null"
|
|
60483
|
+
}
|
|
60484
|
+
},
|
|
60485
|
+
"parameters": [
|
|
60486
|
+
{
|
|
60487
|
+
"name": "anchors",
|
|
60488
|
+
"type": {
|
|
60489
|
+
"text": "ThemeAnchors"
|
|
60490
|
+
}
|
|
60491
|
+
},
|
|
60492
|
+
{
|
|
60493
|
+
"name": "reference",
|
|
60494
|
+
"type": {
|
|
60495
|
+
"text": "AnchorReference"
|
|
60496
|
+
}
|
|
60497
|
+
}
|
|
60498
|
+
],
|
|
60499
|
+
"description": "Resolve an anchor's base color or named slot to its declared color string."
|
|
60500
|
+
},
|
|
60501
|
+
{
|
|
60502
|
+
"kind": "function",
|
|
60503
|
+
"name": "resolveMappingSource",
|
|
60504
|
+
"return": {
|
|
60505
|
+
"type": {
|
|
60506
|
+
"text": "OklchColor | null"
|
|
60507
|
+
}
|
|
60508
|
+
},
|
|
60509
|
+
"parameters": [
|
|
60510
|
+
{
|
|
60511
|
+
"name": "source",
|
|
60512
|
+
"type": {
|
|
60513
|
+
"text": "MappingSource"
|
|
60514
|
+
}
|
|
60515
|
+
},
|
|
60516
|
+
{
|
|
60517
|
+
"name": "variants",
|
|
60518
|
+
"type": {
|
|
60519
|
+
"text": "Record<ColorSource, OklchColor>"
|
|
60520
|
+
}
|
|
60521
|
+
},
|
|
60522
|
+
{
|
|
60523
|
+
"name": "anchors",
|
|
60524
|
+
"type": {
|
|
60525
|
+
"text": "ThemeAnchors"
|
|
60526
|
+
}
|
|
60527
|
+
}
|
|
60528
|
+
],
|
|
60529
|
+
"description": "Resolve a semantic mapping source to the base color the pipeline uses.\n\nThis OKLCH-typed helper deliberately lives below the public theme module:\nexposing it from `theme.ts` would pull the private color-engine declaration\ninto the package's supported declaration graph."
|
|
60530
|
+
},
|
|
60531
|
+
{
|
|
60532
|
+
"kind": "function",
|
|
60533
|
+
"name": "computeVariants",
|
|
60534
|
+
"return": {
|
|
60535
|
+
"type": {
|
|
60536
|
+
"text": "Record<ColorSource, OklchColor>"
|
|
60537
|
+
}
|
|
60538
|
+
},
|
|
60539
|
+
"parameters": [
|
|
60540
|
+
{
|
|
60541
|
+
"name": "seed",
|
|
60542
|
+
"type": {
|
|
60543
|
+
"text": "OklchColor"
|
|
60544
|
+
}
|
|
60545
|
+
},
|
|
60546
|
+
{
|
|
60547
|
+
"name": "theme",
|
|
60548
|
+
"type": {
|
|
60549
|
+
"text": "VariantThemeInputs"
|
|
60550
|
+
}
|
|
60551
|
+
}
|
|
60552
|
+
],
|
|
60553
|
+
"description": "Derive all geometric and fixed-hue variants from a seed color.\n\nThis lower-level module is shared by merge-time role compilation and the\nproperty pipeline. Keeping the derivation here lets the roles layer score\nthe surface the pipeline will actually emit without copying variant math or\nintroducing a theme-to-root-helper module cycle."
|
|
60554
|
+
}
|
|
60555
|
+
],
|
|
60556
|
+
"exports": [
|
|
60557
|
+
{
|
|
60558
|
+
"kind": "js",
|
|
60559
|
+
"name": "parseAnchorSource",
|
|
60560
|
+
"declaration": {
|
|
60561
|
+
"name": "parseAnchorSource",
|
|
60562
|
+
"module": "dist/shared/variant-engine.js"
|
|
60563
|
+
}
|
|
60564
|
+
},
|
|
60565
|
+
{
|
|
60566
|
+
"kind": "js",
|
|
60567
|
+
"name": "resolveAnchorColor",
|
|
60568
|
+
"declaration": {
|
|
60569
|
+
"name": "resolveAnchorColor",
|
|
60570
|
+
"module": "dist/shared/variant-engine.js"
|
|
60571
|
+
}
|
|
60572
|
+
},
|
|
60573
|
+
{
|
|
60574
|
+
"kind": "js",
|
|
60575
|
+
"name": "resolveMappingSource",
|
|
60576
|
+
"declaration": {
|
|
60577
|
+
"name": "resolveMappingSource",
|
|
60578
|
+
"module": "dist/shared/variant-engine.js"
|
|
60579
|
+
}
|
|
60580
|
+
},
|
|
60581
|
+
{
|
|
60582
|
+
"kind": "js",
|
|
60583
|
+
"name": "computeVariants",
|
|
60584
|
+
"declaration": {
|
|
60585
|
+
"name": "computeVariants",
|
|
60586
|
+
"module": "dist/shared/variant-engine.js"
|
|
60587
|
+
}
|
|
60588
|
+
}
|
|
60589
|
+
]
|
|
60590
|
+
},
|
|
60201
60591
|
{
|
|
60202
60592
|
"kind": "javascript-module",
|
|
60203
60593
|
"path": "dist/shared/viewport.js",
|
|
@@ -61371,14 +61761,11 @@
|
|
|
61371
61761
|
{
|
|
61372
61762
|
"kind": "field",
|
|
61373
61763
|
"name": "textContrast",
|
|
61374
|
-
"type": {
|
|
61375
|
-
"text": "Partial<\n Record<SemanticColorName, { bg: SemanticColorName; targetLc: number }>\n >"
|
|
61376
|
-
},
|
|
61377
61764
|
"privacy": "private",
|
|
61378
61765
|
"static": true,
|
|
61379
61766
|
"readonly": true,
|
|
61380
|
-
"default": "
|
|
61381
|
-
"description": "
|
|
61767
|
+
"default": "TOKEN_PAIRINGS",
|
|
61768
|
+
"description": "Which ink sits on which surface, and at what APCA target.\n\nReads the single pairing table in the theme model rather than\ncarrying a second copy: an identical literal used to live here and\nin `compute-theme-properties.ts`, which is precisely the drift the\nrepository's adoption rules exist to catch. See ESP0164.",
|
|
61382
61769
|
"inheritedFrom": {
|
|
61383
61770
|
"name": "EspalierElementBase",
|
|
61384
61771
|
"module": "dist/shared/esp-element-base.js"
|
|
@@ -61436,7 +61823,7 @@
|
|
|
61436
61823
|
"privacy": "private",
|
|
61437
61824
|
"return": {
|
|
61438
61825
|
"type": {
|
|
61439
|
-
"text": "
|
|
61826
|
+
"text": "MappingSource"
|
|
61440
61827
|
}
|
|
61441
61828
|
},
|
|
61442
61829
|
"parameters": [
|
|
@@ -61449,7 +61836,7 @@
|
|
|
61449
61836
|
{
|
|
61450
61837
|
"name": "mappedSource",
|
|
61451
61838
|
"type": {
|
|
61452
|
-
"text": "
|
|
61839
|
+
"text": "MappingSource"
|
|
61453
61840
|
}
|
|
61454
61841
|
},
|
|
61455
61842
|
{
|
|
@@ -62314,14 +62701,11 @@
|
|
|
62314
62701
|
{
|
|
62315
62702
|
"kind": "field",
|
|
62316
62703
|
"name": "textContrast",
|
|
62317
|
-
"type": {
|
|
62318
|
-
"text": "Partial<\n Record<SemanticColorName, { bg: SemanticColorName; targetLc: number }>\n >"
|
|
62319
|
-
},
|
|
62320
62704
|
"privacy": "private",
|
|
62321
62705
|
"static": true,
|
|
62322
62706
|
"readonly": true,
|
|
62323
|
-
"default": "
|
|
62324
|
-
"description": "
|
|
62707
|
+
"default": "TOKEN_PAIRINGS",
|
|
62708
|
+
"description": "Which ink sits on which surface, and at what APCA target.\n\nReads the single pairing table in the theme model rather than\ncarrying a second copy: an identical literal used to live here and\nin `compute-theme-properties.ts`, which is precisely the drift the\nrepository's adoption rules exist to catch. See ESP0164.",
|
|
62325
62709
|
"inheritedFrom": {
|
|
62326
62710
|
"name": "EspalierElementBase",
|
|
62327
62711
|
"module": "dist/shared/esp-element-base.js"
|
|
@@ -62379,7 +62763,7 @@
|
|
|
62379
62763
|
"privacy": "private",
|
|
62380
62764
|
"return": {
|
|
62381
62765
|
"type": {
|
|
62382
|
-
"text": "
|
|
62766
|
+
"text": "MappingSource"
|
|
62383
62767
|
}
|
|
62384
62768
|
},
|
|
62385
62769
|
"parameters": [
|
|
@@ -62392,7 +62776,7 @@
|
|
|
62392
62776
|
{
|
|
62393
62777
|
"name": "mappedSource",
|
|
62394
62778
|
"type": {
|
|
62395
|
-
"text": "
|
|
62779
|
+
"text": "MappingSource"
|
|
62396
62780
|
}
|
|
62397
62781
|
},
|
|
62398
62782
|
{
|
|
@@ -63310,14 +63694,11 @@
|
|
|
63310
63694
|
{
|
|
63311
63695
|
"kind": "field",
|
|
63312
63696
|
"name": "textContrast",
|
|
63313
|
-
"type": {
|
|
63314
|
-
"text": "Partial<\n Record<SemanticColorName, { bg: SemanticColorName; targetLc: number }>\n >"
|
|
63315
|
-
},
|
|
63316
63697
|
"privacy": "private",
|
|
63317
63698
|
"static": true,
|
|
63318
63699
|
"readonly": true,
|
|
63319
|
-
"default": "
|
|
63320
|
-
"description": "
|
|
63700
|
+
"default": "TOKEN_PAIRINGS",
|
|
63701
|
+
"description": "Which ink sits on which surface, and at what APCA target.\n\nReads the single pairing table in the theme model rather than\ncarrying a second copy: an identical literal used to live here and\nin `compute-theme-properties.ts`, which is precisely the drift the\nrepository's adoption rules exist to catch. See ESP0164.",
|
|
63321
63702
|
"inheritedFrom": {
|
|
63322
63703
|
"name": "EspalierElementBase",
|
|
63323
63704
|
"module": "dist/shared/esp-element-base.js"
|
|
@@ -63375,7 +63756,7 @@
|
|
|
63375
63756
|
"privacy": "private",
|
|
63376
63757
|
"return": {
|
|
63377
63758
|
"type": {
|
|
63378
|
-
"text": "
|
|
63759
|
+
"text": "MappingSource"
|
|
63379
63760
|
}
|
|
63380
63761
|
},
|
|
63381
63762
|
"parameters": [
|
|
@@ -63388,7 +63769,7 @@
|
|
|
63388
63769
|
{
|
|
63389
63770
|
"name": "mappedSource",
|
|
63390
63771
|
"type": {
|
|
63391
|
-
"text": "
|
|
63772
|
+
"text": "MappingSource"
|
|
63392
63773
|
}
|
|
63393
63774
|
},
|
|
63394
63775
|
{
|
|
@@ -63631,187 +64012,244 @@
|
|
|
63631
64012
|
},
|
|
63632
64013
|
{
|
|
63633
64014
|
"kind": "javascript-module",
|
|
63634
|
-
"path": "dist/
|
|
64015
|
+
"path": "dist/textarea/esp-textarea.js",
|
|
63635
64016
|
"declarations": [
|
|
63636
64017
|
{
|
|
63637
64018
|
"kind": "class",
|
|
63638
|
-
"description": "
|
|
63639
|
-
"name": "
|
|
63640
|
-
"
|
|
64019
|
+
"description": "Wraps a standard HTML textarea element, providing value\nbinding, input validation, and programmatic focus for\nEspalier forms and UIs.\n\n```html\n<esp-box>\n <h2>esp-textarea example</h2>\n <p>Start typing...</p>\n <esp-textarea value=\"Hello from the textarea!\"></esp-textarea>\n</esp-box>\n<script>\n const theTextarea = findByTagName(\"esp-textarea\")[0];\n const theP = findByTagName(\"p\")[0];\n theTextarea.addEventListener(\"value-changed\", (ev) => {\n theP.innerText = ev.detail.length\n ? ev.detail\n : \"The textarea is empty...\";\n });\n</script>\n```\n\nTextarea can have [color variants](/espalier-guides/).\nHere are some examples:\n\n```html\n<esp-textarea variant=\"split-complementary-left\"></esp-textarea>\n<esp-textarea variant=\"analogous-left\"></esp-textarea>\n```\n\n### Validation with minlength and maxlength\n\n```html\n<esp-box>\n <esp-form-item label=\"Bio (10-500 characters)\">\n <esp-textarea name=\"bio\" required minlength=\"10\" maxlength=\"500\"\n rows=\"4\" placeholder=\"Tell us about yourself...\">\n </esp-textarea>\n </esp-form-item>\n</esp-box>\n```\n\n### Disabled textarea\n\n```html\n<esp-box>\n <esp-form-item label=\"Read-only notes\">\n <esp-textarea disabled value=\"This textarea is disabled.\"></esp-textarea>\n </esp-form-item>\n</esp-box>\n```",
|
|
64020
|
+
"name": "EspalierTextarea",
|
|
64021
|
+
"members": [
|
|
63641
64022
|
{
|
|
63642
|
-
"
|
|
63643
|
-
"name": "
|
|
64023
|
+
"kind": "field",
|
|
64024
|
+
"name": "formAssociated",
|
|
64025
|
+
"type": {
|
|
64026
|
+
"text": "boolean"
|
|
64027
|
+
},
|
|
64028
|
+
"static": true,
|
|
64029
|
+
"default": "true"
|
|
63644
64030
|
},
|
|
63645
64031
|
{
|
|
63646
|
-
"
|
|
63647
|
-
"name": "
|
|
64032
|
+
"kind": "field",
|
|
64033
|
+
"name": "internals",
|
|
64034
|
+
"privacy": "private"
|
|
63648
64035
|
},
|
|
63649
64036
|
{
|
|
63650
|
-
"
|
|
63651
|
-
"name": "
|
|
64037
|
+
"kind": "field",
|
|
64038
|
+
"name": "theTextarea",
|
|
64039
|
+
"privacy": "private"
|
|
63652
64040
|
},
|
|
63653
64041
|
{
|
|
63654
|
-
"
|
|
63655
|
-
"name": "
|
|
64042
|
+
"kind": "field",
|
|
64043
|
+
"name": "formCtrl",
|
|
64044
|
+
"privacy": "private",
|
|
64045
|
+
"default": "new FormFieldController({ host: this, internals: this.internals, getFormValue: () => this.value || null, getValidity: () => this._getValidity(), getValidationAnchor: (): HTMLElement => this.theTextarea.value ?? this, onReset: () => { this.value = \"\"; this._hasVisibleError = false; }, onRestore: (state: string) => { this.value = state; }, onDisabled: (isDisabled: boolean) => { this.disabled = isDisabled; }, })"
|
|
63656
64046
|
},
|
|
63657
64047
|
{
|
|
63658
|
-
"
|
|
63659
|
-
"name": "
|
|
64048
|
+
"kind": "field",
|
|
64049
|
+
"name": "formItemDescription",
|
|
64050
|
+
"privacy": "private",
|
|
64051
|
+
"default": "new FormFieldDescriptionController({ host: this, getTarget: () => this.theTextarea.value, })"
|
|
63660
64052
|
},
|
|
63661
64053
|
{
|
|
63662
|
-
"
|
|
63663
|
-
"name": "
|
|
64054
|
+
"kind": "field",
|
|
64055
|
+
"name": "_hasVisibleError",
|
|
64056
|
+
"type": {
|
|
64057
|
+
"text": "boolean"
|
|
64058
|
+
},
|
|
64059
|
+
"privacy": "private",
|
|
64060
|
+
"default": "false"
|
|
63664
64061
|
},
|
|
63665
64062
|
{
|
|
63666
|
-
"
|
|
63667
|
-
"name": "
|
|
64063
|
+
"kind": "field",
|
|
64064
|
+
"name": "fieldName",
|
|
64065
|
+
"type": {
|
|
64066
|
+
"text": "string"
|
|
64067
|
+
},
|
|
64068
|
+
"privacy": "public",
|
|
64069
|
+
"default": "\"\"",
|
|
64070
|
+
"description": "A string value used for the id of the textarea.\n\n```html\n<esp-textarea field-name=\"comments\"></esp-textarea>\n```",
|
|
64071
|
+
"attribute": "field-name"
|
|
63668
64072
|
},
|
|
63669
64073
|
{
|
|
63670
|
-
"
|
|
63671
|
-
"name": "
|
|
63672
|
-
"
|
|
63673
|
-
"
|
|
63674
|
-
|
|
63675
|
-
|
|
64074
|
+
"kind": "field",
|
|
64075
|
+
"name": "value",
|
|
64076
|
+
"type": {
|
|
64077
|
+
"text": "string"
|
|
64078
|
+
},
|
|
64079
|
+
"privacy": "public",
|
|
64080
|
+
"default": "\"\"",
|
|
64081
|
+
"description": "The value of the textarea.\n\n```html\n<esp-textarea value=\"Some text\"></esp-textarea>\n```",
|
|
64082
|
+
"attribute": "value"
|
|
63676
64083
|
},
|
|
63677
64084
|
{
|
|
63678
|
-
"
|
|
63679
|
-
"name": "
|
|
63680
|
-
"
|
|
63681
|
-
"
|
|
63682
|
-
|
|
63683
|
-
|
|
64085
|
+
"kind": "field",
|
|
64086
|
+
"name": "name",
|
|
64087
|
+
"type": {
|
|
64088
|
+
"text": "string"
|
|
64089
|
+
},
|
|
64090
|
+
"privacy": "public",
|
|
64091
|
+
"default": "\"\"",
|
|
64092
|
+
"description": "The name used when the textarea participates in a `<form>`.\n\n```html\n<form>\n <esp-textarea name=\"comments\" value=\"Hello\"></esp-textarea>\n</form>\n```",
|
|
64093
|
+
"attribute": "name",
|
|
64094
|
+
"reflects": true
|
|
63684
64095
|
},
|
|
63685
64096
|
{
|
|
63686
|
-
"
|
|
63687
|
-
"name": "
|
|
63688
|
-
"
|
|
63689
|
-
"
|
|
63690
|
-
|
|
63691
|
-
|
|
64097
|
+
"kind": "field",
|
|
64098
|
+
"name": "required",
|
|
64099
|
+
"type": {
|
|
64100
|
+
"text": "boolean"
|
|
64101
|
+
},
|
|
64102
|
+
"privacy": "public",
|
|
64103
|
+
"default": "false",
|
|
64104
|
+
"description": "When true, the field must have a value before the form can be\nsubmitted.\n\n```html\n<esp-textarea required></esp-textarea>\n```",
|
|
64105
|
+
"attribute": "required",
|
|
64106
|
+
"reflects": true
|
|
63692
64107
|
},
|
|
63693
64108
|
{
|
|
63694
|
-
"
|
|
63695
|
-
"name": "
|
|
63696
|
-
"
|
|
63697
|
-
"
|
|
63698
|
-
|
|
63699
|
-
|
|
64109
|
+
"kind": "field",
|
|
64110
|
+
"name": "requiredMessage",
|
|
64111
|
+
"type": {
|
|
64112
|
+
"text": "string"
|
|
64113
|
+
},
|
|
64114
|
+
"privacy": "public",
|
|
64115
|
+
"default": "\"\"",
|
|
64116
|
+
"description": "A custom message to display when the field is required but empty.\nDefaults to `\"Please fill out this field.\"` when not set.\n\n```html\n<esp-textarea required required-message=\"Comments are required!\"></esp-textarea>\n```",
|
|
64117
|
+
"attribute": "required-message"
|
|
63700
64118
|
},
|
|
63701
64119
|
{
|
|
63702
|
-
"
|
|
63703
|
-
"name": "
|
|
63704
|
-
"
|
|
63705
|
-
"
|
|
63706
|
-
|
|
63707
|
-
|
|
64120
|
+
"kind": "field",
|
|
64121
|
+
"name": "validationMessage",
|
|
64122
|
+
"type": {
|
|
64123
|
+
"text": "string"
|
|
64124
|
+
},
|
|
64125
|
+
"privacy": "public",
|
|
64126
|
+
"default": "\"\"",
|
|
64127
|
+
"description": "A custom message to display when validation fails (e.g.\nminlength not met). Overrides the default friendly message.\n\n```html\n<esp-textarea minlength=\"10\"\n validation-message=\"Please write at least 10 characters.\">\n</esp-textarea>\n```",
|
|
64128
|
+
"attribute": "validation-message"
|
|
63708
64129
|
},
|
|
63709
64130
|
{
|
|
63710
|
-
"
|
|
63711
|
-
"name": "
|
|
63712
|
-
"
|
|
63713
|
-
"
|
|
63714
|
-
|
|
63715
|
-
|
|
64131
|
+
"kind": "field",
|
|
64132
|
+
"name": "disabled",
|
|
64133
|
+
"type": {
|
|
64134
|
+
"text": "boolean"
|
|
64135
|
+
},
|
|
64136
|
+
"privacy": "public",
|
|
64137
|
+
"default": "false",
|
|
64138
|
+
"description": "When true, the textarea is disabled and cannot be\ninteracted with.\n\n```html\n<esp-textarea disabled></esp-textarea>\n```",
|
|
64139
|
+
"attribute": "disabled",
|
|
64140
|
+
"reflects": true
|
|
63716
64141
|
},
|
|
63717
64142
|
{
|
|
63718
|
-
"
|
|
63719
|
-
"name": "
|
|
63720
|
-
"
|
|
63721
|
-
"
|
|
63722
|
-
|
|
63723
|
-
|
|
63724
|
-
|
|
63725
|
-
|
|
63726
|
-
"cssParts": [
|
|
63727
|
-
{
|
|
63728
|
-
"description": "The tab strip container.",
|
|
63729
|
-
"name": "tab-list"
|
|
64143
|
+
"kind": "field",
|
|
64144
|
+
"name": "placeholder",
|
|
64145
|
+
"type": {
|
|
64146
|
+
"text": "string | undefined"
|
|
64147
|
+
},
|
|
64148
|
+
"privacy": "public",
|
|
64149
|
+
"description": "Placeholder text shown when the textarea is empty.\n\n```html\n<esp-textarea placeholder=\"Enter your message...\"></esp-textarea>\n```",
|
|
64150
|
+
"attribute": "placeholder"
|
|
63730
64151
|
},
|
|
63731
64152
|
{
|
|
63732
|
-
"
|
|
63733
|
-
"name": "
|
|
64153
|
+
"kind": "field",
|
|
64154
|
+
"name": "rows",
|
|
64155
|
+
"type": {
|
|
64156
|
+
"text": "number | undefined"
|
|
64157
|
+
},
|
|
64158
|
+
"privacy": "public",
|
|
64159
|
+
"description": "The visible number of text lines.\n\n```html\n<esp-textarea rows=\"6\"></esp-textarea>\n```",
|
|
64160
|
+
"attribute": "rows"
|
|
63734
64161
|
},
|
|
63735
|
-
{
|
|
63736
|
-
"description": "The panel area below the tab strip.",
|
|
63737
|
-
"name": "panels"
|
|
63738
|
-
}
|
|
63739
|
-
],
|
|
63740
|
-
"slots": [
|
|
63741
|
-
{
|
|
63742
|
-
"description": "Place `esp-tab` elements in the default slot.",
|
|
63743
|
-
"name": ""
|
|
63744
|
-
}
|
|
63745
|
-
],
|
|
63746
|
-
"members": [
|
|
63747
64162
|
{
|
|
63748
64163
|
"kind": "field",
|
|
63749
|
-
"name": "
|
|
63750
|
-
"
|
|
64164
|
+
"name": "cols",
|
|
64165
|
+
"type": {
|
|
64166
|
+
"text": "number | undefined"
|
|
64167
|
+
},
|
|
64168
|
+
"privacy": "public",
|
|
64169
|
+
"description": "The visible width in average character widths.\n\n```html\n<esp-textarea cols=\"40\"></esp-textarea>\n```",
|
|
64170
|
+
"attribute": "cols"
|
|
63751
64171
|
},
|
|
63752
64172
|
{
|
|
63753
64173
|
"kind": "field",
|
|
63754
|
-
"name": "
|
|
64174
|
+
"name": "minlength",
|
|
63755
64175
|
"type": {
|
|
63756
|
-
"text": "
|
|
64176
|
+
"text": "number | undefined"
|
|
63757
64177
|
},
|
|
63758
64178
|
"privacy": "public",
|
|
63759
|
-
"
|
|
63760
|
-
"
|
|
63761
|
-
"attribute": "disabled",
|
|
63762
|
-
"reflects": true
|
|
64179
|
+
"description": "Minimum number of characters.",
|
|
64180
|
+
"attribute": "minlength"
|
|
63763
64181
|
},
|
|
63764
64182
|
{
|
|
63765
64183
|
"kind": "field",
|
|
63766
|
-
"name": "
|
|
64184
|
+
"name": "maxlength",
|
|
63767
64185
|
"type": {
|
|
63768
|
-
"text": "
|
|
64186
|
+
"text": "number | undefined"
|
|
63769
64187
|
},
|
|
64188
|
+
"privacy": "public",
|
|
64189
|
+
"description": "Maximum number of characters.",
|
|
64190
|
+
"attribute": "maxlength"
|
|
64191
|
+
},
|
|
64192
|
+
{
|
|
64193
|
+
"kind": "method",
|
|
64194
|
+
"name": "handleInput",
|
|
63770
64195
|
"privacy": "private",
|
|
63771
|
-
"
|
|
64196
|
+
"parameters": [
|
|
64197
|
+
{
|
|
64198
|
+
"name": "e",
|
|
64199
|
+
"type": {
|
|
64200
|
+
"text": "InputEvent"
|
|
64201
|
+
}
|
|
64202
|
+
}
|
|
64203
|
+
]
|
|
63772
64204
|
},
|
|
63773
64205
|
{
|
|
63774
64206
|
"kind": "method",
|
|
63775
|
-
"name": "
|
|
64207
|
+
"name": "_syncInput",
|
|
63776
64208
|
"privacy": "private",
|
|
63777
64209
|
"return": {
|
|
63778
64210
|
"type": {
|
|
63779
|
-
"text": "
|
|
64211
|
+
"text": "void"
|
|
63780
64212
|
}
|
|
63781
|
-
}
|
|
64213
|
+
},
|
|
64214
|
+
"description": "Sync the form value and fire `value-changed`. If the field\nis already showing an error, validate eagerly so the error\nclears immediately when the user fixes it. Otherwise just\nsync silently — errors will appear on blur."
|
|
63782
64215
|
},
|
|
63783
64216
|
{
|
|
63784
64217
|
"kind": "method",
|
|
63785
|
-
"name": "
|
|
64218
|
+
"name": "_handleBlur",
|
|
64219
|
+
"privacy": "private"
|
|
64220
|
+
},
|
|
64221
|
+
{
|
|
64222
|
+
"kind": "method",
|
|
64223
|
+
"name": "_getValidity",
|
|
63786
64224
|
"privacy": "private",
|
|
63787
64225
|
"return": {
|
|
63788
64226
|
"type": {
|
|
63789
|
-
"text": "
|
|
64227
|
+
"text": "{\n flags: ValidityStateFlags;\n message: string;\n } | null"
|
|
63790
64228
|
}
|
|
63791
64229
|
}
|
|
63792
64230
|
},
|
|
63793
64231
|
{
|
|
63794
64232
|
"kind": "method",
|
|
63795
|
-
"name": "
|
|
64233
|
+
"name": "_getFriendlyMessage",
|
|
63796
64234
|
"privacy": "private",
|
|
63797
64235
|
"return": {
|
|
63798
64236
|
"type": {
|
|
63799
|
-
"text": "
|
|
64237
|
+
"text": "string"
|
|
63800
64238
|
}
|
|
63801
64239
|
},
|
|
63802
64240
|
"parameters": [
|
|
63803
64241
|
{
|
|
63804
|
-
"name": "
|
|
64242
|
+
"name": "flags",
|
|
63805
64243
|
"type": {
|
|
63806
|
-
"text": "
|
|
64244
|
+
"text": "ValidityStateFlags"
|
|
63807
64245
|
}
|
|
63808
64246
|
}
|
|
63809
64247
|
]
|
|
63810
64248
|
},
|
|
63811
64249
|
{
|
|
63812
64250
|
"kind": "method",
|
|
63813
|
-
"name": "
|
|
63814
|
-
"privacy": "
|
|
64251
|
+
"name": "focus",
|
|
64252
|
+
"privacy": "public",
|
|
63815
64253
|
"return": {
|
|
63816
64254
|
"type": {
|
|
63817
64255
|
"text": "void"
|
|
@@ -63819,50 +64257,87 @@
|
|
|
63819
64257
|
},
|
|
63820
64258
|
"parameters": [
|
|
63821
64259
|
{
|
|
63822
|
-
"name": "
|
|
64260
|
+
"name": "options",
|
|
64261
|
+
"optional": true,
|
|
63823
64262
|
"type": {
|
|
63824
|
-
"text": "
|
|
64263
|
+
"text": "FocusOptions"
|
|
63825
64264
|
}
|
|
63826
64265
|
}
|
|
63827
|
-
]
|
|
64266
|
+
],
|
|
64267
|
+
"description": "Focus the textarea element.\n\n```html\n<div class=\"textarea-with-button\">\n <esp-textarea value=\"Click to focus -->\"></esp-textarea>\n <esp-button label=\"Focus\" icon=\"arrow-big-left\"></esp-button>\n</div>\n<script>\n const theTextarea = findByTagName(\"esp-textarea\")[0];\n const theButton = findByTagName(\"esp-button\")[0];\n theButton.addEventListener(\"clicked\", () => {\n theTextarea.focus();\n });\n</script>\n```"
|
|
63828
64268
|
},
|
|
63829
64269
|
{
|
|
63830
64270
|
"kind": "method",
|
|
63831
|
-
"name": "
|
|
63832
|
-
"privacy": "
|
|
64271
|
+
"name": "validate",
|
|
64272
|
+
"privacy": "public",
|
|
63833
64273
|
"return": {
|
|
63834
64274
|
"type": {
|
|
63835
64275
|
"text": "void"
|
|
63836
64276
|
}
|
|
63837
64277
|
},
|
|
63838
|
-
"
|
|
63839
|
-
|
|
63840
|
-
|
|
63841
|
-
|
|
63842
|
-
|
|
63843
|
-
|
|
64278
|
+
"description": "Re-run constraint validation and dispatch `validity-changed`."
|
|
64279
|
+
},
|
|
64280
|
+
{
|
|
64281
|
+
"kind": "method",
|
|
64282
|
+
"name": "checkValidity",
|
|
64283
|
+
"privacy": "public",
|
|
64284
|
+
"return": {
|
|
64285
|
+
"type": {
|
|
64286
|
+
"text": "boolean"
|
|
63844
64287
|
}
|
|
63845
|
-
|
|
64288
|
+
},
|
|
64289
|
+
"description": "Check whether the current state is valid (delegates to ElementInternals)."
|
|
63846
64290
|
},
|
|
63847
64291
|
{
|
|
63848
64292
|
"kind": "method",
|
|
63849
|
-
"name": "
|
|
63850
|
-
"privacy": "private",
|
|
64293
|
+
"name": "formResetCallback",
|
|
63851
64294
|
"return": {
|
|
63852
64295
|
"type": {
|
|
63853
64296
|
"text": "void"
|
|
63854
64297
|
}
|
|
63855
|
-
}
|
|
64298
|
+
},
|
|
64299
|
+
"description": "Called by the browser when the owning `<form>` is reset."
|
|
63856
64300
|
},
|
|
63857
64301
|
{
|
|
63858
64302
|
"kind": "method",
|
|
63859
|
-
"name": "
|
|
63860
|
-
"privacy": "private",
|
|
64303
|
+
"name": "formStateRestoreCallback",
|
|
63861
64304
|
"return": {
|
|
63862
64305
|
"type": {
|
|
63863
64306
|
"text": "void"
|
|
63864
64307
|
}
|
|
63865
|
-
}
|
|
64308
|
+
},
|
|
64309
|
+
"parameters": [
|
|
64310
|
+
{
|
|
64311
|
+
"name": "state",
|
|
64312
|
+
"type": {
|
|
64313
|
+
"text": "string"
|
|
64314
|
+
}
|
|
64315
|
+
}
|
|
64316
|
+
],
|
|
64317
|
+
"description": "Called by the browser to restore form state (bfcache, etc.)."
|
|
64318
|
+
},
|
|
64319
|
+
{
|
|
64320
|
+
"kind": "method",
|
|
64321
|
+
"name": "formDisabledCallback",
|
|
64322
|
+
"return": {
|
|
64323
|
+
"type": {
|
|
64324
|
+
"text": "void"
|
|
64325
|
+
}
|
|
64326
|
+
},
|
|
64327
|
+
"parameters": [
|
|
64328
|
+
{
|
|
64329
|
+
"name": "isDisabled",
|
|
64330
|
+
"type": {
|
|
64331
|
+
"text": "boolean"
|
|
64332
|
+
}
|
|
64333
|
+
}
|
|
64334
|
+
],
|
|
64335
|
+
"description": "Called by the browser when a parent `<fieldset>` is enabled or disabled."
|
|
64336
|
+
},
|
|
64337
|
+
{
|
|
64338
|
+
"kind": "field",
|
|
64339
|
+
"name": "_trackVisibleError",
|
|
64340
|
+
"privacy": "private"
|
|
63866
64341
|
},
|
|
63867
64342
|
{
|
|
63868
64343
|
"kind": "field",
|
|
@@ -64206,14 +64681,11 @@
|
|
|
64206
64681
|
{
|
|
64207
64682
|
"kind": "field",
|
|
64208
64683
|
"name": "textContrast",
|
|
64209
|
-
"type": {
|
|
64210
|
-
"text": "Partial<\n Record<SemanticColorName, { bg: SemanticColorName; targetLc: number }>\n >"
|
|
64211
|
-
},
|
|
64212
64684
|
"privacy": "private",
|
|
64213
64685
|
"static": true,
|
|
64214
64686
|
"readonly": true,
|
|
64215
|
-
"default": "
|
|
64216
|
-
"description": "
|
|
64687
|
+
"default": "TOKEN_PAIRINGS",
|
|
64688
|
+
"description": "Which ink sits on which surface, and at what APCA target.\n\nReads the single pairing table in the theme model rather than\ncarrying a second copy: an identical literal used to live here and\nin `compute-theme-properties.ts`, which is precisely the drift the\nrepository's adoption rules exist to catch. See ESP0164.",
|
|
64217
64689
|
"inheritedFrom": {
|
|
64218
64690
|
"name": "EspalierElementBase",
|
|
64219
64691
|
"module": "dist/shared/esp-element-base.js"
|
|
@@ -64271,7 +64743,7 @@
|
|
|
64271
64743
|
"privacy": "private",
|
|
64272
64744
|
"return": {
|
|
64273
64745
|
"type": {
|
|
64274
|
-
"text": "
|
|
64746
|
+
"text": "MappingSource"
|
|
64275
64747
|
}
|
|
64276
64748
|
},
|
|
64277
64749
|
"parameters": [
|
|
@@ -64284,7 +64756,7 @@
|
|
|
64284
64756
|
{
|
|
64285
64757
|
"name": "mappedSource",
|
|
64286
64758
|
"type": {
|
|
64287
|
-
"text": "
|
|
64759
|
+
"text": "MappingSource"
|
|
64288
64760
|
}
|
|
64289
64761
|
},
|
|
64290
64762
|
{
|
|
@@ -64358,18 +64830,12 @@
|
|
|
64358
64830
|
}
|
|
64359
64831
|
],
|
|
64360
64832
|
"events": [
|
|
64361
|
-
{
|
|
64362
|
-
"name": "esp-tab-changed",
|
|
64363
|
-
"type": {
|
|
64364
|
-
"text": "CustomEvent<{ index: number; label: string }>"
|
|
64365
|
-
},
|
|
64366
|
-
"description": "Fired when the active tab changes. The detail contains the `index` and `label` of the newly active tab."
|
|
64367
|
-
},
|
|
64368
64833
|
{
|
|
64369
64834
|
"name": "value-changed",
|
|
64370
64835
|
"type": {
|
|
64371
64836
|
"text": "CustomEvent"
|
|
64372
64837
|
},
|
|
64838
|
+
"description": "Emitted when the textarea value changes. ```html <esp-box> <p>Start typing...</p> <esp-textarea></esp-textarea> </esp-box> <script> const theTextarea = findByTagName(\"esp-textarea\")[0]; const theP = findByTagName(\"p\")[0]; theTextarea.addEventListener(\"value-changed\", (ev) => { theP.innerText = ev.detail.length ? ev.detail : \"The textarea is empty...\"; }); </script> ```",
|
|
64373
64839
|
"inheritedFrom": {
|
|
64374
64840
|
"name": "EspalierElementBase",
|
|
64375
64841
|
"module": "dist/shared/esp-element-base.js"
|
|
@@ -64377,15 +64843,109 @@
|
|
|
64377
64843
|
}
|
|
64378
64844
|
],
|
|
64379
64845
|
"attributes": [
|
|
64846
|
+
{
|
|
64847
|
+
"name": "field-name",
|
|
64848
|
+
"type": {
|
|
64849
|
+
"text": "string"
|
|
64850
|
+
},
|
|
64851
|
+
"default": "\"\"",
|
|
64852
|
+
"description": "A string value used for the id of the textarea.\n\n```html\n<esp-textarea field-name=\"comments\"></esp-textarea>\n```",
|
|
64853
|
+
"fieldName": "fieldName"
|
|
64854
|
+
},
|
|
64855
|
+
{
|
|
64856
|
+
"name": "value",
|
|
64857
|
+
"type": {
|
|
64858
|
+
"text": "string"
|
|
64859
|
+
},
|
|
64860
|
+
"default": "\"\"",
|
|
64861
|
+
"description": "The value of the textarea.\n\n```html\n<esp-textarea value=\"Some text\"></esp-textarea>\n```",
|
|
64862
|
+
"fieldName": "value"
|
|
64863
|
+
},
|
|
64864
|
+
{
|
|
64865
|
+
"name": "name",
|
|
64866
|
+
"type": {
|
|
64867
|
+
"text": "string"
|
|
64868
|
+
},
|
|
64869
|
+
"default": "\"\"",
|
|
64870
|
+
"description": "The name used when the textarea participates in a `<form>`.\n\n```html\n<form>\n <esp-textarea name=\"comments\" value=\"Hello\"></esp-textarea>\n</form>\n```",
|
|
64871
|
+
"fieldName": "name"
|
|
64872
|
+
},
|
|
64873
|
+
{
|
|
64874
|
+
"name": "required",
|
|
64875
|
+
"type": {
|
|
64876
|
+
"text": "boolean"
|
|
64877
|
+
},
|
|
64878
|
+
"default": "false",
|
|
64879
|
+
"description": "When true, the field must have a value before the form can be\nsubmitted.\n\n```html\n<esp-textarea required></esp-textarea>\n```",
|
|
64880
|
+
"fieldName": "required"
|
|
64881
|
+
},
|
|
64882
|
+
{
|
|
64883
|
+
"name": "required-message",
|
|
64884
|
+
"type": {
|
|
64885
|
+
"text": "string"
|
|
64886
|
+
},
|
|
64887
|
+
"default": "\"\"",
|
|
64888
|
+
"description": "A custom message to display when the field is required but empty.\nDefaults to `\"Please fill out this field.\"` when not set.\n\n```html\n<esp-textarea required required-message=\"Comments are required!\"></esp-textarea>\n```",
|
|
64889
|
+
"fieldName": "requiredMessage"
|
|
64890
|
+
},
|
|
64891
|
+
{
|
|
64892
|
+
"name": "validation-message",
|
|
64893
|
+
"type": {
|
|
64894
|
+
"text": "string"
|
|
64895
|
+
},
|
|
64896
|
+
"default": "\"\"",
|
|
64897
|
+
"description": "A custom message to display when validation fails (e.g.\nminlength not met). Overrides the default friendly message.\n\n```html\n<esp-textarea minlength=\"10\"\n validation-message=\"Please write at least 10 characters.\">\n</esp-textarea>\n```",
|
|
64898
|
+
"fieldName": "validationMessage"
|
|
64899
|
+
},
|
|
64380
64900
|
{
|
|
64381
64901
|
"name": "disabled",
|
|
64382
64902
|
"type": {
|
|
64383
64903
|
"text": "boolean"
|
|
64384
64904
|
},
|
|
64385
64905
|
"default": "false",
|
|
64386
|
-
"description": "
|
|
64906
|
+
"description": "When true, the textarea is disabled and cannot be\ninteracted with.\n\n```html\n<esp-textarea disabled></esp-textarea>\n```",
|
|
64387
64907
|
"fieldName": "disabled"
|
|
64388
64908
|
},
|
|
64909
|
+
{
|
|
64910
|
+
"name": "placeholder",
|
|
64911
|
+
"type": {
|
|
64912
|
+
"text": "string | undefined"
|
|
64913
|
+
},
|
|
64914
|
+
"description": "Placeholder text shown when the textarea is empty.\n\n```html\n<esp-textarea placeholder=\"Enter your message...\"></esp-textarea>\n```",
|
|
64915
|
+
"fieldName": "placeholder"
|
|
64916
|
+
},
|
|
64917
|
+
{
|
|
64918
|
+
"name": "rows",
|
|
64919
|
+
"type": {
|
|
64920
|
+
"text": "number | undefined"
|
|
64921
|
+
},
|
|
64922
|
+
"description": "The visible number of text lines.\n\n```html\n<esp-textarea rows=\"6\"></esp-textarea>\n```",
|
|
64923
|
+
"fieldName": "rows"
|
|
64924
|
+
},
|
|
64925
|
+
{
|
|
64926
|
+
"name": "cols",
|
|
64927
|
+
"type": {
|
|
64928
|
+
"text": "number | undefined"
|
|
64929
|
+
},
|
|
64930
|
+
"description": "The visible width in average character widths.\n\n```html\n<esp-textarea cols=\"40\"></esp-textarea>\n```",
|
|
64931
|
+
"fieldName": "cols"
|
|
64932
|
+
},
|
|
64933
|
+
{
|
|
64934
|
+
"name": "minlength",
|
|
64935
|
+
"type": {
|
|
64936
|
+
"text": "number | undefined"
|
|
64937
|
+
},
|
|
64938
|
+
"description": "Minimum number of characters.",
|
|
64939
|
+
"fieldName": "minlength"
|
|
64940
|
+
},
|
|
64941
|
+
{
|
|
64942
|
+
"name": "maxlength",
|
|
64943
|
+
"type": {
|
|
64944
|
+
"text": "number | undefined"
|
|
64945
|
+
},
|
|
64946
|
+
"description": "Maximum number of characters.",
|
|
64947
|
+
"fieldName": "maxlength"
|
|
64948
|
+
},
|
|
64389
64949
|
{
|
|
64390
64950
|
"name": "scheme",
|
|
64391
64951
|
"type": {
|
|
@@ -64416,60 +64976,142 @@
|
|
|
64416
64976
|
"name": "EspalierElementBase",
|
|
64417
64977
|
"module": "dist/shared/esp-element-base.js"
|
|
64418
64978
|
},
|
|
64419
|
-
"tagName": "esp-
|
|
64979
|
+
"tagName": "esp-textarea",
|
|
64420
64980
|
"customElement": true,
|
|
64421
64981
|
"docPageTitle": {
|
|
64422
|
-
"name": "
|
|
64423
|
-
"description": "
|
|
64982
|
+
"name": "Textarea",
|
|
64983
|
+
"description": ""
|
|
64424
64984
|
},
|
|
64425
64985
|
"docUrl": {
|
|
64426
|
-
"name": "/components/
|
|
64986
|
+
"name": "/components/textarea",
|
|
64427
64987
|
"description": ""
|
|
64428
64988
|
},
|
|
64429
64989
|
"menuGroup": {
|
|
64430
|
-
"name": "
|
|
64431
|
-
"description": ""
|
|
64990
|
+
"name": "Form",
|
|
64991
|
+
"description": "Controls"
|
|
64432
64992
|
},
|
|
64433
64993
|
"menuLabel": {
|
|
64434
|
-
"name": "
|
|
64435
|
-
"description": "
|
|
64994
|
+
"name": "Textarea",
|
|
64995
|
+
"description": ""
|
|
64436
64996
|
},
|
|
64437
64997
|
"menuIcon": {
|
|
64438
|
-
"name": "
|
|
64998
|
+
"name": "forms",
|
|
64439
64999
|
"description": ""
|
|
64440
|
-
}
|
|
65000
|
+
},
|
|
65001
|
+
"cssProperties": [
|
|
65002
|
+
{
|
|
65003
|
+
"description": "Background color of the shared field shell. Defaults to `var(--esp-color-layer-2)`.",
|
|
65004
|
+
"name": "--esp-field-background",
|
|
65005
|
+
"inheritedFrom": {
|
|
65006
|
+
"name": "EspalierElementBase",
|
|
65007
|
+
"module": "dist/shared/esp-element-base.js"
|
|
65008
|
+
}
|
|
65009
|
+
},
|
|
65010
|
+
{
|
|
65011
|
+
"description": "Border color of the shared field shell. Defaults to `var(--esp-color-border)`.",
|
|
65012
|
+
"name": "--esp-field-border-color",
|
|
65013
|
+
"inheritedFrom": {
|
|
65014
|
+
"name": "EspalierElementBase",
|
|
65015
|
+
"module": "dist/shared/esp-element-base.js"
|
|
65016
|
+
}
|
|
65017
|
+
},
|
|
65018
|
+
{
|
|
65019
|
+
"description": "Border width of the shared field shell. Defaults to `1px`.",
|
|
65020
|
+
"name": "--esp-field-border-width",
|
|
65021
|
+
"inheritedFrom": {
|
|
65022
|
+
"name": "EspalierElementBase",
|
|
65023
|
+
"module": "dist/shared/esp-element-base.js"
|
|
65024
|
+
}
|
|
65025
|
+
},
|
|
65026
|
+
{
|
|
65027
|
+
"description": "Text color used inside the shared field shell. Defaults to `var(--esp-color-text)`.",
|
|
65028
|
+
"name": "--esp-field-text-color",
|
|
65029
|
+
"inheritedFrom": {
|
|
65030
|
+
"name": "EspalierElementBase",
|
|
65031
|
+
"module": "dist/shared/esp-element-base.js"
|
|
65032
|
+
}
|
|
65033
|
+
},
|
|
65034
|
+
{
|
|
65035
|
+
"description": "Hover background color of the shared field shell. Derived from `--esp-field-background`.",
|
|
65036
|
+
"name": "--esp-field-hover-bg",
|
|
65037
|
+
"inheritedFrom": {
|
|
65038
|
+
"name": "EspalierElementBase",
|
|
65039
|
+
"module": "dist/shared/esp-element-base.js"
|
|
65040
|
+
}
|
|
65041
|
+
},
|
|
65042
|
+
{
|
|
65043
|
+
"description": "Focus background color of the shared field shell. Derived from `--esp-field-background`.",
|
|
65044
|
+
"name": "--esp-field-focus-bg",
|
|
65045
|
+
"inheritedFrom": {
|
|
65046
|
+
"name": "EspalierElementBase",
|
|
65047
|
+
"module": "dist/shared/esp-element-base.js"
|
|
65048
|
+
}
|
|
65049
|
+
},
|
|
65050
|
+
{
|
|
65051
|
+
"description": "Shadow color used for shared field focus treatment. Defaults to `var(--esp-color-shadow)`.",
|
|
65052
|
+
"name": "--esp-field-focus-shadow",
|
|
65053
|
+
"inheritedFrom": {
|
|
65054
|
+
"name": "EspalierElementBase",
|
|
65055
|
+
"module": "dist/shared/esp-element-base.js"
|
|
65056
|
+
}
|
|
65057
|
+
}
|
|
65058
|
+
]
|
|
64441
65059
|
}
|
|
64442
65060
|
],
|
|
64443
65061
|
"exports": [
|
|
64444
65062
|
{
|
|
64445
65063
|
"kind": "js",
|
|
64446
|
-
"name": "
|
|
65064
|
+
"name": "EspalierTextarea",
|
|
64447
65065
|
"declaration": {
|
|
64448
|
-
"name": "
|
|
64449
|
-
"module": "dist/
|
|
65066
|
+
"name": "EspalierTextarea",
|
|
65067
|
+
"module": "dist/textarea/esp-textarea.js"
|
|
64450
65068
|
}
|
|
64451
65069
|
},
|
|
64452
65070
|
{
|
|
64453
65071
|
"kind": "custom-element-definition",
|
|
64454
|
-
"name": "esp-
|
|
65072
|
+
"name": "esp-textarea",
|
|
64455
65073
|
"declaration": {
|
|
64456
|
-
"name": "
|
|
64457
|
-
"module": "dist/
|
|
65074
|
+
"name": "EspalierTextarea",
|
|
65075
|
+
"module": "dist/textarea/esp-textarea.js"
|
|
64458
65076
|
}
|
|
64459
65077
|
}
|
|
64460
65078
|
]
|
|
64461
65079
|
},
|
|
64462
65080
|
{
|
|
64463
65081
|
"kind": "javascript-module",
|
|
64464
|
-
"path": "dist/tabs/esp-tab.js",
|
|
65082
|
+
"path": "dist/tabs/esp-tab-group.js",
|
|
64465
65083
|
"declarations": [
|
|
64466
65084
|
{
|
|
64467
65085
|
"kind": "class",
|
|
64468
|
-
"description": "A
|
|
64469
|
-
"name": "
|
|
65086
|
+
"description": "A tabbed interface that groups multiple\n[esp-tab](/components/tabs) elements. The tab strip is\ngenerated automatically from each child's `label` attribute.\nOnly one tab panel is visible at a time.\n\n```html\n<esp-tab-group>\n <esp-tab label=\"Overview\">\n <p>Overview content goes here.</p>\n </esp-tab>\n <esp-tab label=\"Details\">\n <p>Detailed information lives here.</p>\n </esp-tab>\n <esp-tab label=\"Settings\">\n <p>Configuration options.</p>\n </esp-tab>\n</esp-tab-group>\n```\n\n### Pre-selected tab\n\nSet `active` on a child `esp-tab` to make it the initially\nvisible panel:\n\n```html\n<esp-tab-group>\n <esp-tab label=\"Alpha\">\n <p>Alpha panel.</p>\n </esp-tab>\n <esp-tab label=\"Beta\" active>\n <p>Beta starts active.</p>\n </esp-tab>\n</esp-tab-group>\n```\n\n### Disabled tab\n\nIndividual tabs can be disabled:\n\n```html\n<esp-tab-group>\n <esp-tab label=\"Available\">\n <p>You can select this tab.</p>\n </esp-tab>\n <esp-tab label=\"Locked\" disabled>\n <p>This tab cannot be reached.</p>\n </esp-tab>\n <esp-tab label=\"Also available\">\n <p>This tab works too.</p>\n </esp-tab>\n</esp-tab-group>\n```\n\n### Disabled group\n\nSet `disabled` on the group to disable all tabs at once:\n\n```html\n<esp-tab-group disabled>\n <esp-tab label=\"One\">\n <p>All tabs are disabled.</p>\n </esp-tab>\n <esp-tab label=\"Two\">\n <p>Cannot switch to this.</p>\n </esp-tab>\n</esp-tab-group>\n```\n\n### Color variants\n\n```html\n<esp-tab-group variant=\"complementary\">\n <esp-tab label=\"Complementary A\">\n <p>Complementary variant content.</p>\n </esp-tab>\n <esp-tab label=\"Complementary B\">\n <p>More complementary content.</p>\n </esp-tab>\n</esp-tab-group>\n```\n\n### Listening for tab changes\n\n```html\n<esp-tab-group>\n <esp-tab label=\"Tab 1\">\n <p>First panel.</p>\n </esp-tab>\n <esp-tab label=\"Tab 2\">\n <p>Second panel.</p>\n </esp-tab>\n</esp-tab-group>\n<script>\n const tabs = findByTagName(\"esp-tab-group\")[0];\n tabs.addEventListener(\"esp-tab-changed\", (ev) => {\n console.log(\"Switched to:\", ev.detail.label, \"at index\", ev.detail.index);\n });\n</script>\n```",
|
|
65087
|
+
"name": "EspalierTabGroup",
|
|
64470
65088
|
"cssProperties": [
|
|
64471
65089
|
{
|
|
64472
|
-
"description": "
|
|
65090
|
+
"description": "Border color of the tab group container.",
|
|
65091
|
+
"name": "--esp-tab-color-border"
|
|
65092
|
+
},
|
|
65093
|
+
{
|
|
65094
|
+
"description": "Background color of the overall component.",
|
|
65095
|
+
"name": "--esp-tab-color-background"
|
|
65096
|
+
},
|
|
65097
|
+
{
|
|
65098
|
+
"description": "Background color of the tab strip.",
|
|
65099
|
+
"name": "--esp-tab-color-strip-background"
|
|
65100
|
+
},
|
|
65101
|
+
{
|
|
65102
|
+
"description": "Tab button hover background.",
|
|
65103
|
+
"name": "--esp-tab-color-button-hover"
|
|
65104
|
+
},
|
|
65105
|
+
{
|
|
65106
|
+
"description": "Active tab button background.",
|
|
65107
|
+
"name": "--esp-tab-color-button-active"
|
|
65108
|
+
},
|
|
65109
|
+
{
|
|
65110
|
+
"description": "Text color for tab buttons.",
|
|
65111
|
+
"name": "--esp-tab-color-text"
|
|
65112
|
+
},
|
|
65113
|
+
{
|
|
65114
|
+
"description": "Padding inside the panel area and tab buttons.",
|
|
64473
65115
|
"name": "--esp-tab-size-padding"
|
|
64474
65116
|
},
|
|
64475
65117
|
{
|
|
@@ -64531,51 +65173,144 @@
|
|
|
64531
65173
|
],
|
|
64532
65174
|
"cssParts": [
|
|
64533
65175
|
{
|
|
64534
|
-
"description": "The
|
|
64535
|
-
"name": "
|
|
65176
|
+
"description": "The tab strip container.",
|
|
65177
|
+
"name": "tab-list"
|
|
65178
|
+
},
|
|
65179
|
+
{
|
|
65180
|
+
"description": "Each individual tab button in the strip.",
|
|
65181
|
+
"name": "tab-button"
|
|
65182
|
+
},
|
|
65183
|
+
{
|
|
65184
|
+
"description": "The panel area below the tab strip.",
|
|
65185
|
+
"name": "panels"
|
|
64536
65186
|
}
|
|
64537
65187
|
],
|
|
64538
65188
|
"slots": [
|
|
64539
65189
|
{
|
|
64540
|
-
"description": "
|
|
65190
|
+
"description": "Place `esp-tab` elements in the default slot.",
|
|
64541
65191
|
"name": ""
|
|
64542
65192
|
}
|
|
64543
65193
|
],
|
|
64544
65194
|
"members": [
|
|
64545
65195
|
{
|
|
64546
65196
|
"kind": "field",
|
|
64547
|
-
"name": "
|
|
64548
|
-
"
|
|
64549
|
-
"text": "string"
|
|
64550
|
-
},
|
|
64551
|
-
"privacy": "public",
|
|
64552
|
-
"default": "\"\"",
|
|
64553
|
-
"description": "The text displayed in the tab button within the tab strip.",
|
|
64554
|
-
"attribute": "label"
|
|
65197
|
+
"name": "panelsSlot",
|
|
65198
|
+
"privacy": "private"
|
|
64555
65199
|
},
|
|
64556
65200
|
{
|
|
64557
65201
|
"kind": "field",
|
|
64558
|
-
"name": "
|
|
65202
|
+
"name": "disabled",
|
|
64559
65203
|
"type": {
|
|
64560
65204
|
"text": "boolean"
|
|
64561
65205
|
},
|
|
64562
65206
|
"privacy": "public",
|
|
64563
65207
|
"default": "false",
|
|
64564
|
-
"description": "
|
|
64565
|
-
"attribute": "
|
|
65208
|
+
"description": "Disables all tabs in the group, preventing any tab from\nbeing selected.",
|
|
65209
|
+
"attribute": "disabled",
|
|
64566
65210
|
"reflects": true
|
|
64567
65211
|
},
|
|
64568
65212
|
{
|
|
64569
65213
|
"kind": "field",
|
|
64570
|
-
"name": "
|
|
65214
|
+
"name": "tabData",
|
|
64571
65215
|
"type": {
|
|
64572
|
-
"text": "
|
|
65216
|
+
"text": "TabData[]"
|
|
64573
65217
|
},
|
|
64574
|
-
"privacy": "
|
|
64575
|
-
"default": "
|
|
64576
|
-
|
|
64577
|
-
|
|
64578
|
-
"
|
|
65218
|
+
"privacy": "private",
|
|
65219
|
+
"default": "[]"
|
|
65220
|
+
},
|
|
65221
|
+
{
|
|
65222
|
+
"kind": "method",
|
|
65223
|
+
"name": "getTabs",
|
|
65224
|
+
"privacy": "private",
|
|
65225
|
+
"return": {
|
|
65226
|
+
"type": {
|
|
65227
|
+
"text": "EspalierTab[]"
|
|
65228
|
+
}
|
|
65229
|
+
}
|
|
65230
|
+
},
|
|
65231
|
+
{
|
|
65232
|
+
"kind": "method",
|
|
65233
|
+
"name": "syncTabData",
|
|
65234
|
+
"privacy": "private",
|
|
65235
|
+
"return": {
|
|
65236
|
+
"type": {
|
|
65237
|
+
"text": "void"
|
|
65238
|
+
}
|
|
65239
|
+
}
|
|
65240
|
+
},
|
|
65241
|
+
{
|
|
65242
|
+
"kind": "method",
|
|
65243
|
+
"name": "activateTab",
|
|
65244
|
+
"privacy": "private",
|
|
65245
|
+
"return": {
|
|
65246
|
+
"type": {
|
|
65247
|
+
"text": "void"
|
|
65248
|
+
}
|
|
65249
|
+
},
|
|
65250
|
+
"parameters": [
|
|
65251
|
+
{
|
|
65252
|
+
"name": "index",
|
|
65253
|
+
"type": {
|
|
65254
|
+
"text": "number"
|
|
65255
|
+
}
|
|
65256
|
+
}
|
|
65257
|
+
]
|
|
65258
|
+
},
|
|
65259
|
+
{
|
|
65260
|
+
"kind": "method",
|
|
65261
|
+
"name": "handleTabClick",
|
|
65262
|
+
"privacy": "private",
|
|
65263
|
+
"return": {
|
|
65264
|
+
"type": {
|
|
65265
|
+
"text": "void"
|
|
65266
|
+
}
|
|
65267
|
+
},
|
|
65268
|
+
"parameters": [
|
|
65269
|
+
{
|
|
65270
|
+
"name": "index",
|
|
65271
|
+
"type": {
|
|
65272
|
+
"text": "number"
|
|
65273
|
+
}
|
|
65274
|
+
}
|
|
65275
|
+
]
|
|
65276
|
+
},
|
|
65277
|
+
{
|
|
65278
|
+
"kind": "method",
|
|
65279
|
+
"name": "handleKeyDown",
|
|
65280
|
+
"privacy": "private",
|
|
65281
|
+
"return": {
|
|
65282
|
+
"type": {
|
|
65283
|
+
"text": "void"
|
|
65284
|
+
}
|
|
65285
|
+
},
|
|
65286
|
+
"parameters": [
|
|
65287
|
+
{
|
|
65288
|
+
"name": "ev",
|
|
65289
|
+
"type": {
|
|
65290
|
+
"text": "KeyboardEvent"
|
|
65291
|
+
}
|
|
65292
|
+
}
|
|
65293
|
+
]
|
|
65294
|
+
},
|
|
65295
|
+
{
|
|
65296
|
+
"kind": "method",
|
|
65297
|
+
"name": "handleChildUpdated",
|
|
65298
|
+
"privacy": "private",
|
|
65299
|
+
"return": {
|
|
65300
|
+
"type": {
|
|
65301
|
+
"text": "void"
|
|
65302
|
+
}
|
|
65303
|
+
}
|
|
65304
|
+
},
|
|
65305
|
+
{
|
|
65306
|
+
"kind": "method",
|
|
65307
|
+
"name": "handleSlotChange",
|
|
65308
|
+
"privacy": "private",
|
|
65309
|
+
"return": {
|
|
65310
|
+
"type": {
|
|
65311
|
+
"text": "void"
|
|
65312
|
+
}
|
|
65313
|
+
}
|
|
64579
65314
|
},
|
|
64580
65315
|
{
|
|
64581
65316
|
"kind": "field",
|
|
@@ -64919,14 +65654,11 @@
|
|
|
64919
65654
|
{
|
|
64920
65655
|
"kind": "field",
|
|
64921
65656
|
"name": "textContrast",
|
|
64922
|
-
"type": {
|
|
64923
|
-
"text": "Partial<\n Record<SemanticColorName, { bg: SemanticColorName; targetLc: number }>\n >"
|
|
64924
|
-
},
|
|
64925
65657
|
"privacy": "private",
|
|
64926
65658
|
"static": true,
|
|
64927
65659
|
"readonly": true,
|
|
64928
|
-
"default": "
|
|
64929
|
-
"description": "
|
|
65660
|
+
"default": "TOKEN_PAIRINGS",
|
|
65661
|
+
"description": "Which ink sits on which surface, and at what APCA target.\n\nReads the single pairing table in the theme model rather than\ncarrying a second copy: an identical literal used to live here and\nin `compute-theme-properties.ts`, which is precisely the drift the\nrepository's adoption rules exist to catch. See ESP0164.",
|
|
64930
65662
|
"inheritedFrom": {
|
|
64931
65663
|
"name": "EspalierElementBase",
|
|
64932
65664
|
"module": "dist/shared/esp-element-base.js"
|
|
@@ -64984,7 +65716,7 @@
|
|
|
64984
65716
|
"privacy": "private",
|
|
64985
65717
|
"return": {
|
|
64986
65718
|
"type": {
|
|
64987
|
-
"text": "
|
|
65719
|
+
"text": "MappingSource"
|
|
64988
65720
|
}
|
|
64989
65721
|
},
|
|
64990
65722
|
"parameters": [
|
|
@@ -64997,7 +65729,7 @@
|
|
|
64997
65729
|
{
|
|
64998
65730
|
"name": "mappedSource",
|
|
64999
65731
|
"type": {
|
|
65000
|
-
"text": "
|
|
65732
|
+
"text": "MappingSource"
|
|
65001
65733
|
}
|
|
65002
65734
|
},
|
|
65003
65735
|
{
|
|
@@ -65072,11 +65804,11 @@
|
|
|
65072
65804
|
],
|
|
65073
65805
|
"events": [
|
|
65074
65806
|
{
|
|
65075
|
-
"name": "esp-tab-
|
|
65807
|
+
"name": "esp-tab-changed",
|
|
65076
65808
|
"type": {
|
|
65077
|
-
"text": "CustomEvent"
|
|
65809
|
+
"text": "CustomEvent<{ index: number; label: string }>"
|
|
65078
65810
|
},
|
|
65079
|
-
"description": "Fired when the
|
|
65811
|
+
"description": "Fired when the active tab changes. The detail contains the `index` and `label` of the newly active tab."
|
|
65080
65812
|
},
|
|
65081
65813
|
{
|
|
65082
65814
|
"name": "value-changed",
|
|
@@ -65090,31 +65822,13 @@
|
|
|
65090
65822
|
}
|
|
65091
65823
|
],
|
|
65092
65824
|
"attributes": [
|
|
65093
|
-
{
|
|
65094
|
-
"name": "label",
|
|
65095
|
-
"type": {
|
|
65096
|
-
"text": "string"
|
|
65097
|
-
},
|
|
65098
|
-
"default": "\"\"",
|
|
65099
|
-
"description": "The text displayed in the tab button within the tab strip.",
|
|
65100
|
-
"fieldName": "label"
|
|
65101
|
-
},
|
|
65102
|
-
{
|
|
65103
|
-
"name": "active",
|
|
65104
|
-
"type": {
|
|
65105
|
-
"text": "boolean"
|
|
65106
|
-
},
|
|
65107
|
-
"default": "false",
|
|
65108
|
-
"description": "Whether this tab is currently active (its panel is visible).",
|
|
65109
|
-
"fieldName": "active"
|
|
65110
|
-
},
|
|
65111
65825
|
{
|
|
65112
65826
|
"name": "disabled",
|
|
65113
65827
|
"type": {
|
|
65114
65828
|
"text": "boolean"
|
|
65115
65829
|
},
|
|
65116
65830
|
"default": "false",
|
|
65117
|
-
"description": "
|
|
65831
|
+
"description": "Disables all tabs in the group, preventing any tab from\nbeing selected.",
|
|
65118
65832
|
"fieldName": "disabled"
|
|
65119
65833
|
},
|
|
65120
65834
|
{
|
|
@@ -65147,158 +65861,155 @@
|
|
|
65147
65861
|
"name": "EspalierElementBase",
|
|
65148
65862
|
"module": "dist/shared/esp-element-base.js"
|
|
65149
65863
|
},
|
|
65150
|
-
"tagName": "esp-tab",
|
|
65864
|
+
"tagName": "esp-tab-group",
|
|
65151
65865
|
"customElement": true,
|
|
65152
65866
|
"docPageTitle": {
|
|
65153
65867
|
"name": "Tab",
|
|
65154
|
-
"description": ""
|
|
65868
|
+
"description": "Group"
|
|
65155
65869
|
},
|
|
65156
65870
|
"docUrl": {
|
|
65157
|
-
"name": "/components/tabs
|
|
65871
|
+
"name": "/components/tabs",
|
|
65158
65872
|
"description": ""
|
|
65159
65873
|
},
|
|
65160
65874
|
"menuGroup": {
|
|
65161
65875
|
"name": "Navigation",
|
|
65162
65876
|
"description": ""
|
|
65877
|
+
},
|
|
65878
|
+
"menuLabel": {
|
|
65879
|
+
"name": "Tab",
|
|
65880
|
+
"description": "Group"
|
|
65881
|
+
},
|
|
65882
|
+
"menuIcon": {
|
|
65883
|
+
"name": "layout-navbar",
|
|
65884
|
+
"description": ""
|
|
65163
65885
|
}
|
|
65164
65886
|
}
|
|
65165
65887
|
],
|
|
65166
65888
|
"exports": [
|
|
65167
65889
|
{
|
|
65168
65890
|
"kind": "js",
|
|
65169
|
-
"name": "
|
|
65891
|
+
"name": "EspalierTabGroup",
|
|
65170
65892
|
"declaration": {
|
|
65171
|
-
"name": "
|
|
65172
|
-
"module": "dist/tabs/esp-tab.js"
|
|
65893
|
+
"name": "EspalierTabGroup",
|
|
65894
|
+
"module": "dist/tabs/esp-tab-group.js"
|
|
65173
65895
|
}
|
|
65174
65896
|
},
|
|
65175
65897
|
{
|
|
65176
65898
|
"kind": "custom-element-definition",
|
|
65177
|
-
"name": "esp-tab",
|
|
65899
|
+
"name": "esp-tab-group",
|
|
65178
65900
|
"declaration": {
|
|
65179
|
-
"name": "
|
|
65180
|
-
"module": "dist/tabs/esp-tab.js"
|
|
65901
|
+
"name": "EspalierTabGroup",
|
|
65902
|
+
"module": "dist/tabs/esp-tab-group.js"
|
|
65181
65903
|
}
|
|
65182
65904
|
}
|
|
65183
65905
|
]
|
|
65184
65906
|
},
|
|
65185
65907
|
{
|
|
65186
65908
|
"kind": "javascript-module",
|
|
65187
|
-
"path": "dist/
|
|
65909
|
+
"path": "dist/tabs/esp-tab.js",
|
|
65188
65910
|
"declarations": [
|
|
65189
65911
|
{
|
|
65190
65912
|
"kind": "class",
|
|
65191
|
-
"description": "
|
|
65192
|
-
"name": "
|
|
65193
|
-
"
|
|
65913
|
+
"description": "A single tab panel used inside\n[esp-tab-group](/components/tabs). Each tab provides a\n`label` that appears in the generated tab strip and a default\nslot for the panel content.\n\n```html\n<esp-tab-group>\n <esp-tab label=\"First\">\n <p>Content for the first tab.</p>\n </esp-tab>\n <esp-tab label=\"Second\">\n <p>Content for the second tab.</p>\n </esp-tab>\n</esp-tab-group>\n```\n\n### Pre-selected tab\n\nSet the `active` attribute to make a tab active on load:\n\n```html\n<esp-tab-group>\n <esp-tab label=\"One\">\n <p>Not active by default.</p>\n </esp-tab>\n <esp-tab label=\"Two\" active>\n <p>This tab starts active.</p>\n </esp-tab>\n</esp-tab-group>\n```\n\n### Disabled tab\n\n```html\n<esp-tab-group>\n <esp-tab label=\"Enabled\">\n <p>This tab works normally.</p>\n </esp-tab>\n <esp-tab label=\"Disabled\" disabled>\n <p>Cannot reach this panel.</p>\n </esp-tab>\n</esp-tab-group>\n```",
|
|
65914
|
+
"name": "EspalierTab",
|
|
65915
|
+
"cssProperties": [
|
|
65194
65916
|
{
|
|
65195
|
-
"
|
|
65196
|
-
"name": "
|
|
65197
|
-
"type": {
|
|
65198
|
-
"text": "boolean"
|
|
65199
|
-
},
|
|
65200
|
-
"static": true,
|
|
65201
|
-
"default": "true"
|
|
65917
|
+
"description": "Padding inside the panel area.",
|
|
65918
|
+
"name": "--esp-tab-size-padding"
|
|
65202
65919
|
},
|
|
65203
65920
|
{
|
|
65204
|
-
"
|
|
65205
|
-
"name": "
|
|
65206
|
-
"
|
|
65921
|
+
"description": "Background color of the shared field shell. Defaults to `var(--esp-color-layer-2)`.",
|
|
65922
|
+
"name": "--esp-field-background",
|
|
65923
|
+
"inheritedFrom": {
|
|
65924
|
+
"name": "EspalierElementBase",
|
|
65925
|
+
"module": "dist/shared/esp-element-base.js"
|
|
65926
|
+
}
|
|
65207
65927
|
},
|
|
65208
65928
|
{
|
|
65209
|
-
"
|
|
65210
|
-
"name": "
|
|
65211
|
-
"
|
|
65929
|
+
"description": "Border color of the shared field shell. Defaults to `var(--esp-color-border)`.",
|
|
65930
|
+
"name": "--esp-field-border-color",
|
|
65931
|
+
"inheritedFrom": {
|
|
65932
|
+
"name": "EspalierElementBase",
|
|
65933
|
+
"module": "dist/shared/esp-element-base.js"
|
|
65934
|
+
}
|
|
65212
65935
|
},
|
|
65213
65936
|
{
|
|
65214
|
-
"
|
|
65215
|
-
"name": "
|
|
65216
|
-
"
|
|
65217
|
-
|
|
65937
|
+
"description": "Border width of the shared field shell. Defaults to `1px`.",
|
|
65938
|
+
"name": "--esp-field-border-width",
|
|
65939
|
+
"inheritedFrom": {
|
|
65940
|
+
"name": "EspalierElementBase",
|
|
65941
|
+
"module": "dist/shared/esp-element-base.js"
|
|
65942
|
+
}
|
|
65218
65943
|
},
|
|
65219
65944
|
{
|
|
65220
|
-
"
|
|
65221
|
-
"name": "
|
|
65222
|
-
"
|
|
65223
|
-
|
|
65945
|
+
"description": "Text color used inside the shared field shell. Defaults to `var(--esp-color-text)`.",
|
|
65946
|
+
"name": "--esp-field-text-color",
|
|
65947
|
+
"inheritedFrom": {
|
|
65948
|
+
"name": "EspalierElementBase",
|
|
65949
|
+
"module": "dist/shared/esp-element-base.js"
|
|
65950
|
+
}
|
|
65224
65951
|
},
|
|
65225
65952
|
{
|
|
65226
|
-
"
|
|
65227
|
-
"name": "
|
|
65228
|
-
"
|
|
65229
|
-
"
|
|
65230
|
-
|
|
65231
|
-
|
|
65232
|
-
"default": "false"
|
|
65953
|
+
"description": "Hover background color of the shared field shell. Derived from `--esp-field-background`.",
|
|
65954
|
+
"name": "--esp-field-hover-bg",
|
|
65955
|
+
"inheritedFrom": {
|
|
65956
|
+
"name": "EspalierElementBase",
|
|
65957
|
+
"module": "dist/shared/esp-element-base.js"
|
|
65958
|
+
}
|
|
65233
65959
|
},
|
|
65234
65960
|
{
|
|
65235
|
-
"
|
|
65236
|
-
"name": "
|
|
65237
|
-
"
|
|
65238
|
-
"
|
|
65239
|
-
|
|
65240
|
-
|
|
65241
|
-
"default": "\"\"",
|
|
65242
|
-
"description": "A string value used for the id of the textarea.\n\n```html\n<esp-textarea field-name=\"comments\"></esp-textarea>\n```",
|
|
65243
|
-
"attribute": "field-name"
|
|
65961
|
+
"description": "Focus background color of the shared field shell. Derived from `--esp-field-background`.",
|
|
65962
|
+
"name": "--esp-field-focus-bg",
|
|
65963
|
+
"inheritedFrom": {
|
|
65964
|
+
"name": "EspalierElementBase",
|
|
65965
|
+
"module": "dist/shared/esp-element-base.js"
|
|
65966
|
+
}
|
|
65244
65967
|
},
|
|
65245
65968
|
{
|
|
65246
|
-
"
|
|
65247
|
-
"name": "
|
|
65248
|
-
"
|
|
65249
|
-
"
|
|
65250
|
-
|
|
65251
|
-
|
|
65252
|
-
|
|
65253
|
-
|
|
65254
|
-
|
|
65255
|
-
|
|
65969
|
+
"description": "Shadow color used for shared field focus treatment. Defaults to `var(--esp-color-shadow)`.",
|
|
65970
|
+
"name": "--esp-field-focus-shadow",
|
|
65971
|
+
"inheritedFrom": {
|
|
65972
|
+
"name": "EspalierElementBase",
|
|
65973
|
+
"module": "dist/shared/esp-element-base.js"
|
|
65974
|
+
}
|
|
65975
|
+
}
|
|
65976
|
+
],
|
|
65977
|
+
"cssParts": [
|
|
65978
|
+
{
|
|
65979
|
+
"description": "The panel wrapper element.",
|
|
65980
|
+
"name": "panel"
|
|
65981
|
+
}
|
|
65982
|
+
],
|
|
65983
|
+
"slots": [
|
|
65984
|
+
{
|
|
65985
|
+
"description": "The default slot holds the panel content displayed when this tab is active.",
|
|
65986
|
+
"name": ""
|
|
65987
|
+
}
|
|
65988
|
+
],
|
|
65989
|
+
"members": [
|
|
65256
65990
|
{
|
|
65257
65991
|
"kind": "field",
|
|
65258
|
-
"name": "
|
|
65992
|
+
"name": "label",
|
|
65259
65993
|
"type": {
|
|
65260
65994
|
"text": "string"
|
|
65261
65995
|
},
|
|
65262
65996
|
"privacy": "public",
|
|
65263
65997
|
"default": "\"\"",
|
|
65264
|
-
"description": "The
|
|
65265
|
-
"attribute": "
|
|
65266
|
-
"reflects": true
|
|
65998
|
+
"description": "The text displayed in the tab button within the tab strip.",
|
|
65999
|
+
"attribute": "label"
|
|
65267
66000
|
},
|
|
65268
66001
|
{
|
|
65269
66002
|
"kind": "field",
|
|
65270
|
-
"name": "
|
|
66003
|
+
"name": "active",
|
|
65271
66004
|
"type": {
|
|
65272
66005
|
"text": "boolean"
|
|
65273
66006
|
},
|
|
65274
66007
|
"privacy": "public",
|
|
65275
66008
|
"default": "false",
|
|
65276
|
-
"description": "
|
|
65277
|
-
"attribute": "
|
|
66009
|
+
"description": "Whether this tab is currently active (its panel is visible).",
|
|
66010
|
+
"attribute": "active",
|
|
65278
66011
|
"reflects": true
|
|
65279
66012
|
},
|
|
65280
|
-
{
|
|
65281
|
-
"kind": "field",
|
|
65282
|
-
"name": "requiredMessage",
|
|
65283
|
-
"type": {
|
|
65284
|
-
"text": "string"
|
|
65285
|
-
},
|
|
65286
|
-
"privacy": "public",
|
|
65287
|
-
"default": "\"\"",
|
|
65288
|
-
"description": "A custom message to display when the field is required but empty.\nDefaults to `\"Please fill out this field.\"` when not set.\n\n```html\n<esp-textarea required required-message=\"Comments are required!\"></esp-textarea>\n```",
|
|
65289
|
-
"attribute": "required-message"
|
|
65290
|
-
},
|
|
65291
|
-
{
|
|
65292
|
-
"kind": "field",
|
|
65293
|
-
"name": "validationMessage",
|
|
65294
|
-
"type": {
|
|
65295
|
-
"text": "string"
|
|
65296
|
-
},
|
|
65297
|
-
"privacy": "public",
|
|
65298
|
-
"default": "\"\"",
|
|
65299
|
-
"description": "A custom message to display when validation fails (e.g.\nminlength not met). Overrides the default friendly message.\n\n```html\n<esp-textarea minlength=\"10\"\n validation-message=\"Please write at least 10 characters.\">\n</esp-textarea>\n```",
|
|
65300
|
-
"attribute": "validation-message"
|
|
65301
|
-
},
|
|
65302
66013
|
{
|
|
65303
66014
|
"kind": "field",
|
|
65304
66015
|
"name": "disabled",
|
|
@@ -65307,210 +66018,10 @@
|
|
|
65307
66018
|
},
|
|
65308
66019
|
"privacy": "public",
|
|
65309
66020
|
"default": "false",
|
|
65310
|
-
"description": "
|
|
66021
|
+
"description": "Whether this tab is disabled (cannot be selected).",
|
|
65311
66022
|
"attribute": "disabled",
|
|
65312
66023
|
"reflects": true
|
|
65313
66024
|
},
|
|
65314
|
-
{
|
|
65315
|
-
"kind": "field",
|
|
65316
|
-
"name": "placeholder",
|
|
65317
|
-
"type": {
|
|
65318
|
-
"text": "string | undefined"
|
|
65319
|
-
},
|
|
65320
|
-
"privacy": "public",
|
|
65321
|
-
"description": "Placeholder text shown when the textarea is empty.\n\n```html\n<esp-textarea placeholder=\"Enter your message...\"></esp-textarea>\n```",
|
|
65322
|
-
"attribute": "placeholder"
|
|
65323
|
-
},
|
|
65324
|
-
{
|
|
65325
|
-
"kind": "field",
|
|
65326
|
-
"name": "rows",
|
|
65327
|
-
"type": {
|
|
65328
|
-
"text": "number | undefined"
|
|
65329
|
-
},
|
|
65330
|
-
"privacy": "public",
|
|
65331
|
-
"description": "The visible number of text lines.\n\n```html\n<esp-textarea rows=\"6\"></esp-textarea>\n```",
|
|
65332
|
-
"attribute": "rows"
|
|
65333
|
-
},
|
|
65334
|
-
{
|
|
65335
|
-
"kind": "field",
|
|
65336
|
-
"name": "cols",
|
|
65337
|
-
"type": {
|
|
65338
|
-
"text": "number | undefined"
|
|
65339
|
-
},
|
|
65340
|
-
"privacy": "public",
|
|
65341
|
-
"description": "The visible width in average character widths.\n\n```html\n<esp-textarea cols=\"40\"></esp-textarea>\n```",
|
|
65342
|
-
"attribute": "cols"
|
|
65343
|
-
},
|
|
65344
|
-
{
|
|
65345
|
-
"kind": "field",
|
|
65346
|
-
"name": "minlength",
|
|
65347
|
-
"type": {
|
|
65348
|
-
"text": "number | undefined"
|
|
65349
|
-
},
|
|
65350
|
-
"privacy": "public",
|
|
65351
|
-
"description": "Minimum number of characters.",
|
|
65352
|
-
"attribute": "minlength"
|
|
65353
|
-
},
|
|
65354
|
-
{
|
|
65355
|
-
"kind": "field",
|
|
65356
|
-
"name": "maxlength",
|
|
65357
|
-
"type": {
|
|
65358
|
-
"text": "number | undefined"
|
|
65359
|
-
},
|
|
65360
|
-
"privacy": "public",
|
|
65361
|
-
"description": "Maximum number of characters.",
|
|
65362
|
-
"attribute": "maxlength"
|
|
65363
|
-
},
|
|
65364
|
-
{
|
|
65365
|
-
"kind": "method",
|
|
65366
|
-
"name": "handleInput",
|
|
65367
|
-
"privacy": "private",
|
|
65368
|
-
"parameters": [
|
|
65369
|
-
{
|
|
65370
|
-
"name": "e",
|
|
65371
|
-
"type": {
|
|
65372
|
-
"text": "InputEvent"
|
|
65373
|
-
}
|
|
65374
|
-
}
|
|
65375
|
-
]
|
|
65376
|
-
},
|
|
65377
|
-
{
|
|
65378
|
-
"kind": "method",
|
|
65379
|
-
"name": "_syncInput",
|
|
65380
|
-
"privacy": "private",
|
|
65381
|
-
"return": {
|
|
65382
|
-
"type": {
|
|
65383
|
-
"text": "void"
|
|
65384
|
-
}
|
|
65385
|
-
},
|
|
65386
|
-
"description": "Sync the form value and fire `value-changed`. If the field\nis already showing an error, validate eagerly so the error\nclears immediately when the user fixes it. Otherwise just\nsync silently — errors will appear on blur."
|
|
65387
|
-
},
|
|
65388
|
-
{
|
|
65389
|
-
"kind": "method",
|
|
65390
|
-
"name": "_handleBlur",
|
|
65391
|
-
"privacy": "private"
|
|
65392
|
-
},
|
|
65393
|
-
{
|
|
65394
|
-
"kind": "method",
|
|
65395
|
-
"name": "_getValidity",
|
|
65396
|
-
"privacy": "private",
|
|
65397
|
-
"return": {
|
|
65398
|
-
"type": {
|
|
65399
|
-
"text": "{\n flags: ValidityStateFlags;\n message: string;\n } | null"
|
|
65400
|
-
}
|
|
65401
|
-
}
|
|
65402
|
-
},
|
|
65403
|
-
{
|
|
65404
|
-
"kind": "method",
|
|
65405
|
-
"name": "_getFriendlyMessage",
|
|
65406
|
-
"privacy": "private",
|
|
65407
|
-
"return": {
|
|
65408
|
-
"type": {
|
|
65409
|
-
"text": "string"
|
|
65410
|
-
}
|
|
65411
|
-
},
|
|
65412
|
-
"parameters": [
|
|
65413
|
-
{
|
|
65414
|
-
"name": "flags",
|
|
65415
|
-
"type": {
|
|
65416
|
-
"text": "ValidityStateFlags"
|
|
65417
|
-
}
|
|
65418
|
-
}
|
|
65419
|
-
]
|
|
65420
|
-
},
|
|
65421
|
-
{
|
|
65422
|
-
"kind": "method",
|
|
65423
|
-
"name": "focus",
|
|
65424
|
-
"privacy": "public",
|
|
65425
|
-
"return": {
|
|
65426
|
-
"type": {
|
|
65427
|
-
"text": "void"
|
|
65428
|
-
}
|
|
65429
|
-
},
|
|
65430
|
-
"parameters": [
|
|
65431
|
-
{
|
|
65432
|
-
"name": "options",
|
|
65433
|
-
"optional": true,
|
|
65434
|
-
"type": {
|
|
65435
|
-
"text": "FocusOptions"
|
|
65436
|
-
}
|
|
65437
|
-
}
|
|
65438
|
-
],
|
|
65439
|
-
"description": "Focus the textarea element.\n\n```html\n<div class=\"textarea-with-button\">\n <esp-textarea value=\"Click to focus -->\"></esp-textarea>\n <esp-button label=\"Focus\" icon=\"arrow-big-left\"></esp-button>\n</div>\n<script>\n const theTextarea = findByTagName(\"esp-textarea\")[0];\n const theButton = findByTagName(\"esp-button\")[0];\n theButton.addEventListener(\"clicked\", () => {\n theTextarea.focus();\n });\n</script>\n```"
|
|
65440
|
-
},
|
|
65441
|
-
{
|
|
65442
|
-
"kind": "method",
|
|
65443
|
-
"name": "validate",
|
|
65444
|
-
"privacy": "public",
|
|
65445
|
-
"return": {
|
|
65446
|
-
"type": {
|
|
65447
|
-
"text": "void"
|
|
65448
|
-
}
|
|
65449
|
-
},
|
|
65450
|
-
"description": "Re-run constraint validation and dispatch `validity-changed`."
|
|
65451
|
-
},
|
|
65452
|
-
{
|
|
65453
|
-
"kind": "method",
|
|
65454
|
-
"name": "checkValidity",
|
|
65455
|
-
"privacy": "public",
|
|
65456
|
-
"return": {
|
|
65457
|
-
"type": {
|
|
65458
|
-
"text": "boolean"
|
|
65459
|
-
}
|
|
65460
|
-
},
|
|
65461
|
-
"description": "Check whether the current state is valid (delegates to ElementInternals)."
|
|
65462
|
-
},
|
|
65463
|
-
{
|
|
65464
|
-
"kind": "method",
|
|
65465
|
-
"name": "formResetCallback",
|
|
65466
|
-
"return": {
|
|
65467
|
-
"type": {
|
|
65468
|
-
"text": "void"
|
|
65469
|
-
}
|
|
65470
|
-
},
|
|
65471
|
-
"description": "Called by the browser when the owning `<form>` is reset."
|
|
65472
|
-
},
|
|
65473
|
-
{
|
|
65474
|
-
"kind": "method",
|
|
65475
|
-
"name": "formStateRestoreCallback",
|
|
65476
|
-
"return": {
|
|
65477
|
-
"type": {
|
|
65478
|
-
"text": "void"
|
|
65479
|
-
}
|
|
65480
|
-
},
|
|
65481
|
-
"parameters": [
|
|
65482
|
-
{
|
|
65483
|
-
"name": "state",
|
|
65484
|
-
"type": {
|
|
65485
|
-
"text": "string"
|
|
65486
|
-
}
|
|
65487
|
-
}
|
|
65488
|
-
],
|
|
65489
|
-
"description": "Called by the browser to restore form state (bfcache, etc.)."
|
|
65490
|
-
},
|
|
65491
|
-
{
|
|
65492
|
-
"kind": "method",
|
|
65493
|
-
"name": "formDisabledCallback",
|
|
65494
|
-
"return": {
|
|
65495
|
-
"type": {
|
|
65496
|
-
"text": "void"
|
|
65497
|
-
}
|
|
65498
|
-
},
|
|
65499
|
-
"parameters": [
|
|
65500
|
-
{
|
|
65501
|
-
"name": "isDisabled",
|
|
65502
|
-
"type": {
|
|
65503
|
-
"text": "boolean"
|
|
65504
|
-
}
|
|
65505
|
-
}
|
|
65506
|
-
],
|
|
65507
|
-
"description": "Called by the browser when a parent `<fieldset>` is enabled or disabled."
|
|
65508
|
-
},
|
|
65509
|
-
{
|
|
65510
|
-
"kind": "field",
|
|
65511
|
-
"name": "_trackVisibleError",
|
|
65512
|
-
"privacy": "private"
|
|
65513
|
-
},
|
|
65514
66025
|
{
|
|
65515
66026
|
"kind": "field",
|
|
65516
66027
|
"name": "seedColorBacker",
|
|
@@ -65853,14 +66364,11 @@
|
|
|
65853
66364
|
{
|
|
65854
66365
|
"kind": "field",
|
|
65855
66366
|
"name": "textContrast",
|
|
65856
|
-
"type": {
|
|
65857
|
-
"text": "Partial<\n Record<SemanticColorName, { bg: SemanticColorName; targetLc: number }>\n >"
|
|
65858
|
-
},
|
|
65859
66367
|
"privacy": "private",
|
|
65860
66368
|
"static": true,
|
|
65861
66369
|
"readonly": true,
|
|
65862
|
-
"default": "
|
|
65863
|
-
"description": "
|
|
66370
|
+
"default": "TOKEN_PAIRINGS",
|
|
66371
|
+
"description": "Which ink sits on which surface, and at what APCA target.\n\nReads the single pairing table in the theme model rather than\ncarrying a second copy: an identical literal used to live here and\nin `compute-theme-properties.ts`, which is precisely the drift the\nrepository's adoption rules exist to catch. See ESP0164.",
|
|
65864
66372
|
"inheritedFrom": {
|
|
65865
66373
|
"name": "EspalierElementBase",
|
|
65866
66374
|
"module": "dist/shared/esp-element-base.js"
|
|
@@ -65918,7 +66426,7 @@
|
|
|
65918
66426
|
"privacy": "private",
|
|
65919
66427
|
"return": {
|
|
65920
66428
|
"type": {
|
|
65921
|
-
"text": "
|
|
66429
|
+
"text": "MappingSource"
|
|
65922
66430
|
}
|
|
65923
66431
|
},
|
|
65924
66432
|
"parameters": [
|
|
@@ -65931,7 +66439,7 @@
|
|
|
65931
66439
|
{
|
|
65932
66440
|
"name": "mappedSource",
|
|
65933
66441
|
"type": {
|
|
65934
|
-
"text": "
|
|
66442
|
+
"text": "MappingSource"
|
|
65935
66443
|
}
|
|
65936
66444
|
},
|
|
65937
66445
|
{
|
|
@@ -66005,12 +66513,18 @@
|
|
|
66005
66513
|
}
|
|
66006
66514
|
],
|
|
66007
66515
|
"events": [
|
|
66516
|
+
{
|
|
66517
|
+
"name": "esp-tab-updated",
|
|
66518
|
+
"type": {
|
|
66519
|
+
"text": "CustomEvent"
|
|
66520
|
+
},
|
|
66521
|
+
"description": "Fired when the tab's label, active state, or disabled state changes so the parent tab group can refresh its derived metadata."
|
|
66522
|
+
},
|
|
66008
66523
|
{
|
|
66009
66524
|
"name": "value-changed",
|
|
66010
66525
|
"type": {
|
|
66011
66526
|
"text": "CustomEvent"
|
|
66012
66527
|
},
|
|
66013
|
-
"description": "Emitted when the textarea value changes. ```html <esp-box> <p>Start typing...</p> <esp-textarea></esp-textarea> </esp-box> <script> const theTextarea = findByTagName(\"esp-textarea\")[0]; const theP = findByTagName(\"p\")[0]; theTextarea.addEventListener(\"value-changed\", (ev) => { theP.innerText = ev.detail.length ? ev.detail : \"The textarea is empty...\"; }); </script> ```",
|
|
66014
66528
|
"inheritedFrom": {
|
|
66015
66529
|
"name": "EspalierElementBase",
|
|
66016
66530
|
"module": "dist/shared/esp-element-base.js"
|
|
@@ -66019,58 +66533,22 @@
|
|
|
66019
66533
|
],
|
|
66020
66534
|
"attributes": [
|
|
66021
66535
|
{
|
|
66022
|
-
"name": "
|
|
66023
|
-
"type": {
|
|
66024
|
-
"text": "string"
|
|
66025
|
-
},
|
|
66026
|
-
"default": "\"\"",
|
|
66027
|
-
"description": "A string value used for the id of the textarea.\n\n```html\n<esp-textarea field-name=\"comments\"></esp-textarea>\n```",
|
|
66028
|
-
"fieldName": "fieldName"
|
|
66029
|
-
},
|
|
66030
|
-
{
|
|
66031
|
-
"name": "value",
|
|
66032
|
-
"type": {
|
|
66033
|
-
"text": "string"
|
|
66034
|
-
},
|
|
66035
|
-
"default": "\"\"",
|
|
66036
|
-
"description": "The value of the textarea.\n\n```html\n<esp-textarea value=\"Some text\"></esp-textarea>\n```",
|
|
66037
|
-
"fieldName": "value"
|
|
66038
|
-
},
|
|
66039
|
-
{
|
|
66040
|
-
"name": "name",
|
|
66536
|
+
"name": "label",
|
|
66041
66537
|
"type": {
|
|
66042
66538
|
"text": "string"
|
|
66043
66539
|
},
|
|
66044
66540
|
"default": "\"\"",
|
|
66045
|
-
"description": "The
|
|
66046
|
-
"fieldName": "
|
|
66541
|
+
"description": "The text displayed in the tab button within the tab strip.",
|
|
66542
|
+
"fieldName": "label"
|
|
66047
66543
|
},
|
|
66048
66544
|
{
|
|
66049
|
-
"name": "
|
|
66545
|
+
"name": "active",
|
|
66050
66546
|
"type": {
|
|
66051
66547
|
"text": "boolean"
|
|
66052
66548
|
},
|
|
66053
66549
|
"default": "false",
|
|
66054
|
-
"description": "
|
|
66055
|
-
"fieldName": "
|
|
66056
|
-
},
|
|
66057
|
-
{
|
|
66058
|
-
"name": "required-message",
|
|
66059
|
-
"type": {
|
|
66060
|
-
"text": "string"
|
|
66061
|
-
},
|
|
66062
|
-
"default": "\"\"",
|
|
66063
|
-
"description": "A custom message to display when the field is required but empty.\nDefaults to `\"Please fill out this field.\"` when not set.\n\n```html\n<esp-textarea required required-message=\"Comments are required!\"></esp-textarea>\n```",
|
|
66064
|
-
"fieldName": "requiredMessage"
|
|
66065
|
-
},
|
|
66066
|
-
{
|
|
66067
|
-
"name": "validation-message",
|
|
66068
|
-
"type": {
|
|
66069
|
-
"text": "string"
|
|
66070
|
-
},
|
|
66071
|
-
"default": "\"\"",
|
|
66072
|
-
"description": "A custom message to display when validation fails (e.g.\nminlength not met). Overrides the default friendly message.\n\n```html\n<esp-textarea minlength=\"10\"\n validation-message=\"Please write at least 10 characters.\">\n</esp-textarea>\n```",
|
|
66073
|
-
"fieldName": "validationMessage"
|
|
66550
|
+
"description": "Whether this tab is currently active (its panel is visible).",
|
|
66551
|
+
"fieldName": "active"
|
|
66074
66552
|
},
|
|
66075
66553
|
{
|
|
66076
66554
|
"name": "disabled",
|
|
@@ -66078,49 +66556,9 @@
|
|
|
66078
66556
|
"text": "boolean"
|
|
66079
66557
|
},
|
|
66080
66558
|
"default": "false",
|
|
66081
|
-
"description": "
|
|
66559
|
+
"description": "Whether this tab is disabled (cannot be selected).",
|
|
66082
66560
|
"fieldName": "disabled"
|
|
66083
66561
|
},
|
|
66084
|
-
{
|
|
66085
|
-
"name": "placeholder",
|
|
66086
|
-
"type": {
|
|
66087
|
-
"text": "string | undefined"
|
|
66088
|
-
},
|
|
66089
|
-
"description": "Placeholder text shown when the textarea is empty.\n\n```html\n<esp-textarea placeholder=\"Enter your message...\"></esp-textarea>\n```",
|
|
66090
|
-
"fieldName": "placeholder"
|
|
66091
|
-
},
|
|
66092
|
-
{
|
|
66093
|
-
"name": "rows",
|
|
66094
|
-
"type": {
|
|
66095
|
-
"text": "number | undefined"
|
|
66096
|
-
},
|
|
66097
|
-
"description": "The visible number of text lines.\n\n```html\n<esp-textarea rows=\"6\"></esp-textarea>\n```",
|
|
66098
|
-
"fieldName": "rows"
|
|
66099
|
-
},
|
|
66100
|
-
{
|
|
66101
|
-
"name": "cols",
|
|
66102
|
-
"type": {
|
|
66103
|
-
"text": "number | undefined"
|
|
66104
|
-
},
|
|
66105
|
-
"description": "The visible width in average character widths.\n\n```html\n<esp-textarea cols=\"40\"></esp-textarea>\n```",
|
|
66106
|
-
"fieldName": "cols"
|
|
66107
|
-
},
|
|
66108
|
-
{
|
|
66109
|
-
"name": "minlength",
|
|
66110
|
-
"type": {
|
|
66111
|
-
"text": "number | undefined"
|
|
66112
|
-
},
|
|
66113
|
-
"description": "Minimum number of characters.",
|
|
66114
|
-
"fieldName": "minlength"
|
|
66115
|
-
},
|
|
66116
|
-
{
|
|
66117
|
-
"name": "maxlength",
|
|
66118
|
-
"type": {
|
|
66119
|
-
"text": "number | undefined"
|
|
66120
|
-
},
|
|
66121
|
-
"description": "Maximum number of characters.",
|
|
66122
|
-
"fieldName": "maxlength"
|
|
66123
|
-
},
|
|
66124
66562
|
{
|
|
66125
66563
|
"name": "scheme",
|
|
66126
66564
|
"type": {
|
|
@@ -66151,103 +66589,37 @@
|
|
|
66151
66589
|
"name": "EspalierElementBase",
|
|
66152
66590
|
"module": "dist/shared/esp-element-base.js"
|
|
66153
66591
|
},
|
|
66154
|
-
"tagName": "esp-
|
|
66592
|
+
"tagName": "esp-tab",
|
|
66155
66593
|
"customElement": true,
|
|
66156
66594
|
"docPageTitle": {
|
|
66157
|
-
"name": "
|
|
66595
|
+
"name": "Tab",
|
|
66158
66596
|
"description": ""
|
|
66159
66597
|
},
|
|
66160
66598
|
"docUrl": {
|
|
66161
|
-
"name": "/components/
|
|
66599
|
+
"name": "/components/tabs/tab",
|
|
66162
66600
|
"description": ""
|
|
66163
66601
|
},
|
|
66164
66602
|
"menuGroup": {
|
|
66165
|
-
"name": "
|
|
66166
|
-
"description": "Controls"
|
|
66167
|
-
},
|
|
66168
|
-
"menuLabel": {
|
|
66169
|
-
"name": "Textarea",
|
|
66170
|
-
"description": ""
|
|
66171
|
-
},
|
|
66172
|
-
"menuIcon": {
|
|
66173
|
-
"name": "forms",
|
|
66603
|
+
"name": "Navigation",
|
|
66174
66604
|
"description": ""
|
|
66175
|
-
}
|
|
66176
|
-
"cssProperties": [
|
|
66177
|
-
{
|
|
66178
|
-
"description": "Background color of the shared field shell. Defaults to `var(--esp-color-layer-2)`.",
|
|
66179
|
-
"name": "--esp-field-background",
|
|
66180
|
-
"inheritedFrom": {
|
|
66181
|
-
"name": "EspalierElementBase",
|
|
66182
|
-
"module": "dist/shared/esp-element-base.js"
|
|
66183
|
-
}
|
|
66184
|
-
},
|
|
66185
|
-
{
|
|
66186
|
-
"description": "Border color of the shared field shell. Defaults to `var(--esp-color-border)`.",
|
|
66187
|
-
"name": "--esp-field-border-color",
|
|
66188
|
-
"inheritedFrom": {
|
|
66189
|
-
"name": "EspalierElementBase",
|
|
66190
|
-
"module": "dist/shared/esp-element-base.js"
|
|
66191
|
-
}
|
|
66192
|
-
},
|
|
66193
|
-
{
|
|
66194
|
-
"description": "Border width of the shared field shell. Defaults to `1px`.",
|
|
66195
|
-
"name": "--esp-field-border-width",
|
|
66196
|
-
"inheritedFrom": {
|
|
66197
|
-
"name": "EspalierElementBase",
|
|
66198
|
-
"module": "dist/shared/esp-element-base.js"
|
|
66199
|
-
}
|
|
66200
|
-
},
|
|
66201
|
-
{
|
|
66202
|
-
"description": "Text color used inside the shared field shell. Defaults to `var(--esp-color-text)`.",
|
|
66203
|
-
"name": "--esp-field-text-color",
|
|
66204
|
-
"inheritedFrom": {
|
|
66205
|
-
"name": "EspalierElementBase",
|
|
66206
|
-
"module": "dist/shared/esp-element-base.js"
|
|
66207
|
-
}
|
|
66208
|
-
},
|
|
66209
|
-
{
|
|
66210
|
-
"description": "Hover background color of the shared field shell. Derived from `--esp-field-background`.",
|
|
66211
|
-
"name": "--esp-field-hover-bg",
|
|
66212
|
-
"inheritedFrom": {
|
|
66213
|
-
"name": "EspalierElementBase",
|
|
66214
|
-
"module": "dist/shared/esp-element-base.js"
|
|
66215
|
-
}
|
|
66216
|
-
},
|
|
66217
|
-
{
|
|
66218
|
-
"description": "Focus background color of the shared field shell. Derived from `--esp-field-background`.",
|
|
66219
|
-
"name": "--esp-field-focus-bg",
|
|
66220
|
-
"inheritedFrom": {
|
|
66221
|
-
"name": "EspalierElementBase",
|
|
66222
|
-
"module": "dist/shared/esp-element-base.js"
|
|
66223
|
-
}
|
|
66224
|
-
},
|
|
66225
|
-
{
|
|
66226
|
-
"description": "Shadow color used for shared field focus treatment. Defaults to `var(--esp-color-shadow)`.",
|
|
66227
|
-
"name": "--esp-field-focus-shadow",
|
|
66228
|
-
"inheritedFrom": {
|
|
66229
|
-
"name": "EspalierElementBase",
|
|
66230
|
-
"module": "dist/shared/esp-element-base.js"
|
|
66231
|
-
}
|
|
66232
|
-
}
|
|
66233
|
-
]
|
|
66605
|
+
}
|
|
66234
66606
|
}
|
|
66235
66607
|
],
|
|
66236
66608
|
"exports": [
|
|
66237
66609
|
{
|
|
66238
66610
|
"kind": "js",
|
|
66239
|
-
"name": "
|
|
66611
|
+
"name": "EspalierTab",
|
|
66240
66612
|
"declaration": {
|
|
66241
|
-
"name": "
|
|
66242
|
-
"module": "dist/
|
|
66613
|
+
"name": "EspalierTab",
|
|
66614
|
+
"module": "dist/tabs/esp-tab.js"
|
|
66243
66615
|
}
|
|
66244
66616
|
},
|
|
66245
66617
|
{
|
|
66246
66618
|
"kind": "custom-element-definition",
|
|
66247
|
-
"name": "esp-
|
|
66619
|
+
"name": "esp-tab",
|
|
66248
66620
|
"declaration": {
|
|
66249
|
-
"name": "
|
|
66250
|
-
"module": "dist/
|
|
66621
|
+
"name": "EspalierTab",
|
|
66622
|
+
"module": "dist/tabs/esp-tab.js"
|
|
66251
66623
|
}
|
|
66252
66624
|
}
|
|
66253
66625
|
]
|
|
@@ -66828,14 +67200,11 @@
|
|
|
66828
67200
|
{
|
|
66829
67201
|
"kind": "field",
|
|
66830
67202
|
"name": "textContrast",
|
|
66831
|
-
"type": {
|
|
66832
|
-
"text": "Partial<\n Record<SemanticColorName, { bg: SemanticColorName; targetLc: number }>\n >"
|
|
66833
|
-
},
|
|
66834
67203
|
"privacy": "private",
|
|
66835
67204
|
"static": true,
|
|
66836
67205
|
"readonly": true,
|
|
66837
|
-
"default": "
|
|
66838
|
-
"description": "
|
|
67206
|
+
"default": "TOKEN_PAIRINGS",
|
|
67207
|
+
"description": "Which ink sits on which surface, and at what APCA target.\n\nReads the single pairing table in the theme model rather than\ncarrying a second copy: an identical literal used to live here and\nin `compute-theme-properties.ts`, which is precisely the drift the\nrepository's adoption rules exist to catch. See ESP0164.",
|
|
66839
67208
|
"inheritedFrom": {
|
|
66840
67209
|
"name": "EspalierElementBase",
|
|
66841
67210
|
"module": "dist/shared/esp-element-base.js"
|
|
@@ -66893,7 +67262,7 @@
|
|
|
66893
67262
|
"privacy": "private",
|
|
66894
67263
|
"return": {
|
|
66895
67264
|
"type": {
|
|
66896
|
-
"text": "
|
|
67265
|
+
"text": "MappingSource"
|
|
66897
67266
|
}
|
|
66898
67267
|
},
|
|
66899
67268
|
"parameters": [
|
|
@@ -66906,7 +67275,7 @@
|
|
|
66906
67275
|
{
|
|
66907
67276
|
"name": "mappedSource",
|
|
66908
67277
|
"type": {
|
|
66909
|
-
"text": "
|
|
67278
|
+
"text": "MappingSource"
|
|
66910
67279
|
}
|
|
66911
67280
|
},
|
|
66912
67281
|
{
|
|
@@ -67671,14 +68040,11 @@
|
|
|
67671
68040
|
{
|
|
67672
68041
|
"kind": "field",
|
|
67673
68042
|
"name": "textContrast",
|
|
67674
|
-
"type": {
|
|
67675
|
-
"text": "Partial<\n Record<SemanticColorName, { bg: SemanticColorName; targetLc: number }>\n >"
|
|
67676
|
-
},
|
|
67677
68043
|
"privacy": "private",
|
|
67678
68044
|
"static": true,
|
|
67679
68045
|
"readonly": true,
|
|
67680
|
-
"default": "
|
|
67681
|
-
"description": "
|
|
68046
|
+
"default": "TOKEN_PAIRINGS",
|
|
68047
|
+
"description": "Which ink sits on which surface, and at what APCA target.\n\nReads the single pairing table in the theme model rather than\ncarrying a second copy: an identical literal used to live here and\nin `compute-theme-properties.ts`, which is precisely the drift the\nrepository's adoption rules exist to catch. See ESP0164.",
|
|
67682
68048
|
"inheritedFrom": {
|
|
67683
68049
|
"name": "EspalierElementBase",
|
|
67684
68050
|
"module": "dist/shared/esp-element-base.js"
|
|
@@ -67736,7 +68102,7 @@
|
|
|
67736
68102
|
"privacy": "private",
|
|
67737
68103
|
"return": {
|
|
67738
68104
|
"type": {
|
|
67739
|
-
"text": "
|
|
68105
|
+
"text": "MappingSource"
|
|
67740
68106
|
}
|
|
67741
68107
|
},
|
|
67742
68108
|
"parameters": [
|
|
@@ -67749,7 +68115,7 @@
|
|
|
67749
68115
|
{
|
|
67750
68116
|
"name": "mappedSource",
|
|
67751
68117
|
"type": {
|
|
67752
|
-
"text": "
|
|
68118
|
+
"text": "MappingSource"
|
|
67753
68119
|
}
|
|
67754
68120
|
},
|
|
67755
68121
|
{
|
|
@@ -68452,14 +68818,11 @@
|
|
|
68452
68818
|
{
|
|
68453
68819
|
"kind": "field",
|
|
68454
68820
|
"name": "textContrast",
|
|
68455
|
-
"type": {
|
|
68456
|
-
"text": "Partial<\n Record<SemanticColorName, { bg: SemanticColorName; targetLc: number }>\n >"
|
|
68457
|
-
},
|
|
68458
68821
|
"privacy": "private",
|
|
68459
68822
|
"static": true,
|
|
68460
68823
|
"readonly": true,
|
|
68461
|
-
"default": "
|
|
68462
|
-
"description": "
|
|
68824
|
+
"default": "TOKEN_PAIRINGS",
|
|
68825
|
+
"description": "Which ink sits on which surface, and at what APCA target.\n\nReads the single pairing table in the theme model rather than\ncarrying a second copy: an identical literal used to live here and\nin `compute-theme-properties.ts`, which is precisely the drift the\nrepository's adoption rules exist to catch. See ESP0164.",
|
|
68463
68826
|
"inheritedFrom": {
|
|
68464
68827
|
"name": "EspalierElementBase",
|
|
68465
68828
|
"module": "dist/shared/esp-element-base.js"
|
|
@@ -68517,7 +68880,7 @@
|
|
|
68517
68880
|
"privacy": "private",
|
|
68518
68881
|
"return": {
|
|
68519
68882
|
"type": {
|
|
68520
|
-
"text": "
|
|
68883
|
+
"text": "MappingSource"
|
|
68521
68884
|
}
|
|
68522
68885
|
},
|
|
68523
68886
|
"parameters": [
|
|
@@ -68530,7 +68893,7 @@
|
|
|
68530
68893
|
{
|
|
68531
68894
|
"name": "mappedSource",
|
|
68532
68895
|
"type": {
|
|
68533
|
-
"text": "
|
|
68896
|
+
"text": "MappingSource"
|
|
68534
68897
|
}
|
|
68535
68898
|
},
|
|
68536
68899
|
{
|
|
@@ -71433,14 +71796,11 @@
|
|
|
71433
71796
|
{
|
|
71434
71797
|
"kind": "field",
|
|
71435
71798
|
"name": "textContrast",
|
|
71436
|
-
"type": {
|
|
71437
|
-
"text": "Partial<\n Record<SemanticColorName, { bg: SemanticColorName; targetLc: number }>\n >"
|
|
71438
|
-
},
|
|
71439
71799
|
"privacy": "private",
|
|
71440
71800
|
"static": true,
|
|
71441
71801
|
"readonly": true,
|
|
71442
|
-
"default": "
|
|
71443
|
-
"description": "
|
|
71802
|
+
"default": "TOKEN_PAIRINGS",
|
|
71803
|
+
"description": "Which ink sits on which surface, and at what APCA target.\n\nReads the single pairing table in the theme model rather than\ncarrying a second copy: an identical literal used to live here and\nin `compute-theme-properties.ts`, which is precisely the drift the\nrepository's adoption rules exist to catch. See ESP0164.",
|
|
71444
71804
|
"inheritedFrom": {
|
|
71445
71805
|
"name": "EspalierElementBase",
|
|
71446
71806
|
"module": "dist/shared/esp-element-base.js"
|
|
@@ -71498,7 +71858,7 @@
|
|
|
71498
71858
|
"privacy": "private",
|
|
71499
71859
|
"return": {
|
|
71500
71860
|
"type": {
|
|
71501
|
-
"text": "
|
|
71861
|
+
"text": "MappingSource"
|
|
71502
71862
|
}
|
|
71503
71863
|
},
|
|
71504
71864
|
"parameters": [
|
|
@@ -71511,7 +71871,7 @@
|
|
|
71511
71871
|
{
|
|
71512
71872
|
"name": "mappedSource",
|
|
71513
71873
|
"type": {
|
|
71514
|
-
"text": "
|
|
71874
|
+
"text": "MappingSource"
|
|
71515
71875
|
}
|
|
71516
71876
|
},
|
|
71517
71877
|
{
|
|
@@ -72386,6 +72746,14 @@
|
|
|
72386
72746
|
"type": {
|
|
72387
72747
|
"text": "\"light\" | \"dark\""
|
|
72388
72748
|
}
|
|
72749
|
+
},
|
|
72750
|
+
{
|
|
72751
|
+
"name": "trace",
|
|
72752
|
+
"optional": true,
|
|
72753
|
+
"type": {
|
|
72754
|
+
"text": "ThemeFitTraceEntry[]"
|
|
72755
|
+
},
|
|
72756
|
+
"description": "Optional sink for the theme fit report (ESP0163). When\nsupplied, each semantic derivation is appended as it is emitted —\nthe emitted value read back out of the property record, and the\npre-enforcement value taken from the derivation itself — so a report\ndescribes this run rather than re-deriving it. When omitted the\npipeline does no reporting work at all."
|
|
72389
72757
|
}
|
|
72390
72758
|
],
|
|
72391
72759
|
"description": "Compute every CSS custom property for a resolved theme.\n\nReturns a flat `Record<string, string>` keyed by property\nname (with `--` prefix)."
|
|
@@ -72405,39 +72773,22 @@
|
|
|
72405
72773
|
{
|
|
72406
72774
|
"kind": "javascript-module",
|
|
72407
72775
|
"path": "dist/root/helpers/compute-variants.js",
|
|
72408
|
-
"declarations": [
|
|
72409
|
-
{
|
|
72410
|
-
"kind": "function",
|
|
72411
|
-
"name": "computeVariants",
|
|
72412
|
-
"return": {
|
|
72413
|
-
"type": {
|
|
72414
|
-
"text": "Record<ColorSource, OklchColor>"
|
|
72415
|
-
}
|
|
72416
|
-
},
|
|
72417
|
-
"parameters": [
|
|
72418
|
-
{
|
|
72419
|
-
"name": "seed",
|
|
72420
|
-
"type": {
|
|
72421
|
-
"text": "OklchColor"
|
|
72422
|
-
}
|
|
72423
|
-
},
|
|
72424
|
-
{
|
|
72425
|
-
"name": "theme",
|
|
72426
|
-
"type": {
|
|
72427
|
-
"text": "EspalierTheme"
|
|
72428
|
-
}
|
|
72429
|
-
}
|
|
72430
|
-
],
|
|
72431
|
-
"description": "Derive all color-theory variants from a seed color\nusing the angle configuration in a theme.\n\nGeometric variants are computed by rotating the seed hue.\nSemantic hues (danger, success, warning) are absolute angles\nnormalized to 0–360 via rotateHue.\n\nEach non-primary variant uses its `variantChroma` override if\none is defined, otherwise it inherits the seed's chroma."
|
|
72432
|
-
}
|
|
72433
|
-
],
|
|
72776
|
+
"declarations": [],
|
|
72434
72777
|
"exports": [
|
|
72435
72778
|
{
|
|
72436
72779
|
"kind": "js",
|
|
72437
72780
|
"name": "computeVariants",
|
|
72438
72781
|
"declaration": {
|
|
72439
72782
|
"name": "computeVariants",
|
|
72440
|
-
"module": "
|
|
72783
|
+
"module": "../../shared/variant-engine.js"
|
|
72784
|
+
}
|
|
72785
|
+
},
|
|
72786
|
+
{
|
|
72787
|
+
"kind": "js",
|
|
72788
|
+
"name": "resolveMappingSource",
|
|
72789
|
+
"declaration": {
|
|
72790
|
+
"name": "resolveMappingSource",
|
|
72791
|
+
"module": "../../shared/variant-engine.js"
|
|
72441
72792
|
}
|
|
72442
72793
|
}
|
|
72443
72794
|
]
|