@genesislcap/foundation-zero 14.79.0 → 14.79.1

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,194 +1151,6 @@
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
- },
1342
1154
  {
1343
1155
  "kind": "javascript-module",
1344
1156
  "path": "src/actions-menu/actions-menu.stories.ts",
@@ -1611,6 +1423,194 @@
1611
1423
  }
1612
1424
  ]
1613
1425
  },
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",
@@ -4375,13 +4375,9 @@
4375
4375
  "path": "src/date-picker/date-picker.template.ts",
4376
4376
  "declarations": [
4377
4377
  {
4378
- "kind": "function",
4378
+ "kind": "variable",
4379
4379
  "name": "zeroDatePickerTemplate",
4380
- "return": {
4381
- "type": {
4382
- "text": "ViewTemplate<DatePicker>"
4383
- }
4384
- }
4380
+ "default": "html<DatePicker>`\n ${getPrefixedDatePicker('zero')}\n`"
4385
4381
  }
4386
4382
  ],
4387
4383
  "exports": [
@@ -49,12 +49,12 @@ export declare const baseComponents: {
49
49
  }, typeof import("./dialog").Dialog>;
50
50
  zeroDatePicker: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<{
51
51
  baseName: string;
52
- template: () => import("@microsoft/fast-element").ViewTemplate<import("./date-picker").DatePicker, any>;
52
+ template: import("@microsoft/fast-element").ViewTemplate<import("./date-picker").DatePicker, any>;
53
53
  styles: () => import("@microsoft/fast-element").ElementStyles;
54
54
  shadowOptions: ShadowRootInit;
55
55
  }>) => import("@microsoft/fast-foundation").FoundationElementRegistry<{
56
56
  baseName: string;
57
- template: () => import("@microsoft/fast-element").ViewTemplate<import("./date-picker").DatePicker, any>;
57
+ template: import("@microsoft/fast-element").ViewTemplate<import("./date-picker").DatePicker, any>;
58
58
  styles: () => import("@microsoft/fast-element").ElementStyles;
59
59
  shadowOptions: ShadowRootInit;
60
60
  }, typeof import("./date-picker").DatePicker>;
@@ -8,12 +8,12 @@ export declare class DatePicker extends FoundationDatePicker {
8
8
  }
9
9
  export declare const zeroDatePicker: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<{
10
10
  baseName: string;
11
- template: () => import("@microsoft/fast-element").ViewTemplate<DatePicker, any>;
11
+ template: import("@microsoft/fast-element").ViewTemplate<DatePicker, any>;
12
12
  styles: () => import("@microsoft/fast-element").ElementStyles;
13
13
  shadowOptions: ShadowRootInit;
14
14
  }>) => import("@microsoft/fast-foundation").FoundationElementRegistry<{
15
15
  baseName: string;
16
- template: () => import("@microsoft/fast-element").ViewTemplate<DatePicker, any>;
16
+ template: import("@microsoft/fast-element").ViewTemplate<DatePicker, any>;
17
17
  styles: () => import("@microsoft/fast-element").ElementStyles;
18
18
  shadowOptions: ShadowRootInit;
19
19
  }, typeof DatePicker>;
@@ -1 +1 @@
1
- {"version":3,"file":"date-picker.styles.d.ts","sourceRoot":"","sources":["../../../src/date-picker/date-picker.styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAG7D,eAAO,MAAM,oBAAoB,QAAO,aAwBvC,CAAC"}
1
+ {"version":3,"file":"date-picker.styles.d.ts","sourceRoot":"","sources":["../../../src/date-picker/date-picker.styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAG7D,eAAO,MAAM,oBAAoB,QAAO,aAwCvC,CAAC"}
@@ -1,4 +1,3 @@
1
- import type { ViewTemplate } from '@microsoft/fast-element';
2
1
  import type { DatePicker } from './date-picker';
3
- export declare const zeroDatePickerTemplate: () => ViewTemplate<DatePicker>;
2
+ export declare const zeroDatePickerTemplate: import("@microsoft/fast-element").ViewTemplate<DatePicker, any>;
4
3
  //# sourceMappingURL=date-picker.template.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"date-picker.template.d.ts","sourceRoot":"","sources":["../../../src/date-picker/date-picker.template.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAEhD,eAAO,MAAM,sBAAsB,QAAO,aAAa,UAAU,CAAiC,CAAC"}
1
+ {"version":3,"file":"date-picker.template.d.ts","sourceRoot":"","sources":["../../../src/date-picker/date-picker.template.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAEhD,eAAO,MAAM,sBAAsB,iEAElC,CAAC"}
@@ -3,9 +3,8 @@ import { css } from '@microsoft/fast-element';
3
3
  import { ColorHEX } from '../_common';
4
4
  export const zeroDatePickerStyles = () => css `
5
5
  ${foundationDatePickerStyles}
6
- .date-toggle {
7
- background: var(--neutral-layer-card-container);
8
- color: var(--neutral-foreground-rest);
6
+ :host {
7
+ --primary-gradient-angle: -113.5deg;
9
8
  }
10
9
 
11
10
  .calendar-dropdown {
@@ -25,4 +24,21 @@ export const zeroDatePickerStyles = () => css `
25
24
  .month-day.current {
26
25
  color: ${ColorHEX.almostWhite};
27
26
  }
27
+
28
+ .input-icon-container {
29
+ display: flex;
30
+ justify-content: center;
31
+ align-items: center;
32
+ border-radius: calc(var(--control-corner-radius) * 1px);
33
+ width: 30px;
34
+ height: 30px;
35
+ }
36
+
37
+ .input-icon-container:hover {
38
+ background-color: ${ColorHEX.mediumGrey};
39
+ }
40
+
41
+ .date-toggle::part(end) {
42
+ margin-inline-end: 4px;
43
+ }
28
44
  `;
@@ -1,2 +1,5 @@
1
- import { foundationDatePickerTemplate } from '@genesislcap/foundation-ui';
2
- export const zeroDatePickerTemplate = () => foundationDatePickerTemplate;
1
+ import { getPrefixedDatePicker } from '@genesislcap/foundation-ui';
2
+ import { html } from '@microsoft/fast-element';
3
+ export const zeroDatePickerTemplate = html `
4
+ ${getPrefixedDatePicker('zero')}
5
+ `;
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.79.0",
4
+ "version": "14.79.1",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -62,7 +62,7 @@
62
62
  "storybook": "storybook dev -p 6006"
63
63
  },
64
64
  "devDependencies": {
65
- "@genesislcap/genx": "14.79.0",
65
+ "@genesislcap/genx": "14.79.1",
66
66
  "@storybook/addon-essentials": "^7.1.0",
67
67
  "@storybook/addon-links": "^7.1.0",
68
68
  "@storybook/addons": "^7.1.0",
@@ -75,9 +75,9 @@
75
75
  "storybook": "^7.1.0"
76
76
  },
77
77
  "dependencies": {
78
- "@genesislcap/foundation-comms": "14.79.0",
79
- "@genesislcap/foundation-ui": "14.79.0",
80
- "@genesislcap/foundation-utils": "14.79.0",
78
+ "@genesislcap/foundation-comms": "14.79.1",
79
+ "@genesislcap/foundation-ui": "14.79.1",
80
+ "@genesislcap/foundation-utils": "14.79.1",
81
81
  "@microsoft/fast-colors": "^5.1.4",
82
82
  "@microsoft/fast-components": "^2.21.3",
83
83
  "@microsoft/fast-element": "^1.7.0",
@@ -94,5 +94,5 @@
94
94
  "access": "public"
95
95
  },
96
96
  "customElements": "dist/custom-elements.json",
97
- "gitHead": "387b58371f312eade8910d403a6bcce506212bb7"
97
+ "gitHead": "f6631dc2350244ee9f1ea5fe24ef0eaadca32c1a"
98
98
  }