@genesislcap/foundation-zero 14.86.1-alpha-673edf5.0 → 14.87.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.
|
@@ -1151,6 +1151,194 @@
|
|
|
1151
1151
|
}
|
|
1152
1152
|
]
|
|
1153
1153
|
},
|
|
1154
|
+
{
|
|
1155
|
+
"kind": "javascript-module",
|
|
1156
|
+
"path": "src/anchor/anchor.stories.ts",
|
|
1157
|
+
"declarations": [
|
|
1158
|
+
{
|
|
1159
|
+
"kind": "variable",
|
|
1160
|
+
"name": "meta",
|
|
1161
|
+
"type": {
|
|
1162
|
+
"text": "Meta"
|
|
1163
|
+
},
|
|
1164
|
+
"default": "{\n title: 'Anchor',\n component: 'zero-anchor',\n}"
|
|
1165
|
+
},
|
|
1166
|
+
{
|
|
1167
|
+
"kind": "variable",
|
|
1168
|
+
"name": "All",
|
|
1169
|
+
"type": {
|
|
1170
|
+
"text": "StoryObj"
|
|
1171
|
+
},
|
|
1172
|
+
"default": "{\n args: {\n anchorText: 'Rapid Anchor',\n appearances: ZeroAppearanceValues,\n },\n ...StylesMapperTemplate,\n}"
|
|
1173
|
+
}
|
|
1174
|
+
],
|
|
1175
|
+
"exports": [
|
|
1176
|
+
{
|
|
1177
|
+
"kind": "js",
|
|
1178
|
+
"name": "default",
|
|
1179
|
+
"declaration": {
|
|
1180
|
+
"name": "meta",
|
|
1181
|
+
"module": "src/anchor/anchor.stories.ts"
|
|
1182
|
+
}
|
|
1183
|
+
},
|
|
1184
|
+
{
|
|
1185
|
+
"kind": "js",
|
|
1186
|
+
"name": "All",
|
|
1187
|
+
"declaration": {
|
|
1188
|
+
"name": "All",
|
|
1189
|
+
"module": "src/anchor/anchor.stories.ts"
|
|
1190
|
+
}
|
|
1191
|
+
}
|
|
1192
|
+
]
|
|
1193
|
+
},
|
|
1194
|
+
{
|
|
1195
|
+
"kind": "javascript-module",
|
|
1196
|
+
"path": "src/anchor/anchor.styles.ts",
|
|
1197
|
+
"declarations": [
|
|
1198
|
+
{
|
|
1199
|
+
"kind": "function",
|
|
1200
|
+
"name": "zeroAnchorStyles",
|
|
1201
|
+
"return": {
|
|
1202
|
+
"type": {
|
|
1203
|
+
"text": "ElementStyles"
|
|
1204
|
+
}
|
|
1205
|
+
},
|
|
1206
|
+
"parameters": [
|
|
1207
|
+
{
|
|
1208
|
+
"name": "context",
|
|
1209
|
+
"type": {
|
|
1210
|
+
"text": "ElementDefinitionContext"
|
|
1211
|
+
}
|
|
1212
|
+
},
|
|
1213
|
+
{
|
|
1214
|
+
"name": "definition",
|
|
1215
|
+
"type": {
|
|
1216
|
+
"text": "FoundationElementDefinition"
|
|
1217
|
+
}
|
|
1218
|
+
}
|
|
1219
|
+
]
|
|
1220
|
+
}
|
|
1221
|
+
],
|
|
1222
|
+
"exports": [
|
|
1223
|
+
{
|
|
1224
|
+
"kind": "js",
|
|
1225
|
+
"name": "zeroAnchorStyles",
|
|
1226
|
+
"declaration": {
|
|
1227
|
+
"name": "zeroAnchorStyles",
|
|
1228
|
+
"module": "src/anchor/anchor.styles.ts"
|
|
1229
|
+
}
|
|
1230
|
+
}
|
|
1231
|
+
]
|
|
1232
|
+
},
|
|
1233
|
+
{
|
|
1234
|
+
"kind": "javascript-module",
|
|
1235
|
+
"path": "src/anchor/anchor.template.ts",
|
|
1236
|
+
"declarations": [
|
|
1237
|
+
{
|
|
1238
|
+
"kind": "function",
|
|
1239
|
+
"name": "zeroAnchorTemplate",
|
|
1240
|
+
"return": {
|
|
1241
|
+
"type": {
|
|
1242
|
+
"text": "ViewTemplate<Anchor>"
|
|
1243
|
+
}
|
|
1244
|
+
},
|
|
1245
|
+
"parameters": [
|
|
1246
|
+
{
|
|
1247
|
+
"name": "context",
|
|
1248
|
+
"type": {
|
|
1249
|
+
"text": "ElementDefinitionContext"
|
|
1250
|
+
}
|
|
1251
|
+
},
|
|
1252
|
+
{
|
|
1253
|
+
"name": "definition",
|
|
1254
|
+
"type": {
|
|
1255
|
+
"text": "FoundationElementDefinition"
|
|
1256
|
+
}
|
|
1257
|
+
}
|
|
1258
|
+
]
|
|
1259
|
+
}
|
|
1260
|
+
],
|
|
1261
|
+
"exports": [
|
|
1262
|
+
{
|
|
1263
|
+
"kind": "js",
|
|
1264
|
+
"name": "zeroAnchorTemplate",
|
|
1265
|
+
"declaration": {
|
|
1266
|
+
"name": "zeroAnchorTemplate",
|
|
1267
|
+
"module": "src/anchor/anchor.template.ts"
|
|
1268
|
+
}
|
|
1269
|
+
}
|
|
1270
|
+
]
|
|
1271
|
+
},
|
|
1272
|
+
{
|
|
1273
|
+
"kind": "javascript-module",
|
|
1274
|
+
"path": "src/anchor/anchor.ts",
|
|
1275
|
+
"declarations": [
|
|
1276
|
+
{
|
|
1277
|
+
"kind": "class",
|
|
1278
|
+
"description": "",
|
|
1279
|
+
"name": "Anchor",
|
|
1280
|
+
"superclass": {
|
|
1281
|
+
"name": "FoundationAnchor",
|
|
1282
|
+
"package": "@genesislcap/foundation-ui"
|
|
1283
|
+
},
|
|
1284
|
+
"tagName": "%%prefix%%-anchor",
|
|
1285
|
+
"customElement": true
|
|
1286
|
+
},
|
|
1287
|
+
{
|
|
1288
|
+
"kind": "variable",
|
|
1289
|
+
"name": "zeroAnchor"
|
|
1290
|
+
}
|
|
1291
|
+
],
|
|
1292
|
+
"exports": [
|
|
1293
|
+
{
|
|
1294
|
+
"kind": "js",
|
|
1295
|
+
"name": "Anchor",
|
|
1296
|
+
"declaration": {
|
|
1297
|
+
"name": "Anchor",
|
|
1298
|
+
"module": "src/anchor/anchor.ts"
|
|
1299
|
+
}
|
|
1300
|
+
},
|
|
1301
|
+
{
|
|
1302
|
+
"kind": "js",
|
|
1303
|
+
"name": "zeroAnchor",
|
|
1304
|
+
"declaration": {
|
|
1305
|
+
"name": "zeroAnchor",
|
|
1306
|
+
"module": "src/anchor/anchor.ts"
|
|
1307
|
+
}
|
|
1308
|
+
}
|
|
1309
|
+
]
|
|
1310
|
+
},
|
|
1311
|
+
{
|
|
1312
|
+
"kind": "javascript-module",
|
|
1313
|
+
"path": "src/anchor/index.ts",
|
|
1314
|
+
"declarations": [],
|
|
1315
|
+
"exports": [
|
|
1316
|
+
{
|
|
1317
|
+
"kind": "js",
|
|
1318
|
+
"name": "*",
|
|
1319
|
+
"declaration": {
|
|
1320
|
+
"name": "*",
|
|
1321
|
+
"package": "./anchor"
|
|
1322
|
+
}
|
|
1323
|
+
},
|
|
1324
|
+
{
|
|
1325
|
+
"kind": "js",
|
|
1326
|
+
"name": "*",
|
|
1327
|
+
"declaration": {
|
|
1328
|
+
"name": "*",
|
|
1329
|
+
"package": "./anchor.styles"
|
|
1330
|
+
}
|
|
1331
|
+
},
|
|
1332
|
+
{
|
|
1333
|
+
"kind": "js",
|
|
1334
|
+
"name": "*",
|
|
1335
|
+
"declaration": {
|
|
1336
|
+
"name": "*",
|
|
1337
|
+
"package": "./anchor.template"
|
|
1338
|
+
}
|
|
1339
|
+
}
|
|
1340
|
+
]
|
|
1341
|
+
},
|
|
1154
1342
|
{
|
|
1155
1343
|
"kind": "javascript-module",
|
|
1156
1344
|
"path": "src/actions-menu/actions-menu.stories.ts",
|
|
@@ -1423,194 +1611,6 @@
|
|
|
1423
1611
|
}
|
|
1424
1612
|
]
|
|
1425
1613
|
},
|
|
1426
|
-
{
|
|
1427
|
-
"kind": "javascript-module",
|
|
1428
|
-
"path": "src/anchor/anchor.stories.ts",
|
|
1429
|
-
"declarations": [
|
|
1430
|
-
{
|
|
1431
|
-
"kind": "variable",
|
|
1432
|
-
"name": "meta",
|
|
1433
|
-
"type": {
|
|
1434
|
-
"text": "Meta"
|
|
1435
|
-
},
|
|
1436
|
-
"default": "{\n title: 'Anchor',\n component: 'zero-anchor',\n}"
|
|
1437
|
-
},
|
|
1438
|
-
{
|
|
1439
|
-
"kind": "variable",
|
|
1440
|
-
"name": "All",
|
|
1441
|
-
"type": {
|
|
1442
|
-
"text": "StoryObj"
|
|
1443
|
-
},
|
|
1444
|
-
"default": "{\n args: {\n anchorText: 'Rapid Anchor',\n appearances: ZeroAppearanceValues,\n },\n ...StylesMapperTemplate,\n}"
|
|
1445
|
-
}
|
|
1446
|
-
],
|
|
1447
|
-
"exports": [
|
|
1448
|
-
{
|
|
1449
|
-
"kind": "js",
|
|
1450
|
-
"name": "default",
|
|
1451
|
-
"declaration": {
|
|
1452
|
-
"name": "meta",
|
|
1453
|
-
"module": "src/anchor/anchor.stories.ts"
|
|
1454
|
-
}
|
|
1455
|
-
},
|
|
1456
|
-
{
|
|
1457
|
-
"kind": "js",
|
|
1458
|
-
"name": "All",
|
|
1459
|
-
"declaration": {
|
|
1460
|
-
"name": "All",
|
|
1461
|
-
"module": "src/anchor/anchor.stories.ts"
|
|
1462
|
-
}
|
|
1463
|
-
}
|
|
1464
|
-
]
|
|
1465
|
-
},
|
|
1466
|
-
{
|
|
1467
|
-
"kind": "javascript-module",
|
|
1468
|
-
"path": "src/anchor/anchor.styles.ts",
|
|
1469
|
-
"declarations": [
|
|
1470
|
-
{
|
|
1471
|
-
"kind": "function",
|
|
1472
|
-
"name": "zeroAnchorStyles",
|
|
1473
|
-
"return": {
|
|
1474
|
-
"type": {
|
|
1475
|
-
"text": "ElementStyles"
|
|
1476
|
-
}
|
|
1477
|
-
},
|
|
1478
|
-
"parameters": [
|
|
1479
|
-
{
|
|
1480
|
-
"name": "context",
|
|
1481
|
-
"type": {
|
|
1482
|
-
"text": "ElementDefinitionContext"
|
|
1483
|
-
}
|
|
1484
|
-
},
|
|
1485
|
-
{
|
|
1486
|
-
"name": "definition",
|
|
1487
|
-
"type": {
|
|
1488
|
-
"text": "FoundationElementDefinition"
|
|
1489
|
-
}
|
|
1490
|
-
}
|
|
1491
|
-
]
|
|
1492
|
-
}
|
|
1493
|
-
],
|
|
1494
|
-
"exports": [
|
|
1495
|
-
{
|
|
1496
|
-
"kind": "js",
|
|
1497
|
-
"name": "zeroAnchorStyles",
|
|
1498
|
-
"declaration": {
|
|
1499
|
-
"name": "zeroAnchorStyles",
|
|
1500
|
-
"module": "src/anchor/anchor.styles.ts"
|
|
1501
|
-
}
|
|
1502
|
-
}
|
|
1503
|
-
]
|
|
1504
|
-
},
|
|
1505
|
-
{
|
|
1506
|
-
"kind": "javascript-module",
|
|
1507
|
-
"path": "src/anchor/anchor.template.ts",
|
|
1508
|
-
"declarations": [
|
|
1509
|
-
{
|
|
1510
|
-
"kind": "function",
|
|
1511
|
-
"name": "zeroAnchorTemplate",
|
|
1512
|
-
"return": {
|
|
1513
|
-
"type": {
|
|
1514
|
-
"text": "ViewTemplate<Anchor>"
|
|
1515
|
-
}
|
|
1516
|
-
},
|
|
1517
|
-
"parameters": [
|
|
1518
|
-
{
|
|
1519
|
-
"name": "context",
|
|
1520
|
-
"type": {
|
|
1521
|
-
"text": "ElementDefinitionContext"
|
|
1522
|
-
}
|
|
1523
|
-
},
|
|
1524
|
-
{
|
|
1525
|
-
"name": "definition",
|
|
1526
|
-
"type": {
|
|
1527
|
-
"text": "FoundationElementDefinition"
|
|
1528
|
-
}
|
|
1529
|
-
}
|
|
1530
|
-
]
|
|
1531
|
-
}
|
|
1532
|
-
],
|
|
1533
|
-
"exports": [
|
|
1534
|
-
{
|
|
1535
|
-
"kind": "js",
|
|
1536
|
-
"name": "zeroAnchorTemplate",
|
|
1537
|
-
"declaration": {
|
|
1538
|
-
"name": "zeroAnchorTemplate",
|
|
1539
|
-
"module": "src/anchor/anchor.template.ts"
|
|
1540
|
-
}
|
|
1541
|
-
}
|
|
1542
|
-
]
|
|
1543
|
-
},
|
|
1544
|
-
{
|
|
1545
|
-
"kind": "javascript-module",
|
|
1546
|
-
"path": "src/anchor/anchor.ts",
|
|
1547
|
-
"declarations": [
|
|
1548
|
-
{
|
|
1549
|
-
"kind": "class",
|
|
1550
|
-
"description": "",
|
|
1551
|
-
"name": "Anchor",
|
|
1552
|
-
"superclass": {
|
|
1553
|
-
"name": "FoundationAnchor",
|
|
1554
|
-
"package": "@genesislcap/foundation-ui"
|
|
1555
|
-
},
|
|
1556
|
-
"tagName": "%%prefix%%-anchor",
|
|
1557
|
-
"customElement": true
|
|
1558
|
-
},
|
|
1559
|
-
{
|
|
1560
|
-
"kind": "variable",
|
|
1561
|
-
"name": "zeroAnchor"
|
|
1562
|
-
}
|
|
1563
|
-
],
|
|
1564
|
-
"exports": [
|
|
1565
|
-
{
|
|
1566
|
-
"kind": "js",
|
|
1567
|
-
"name": "Anchor",
|
|
1568
|
-
"declaration": {
|
|
1569
|
-
"name": "Anchor",
|
|
1570
|
-
"module": "src/anchor/anchor.ts"
|
|
1571
|
-
}
|
|
1572
|
-
},
|
|
1573
|
-
{
|
|
1574
|
-
"kind": "js",
|
|
1575
|
-
"name": "zeroAnchor",
|
|
1576
|
-
"declaration": {
|
|
1577
|
-
"name": "zeroAnchor",
|
|
1578
|
-
"module": "src/anchor/anchor.ts"
|
|
1579
|
-
}
|
|
1580
|
-
}
|
|
1581
|
-
]
|
|
1582
|
-
},
|
|
1583
|
-
{
|
|
1584
|
-
"kind": "javascript-module",
|
|
1585
|
-
"path": "src/anchor/index.ts",
|
|
1586
|
-
"declarations": [],
|
|
1587
|
-
"exports": [
|
|
1588
|
-
{
|
|
1589
|
-
"kind": "js",
|
|
1590
|
-
"name": "*",
|
|
1591
|
-
"declaration": {
|
|
1592
|
-
"name": "*",
|
|
1593
|
-
"package": "./anchor"
|
|
1594
|
-
}
|
|
1595
|
-
},
|
|
1596
|
-
{
|
|
1597
|
-
"kind": "js",
|
|
1598
|
-
"name": "*",
|
|
1599
|
-
"declaration": {
|
|
1600
|
-
"name": "*",
|
|
1601
|
-
"package": "./anchor.styles"
|
|
1602
|
-
}
|
|
1603
|
-
},
|
|
1604
|
-
{
|
|
1605
|
-
"kind": "js",
|
|
1606
|
-
"name": "*",
|
|
1607
|
-
"declaration": {
|
|
1608
|
-
"name": "*",
|
|
1609
|
-
"package": "./anchor.template"
|
|
1610
|
-
}
|
|
1611
|
-
}
|
|
1612
|
-
]
|
|
1613
|
-
},
|
|
1614
1614
|
{
|
|
1615
1615
|
"kind": "javascript-module",
|
|
1616
1616
|
"path": "src/anchored-region/anchored-region.stories.ts",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"combobox.stories.d.ts","sourceRoot":"","sources":["../../../src/combobox/combobox.stories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAGhE,QAAA,MAAM,IAAI,EAAE,IAGX,CAAC;AACF,eAAe,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"combobox.stories.d.ts","sourceRoot":"","sources":["../../../src/combobox/combobox.stories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAGhE,QAAA,MAAM,IAAI,EAAE,IAGX,CAAC;AACF,eAAe,IAAI,CAAC;AA6CpB,eAAO,MAAM,OAAO,EAAE,QAYrB,CAAC"}
|
|
@@ -5,14 +5,28 @@ const meta = {
|
|
|
5
5
|
};
|
|
6
6
|
export default meta;
|
|
7
7
|
const wrapperStyle = 'height: 500px; width: 100%; display: flex; justify-content: center; align-items: center;';
|
|
8
|
+
const renderOption = (option) => html `
|
|
9
|
+
<zero-option value="${option.value}">${option.text}</zero-option>
|
|
10
|
+
`;
|
|
8
11
|
const OptionsMapperTemplate = {
|
|
9
12
|
render: ({ options, position }) => html `
|
|
10
13
|
<div style="${wrapperStyle}">
|
|
11
|
-
<
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
<div style="display: flex">
|
|
15
|
+
Combobox
|
|
16
|
+
<zero-combobox position="${position}">${options.map(renderOption)}</zero-combobox>
|
|
17
|
+
</div>
|
|
18
|
+
<div style="display: flex">
|
|
19
|
+
Case-Sensitive Combobox
|
|
20
|
+
<zero-combobox position="${position}" case-sensitive>
|
|
21
|
+
${options.map(renderOption)}
|
|
22
|
+
</zero-combobox>
|
|
23
|
+
</div>
|
|
24
|
+
<div style="display: flex">
|
|
25
|
+
Combobox with Ignore Input Click
|
|
26
|
+
<zero-combobox position="${position}" ignore-input-click>
|
|
27
|
+
${options.map(renderOption)}
|
|
28
|
+
</zero-combobox>
|
|
29
|
+
</div>
|
|
16
30
|
</div>
|
|
17
31
|
`,
|
|
18
32
|
};
|
|
@@ -22,6 +36,11 @@ const optionsData = [
|
|
|
22
36
|
{ text: 'Zero Option 3', value: 3 },
|
|
23
37
|
{ text: 'Zero Option 4', value: 4 },
|
|
24
38
|
{ text: 'Zero Option 5', value: 5 },
|
|
39
|
+
{ text: 'ABC', value: 'ABC' },
|
|
40
|
+
{ text: 'GBp', value: 'GBp' },
|
|
41
|
+
{ text: 'GBP', value: 'GBP' },
|
|
42
|
+
{ text: 'GbP', value: 'GbP' },
|
|
43
|
+
{ text: 'USD', value: 'USD' },
|
|
25
44
|
];
|
|
26
45
|
export const Primary = Object.assign(Object.assign({}, OptionsMapperTemplate), { argTypes: {
|
|
27
46
|
position: {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/foundation-zero",
|
|
3
3
|
"description": "Genesis Foundation Zero Design System",
|
|
4
|
-
"version": "14.
|
|
4
|
+
"version": "14.87.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"storybook": "storybook dev -p 6006"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
|
-
"@genesislcap/genx": "14.
|
|
68
|
+
"@genesislcap/genx": "14.87.0",
|
|
69
69
|
"@storybook/addon-essentials": "^7.1.0",
|
|
70
70
|
"@storybook/addon-links": "^7.1.0",
|
|
71
71
|
"@storybook/addons": "^7.1.0",
|
|
@@ -78,10 +78,10 @@
|
|
|
78
78
|
"storybook": "^7.1.0"
|
|
79
79
|
},
|
|
80
80
|
"dependencies": {
|
|
81
|
-
"@genesislcap/foundation-comms": "14.
|
|
82
|
-
"@genesislcap/foundation-logger": "14.
|
|
83
|
-
"@genesislcap/foundation-ui": "14.
|
|
84
|
-
"@genesislcap/foundation-utils": "14.
|
|
81
|
+
"@genesislcap/foundation-comms": "14.87.0",
|
|
82
|
+
"@genesislcap/foundation-logger": "14.87.0",
|
|
83
|
+
"@genesislcap/foundation-ui": "14.87.0",
|
|
84
|
+
"@genesislcap/foundation-utils": "14.87.0",
|
|
85
85
|
"@microsoft/fast-colors": "^5.1.4",
|
|
86
86
|
"@microsoft/fast-components": "^2.21.3",
|
|
87
87
|
"@microsoft/fast-element": "^1.7.0",
|
|
@@ -98,5 +98,5 @@
|
|
|
98
98
|
"access": "public"
|
|
99
99
|
},
|
|
100
100
|
"customElements": "dist/custom-elements.json",
|
|
101
|
-
"gitHead": "
|
|
101
|
+
"gitHead": "96868cfbd7d94873b41f416a3278bcfdb143156c"
|
|
102
102
|
}
|