@genesislcap/foundation-ui 14.374.0 → 14.374.2-alpha-2b5362b.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.
@@ -1263,188 +1263,6 @@
1263
1263
  }
1264
1264
  ]
1265
1265
  },
1266
- {
1267
- "kind": "javascript-module",
1268
- "path": "src/accordion/accordion.styles.ts",
1269
- "declarations": [
1270
- {
1271
- "kind": "function",
1272
- "name": "foundationAccordionStyles",
1273
- "return": {
1274
- "type": {
1275
- "text": "ElementStyles"
1276
- }
1277
- },
1278
- "parameters": [
1279
- {
1280
- "name": "context",
1281
- "type": {
1282
- "text": "ElementDefinitionContext"
1283
- }
1284
- },
1285
- {
1286
- "name": "definition",
1287
- "type": {
1288
- "text": "FoundationElementDefinition"
1289
- }
1290
- }
1291
- ]
1292
- }
1293
- ],
1294
- "exports": [
1295
- {
1296
- "kind": "js",
1297
- "name": "foundationAccordionStyles",
1298
- "declaration": {
1299
- "name": "foundationAccordionStyles",
1300
- "module": "src/accordion/accordion.styles.ts"
1301
- }
1302
- }
1303
- ]
1304
- },
1305
- {
1306
- "kind": "javascript-module",
1307
- "path": "src/accordion/accordion.template.ts",
1308
- "declarations": [
1309
- {
1310
- "kind": "function",
1311
- "name": "foundationAccordionTemplate",
1312
- "return": {
1313
- "type": {
1314
- "text": "ViewTemplate<Accordion>"
1315
- }
1316
- },
1317
- "parameters": [
1318
- {
1319
- "name": "context",
1320
- "type": {
1321
- "text": "ElementDefinitionContext"
1322
- }
1323
- },
1324
- {
1325
- "name": "definition",
1326
- "type": {
1327
- "text": "FoundationElementDefinition"
1328
- }
1329
- }
1330
- ]
1331
- }
1332
- ],
1333
- "exports": [
1334
- {
1335
- "kind": "js",
1336
- "name": "foundationAccordionTemplate",
1337
- "declaration": {
1338
- "name": "foundationAccordionTemplate",
1339
- "module": "src/accordion/accordion.template.ts"
1340
- }
1341
- }
1342
- ]
1343
- },
1344
- {
1345
- "kind": "javascript-module",
1346
- "path": "src/accordion/accordion.ts",
1347
- "declarations": [
1348
- {
1349
- "kind": "class",
1350
- "description": "",
1351
- "name": "Accordion",
1352
- "superclass": {
1353
- "name": "FASTAccordion",
1354
- "package": "@microsoft/fast-foundation"
1355
- },
1356
- "tagName": "%%prefix%%-accordion",
1357
- "customElement": true
1358
- },
1359
- {
1360
- "kind": "variable",
1361
- "name": "foundationAccordionShadowOptions",
1362
- "type": {
1363
- "text": "ShadowRootInit"
1364
- },
1365
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1366
- },
1367
- {
1368
- "kind": "variable",
1369
- "name": "defaultAccordionConfig",
1370
- "type": {
1371
- "text": "object"
1372
- },
1373
- "default": "{}"
1374
- },
1375
- {
1376
- "kind": "variable",
1377
- "name": "foundationAccordion",
1378
- "description": "The Foundation Accordion",
1379
- "privacy": "public"
1380
- }
1381
- ],
1382
- "exports": [
1383
- {
1384
- "kind": "js",
1385
- "name": "Accordion",
1386
- "declaration": {
1387
- "name": "Accordion",
1388
- "module": "src/accordion/accordion.ts"
1389
- }
1390
- },
1391
- {
1392
- "kind": "js",
1393
- "name": "foundationAccordionShadowOptions",
1394
- "declaration": {
1395
- "name": "foundationAccordionShadowOptions",
1396
- "module": "src/accordion/accordion.ts"
1397
- }
1398
- },
1399
- {
1400
- "kind": "js",
1401
- "name": "defaultAccordionConfig",
1402
- "declaration": {
1403
- "name": "defaultAccordionConfig",
1404
- "module": "src/accordion/accordion.ts"
1405
- }
1406
- },
1407
- {
1408
- "kind": "js",
1409
- "name": "foundationAccordion",
1410
- "declaration": {
1411
- "name": "foundationAccordion",
1412
- "module": "src/accordion/accordion.ts"
1413
- }
1414
- }
1415
- ]
1416
- },
1417
- {
1418
- "kind": "javascript-module",
1419
- "path": "src/accordion/index.ts",
1420
- "declarations": [],
1421
- "exports": [
1422
- {
1423
- "kind": "js",
1424
- "name": "*",
1425
- "declaration": {
1426
- "name": "*",
1427
- "package": "./accordion.template"
1428
- }
1429
- },
1430
- {
1431
- "kind": "js",
1432
- "name": "*",
1433
- "declaration": {
1434
- "name": "*",
1435
- "package": "./accordion.styles"
1436
- }
1437
- },
1438
- {
1439
- "kind": "js",
1440
- "name": "*",
1441
- "declaration": {
1442
- "name": "*",
1443
- "package": "./accordion"
1444
- }
1445
- }
1446
- ]
1447
- },
1448
1266
  {
1449
1267
  "kind": "javascript-module",
1450
1268
  "path": "src/_config/index.ts",
@@ -2429,6 +2247,188 @@
2429
2247
  }
2430
2248
  ]
2431
2249
  },
2250
+ {
2251
+ "kind": "javascript-module",
2252
+ "path": "src/accordion/accordion.styles.ts",
2253
+ "declarations": [
2254
+ {
2255
+ "kind": "function",
2256
+ "name": "foundationAccordionStyles",
2257
+ "return": {
2258
+ "type": {
2259
+ "text": "ElementStyles"
2260
+ }
2261
+ },
2262
+ "parameters": [
2263
+ {
2264
+ "name": "context",
2265
+ "type": {
2266
+ "text": "ElementDefinitionContext"
2267
+ }
2268
+ },
2269
+ {
2270
+ "name": "definition",
2271
+ "type": {
2272
+ "text": "FoundationElementDefinition"
2273
+ }
2274
+ }
2275
+ ]
2276
+ }
2277
+ ],
2278
+ "exports": [
2279
+ {
2280
+ "kind": "js",
2281
+ "name": "foundationAccordionStyles",
2282
+ "declaration": {
2283
+ "name": "foundationAccordionStyles",
2284
+ "module": "src/accordion/accordion.styles.ts"
2285
+ }
2286
+ }
2287
+ ]
2288
+ },
2289
+ {
2290
+ "kind": "javascript-module",
2291
+ "path": "src/accordion/accordion.template.ts",
2292
+ "declarations": [
2293
+ {
2294
+ "kind": "function",
2295
+ "name": "foundationAccordionTemplate",
2296
+ "return": {
2297
+ "type": {
2298
+ "text": "ViewTemplate<Accordion>"
2299
+ }
2300
+ },
2301
+ "parameters": [
2302
+ {
2303
+ "name": "context",
2304
+ "type": {
2305
+ "text": "ElementDefinitionContext"
2306
+ }
2307
+ },
2308
+ {
2309
+ "name": "definition",
2310
+ "type": {
2311
+ "text": "FoundationElementDefinition"
2312
+ }
2313
+ }
2314
+ ]
2315
+ }
2316
+ ],
2317
+ "exports": [
2318
+ {
2319
+ "kind": "js",
2320
+ "name": "foundationAccordionTemplate",
2321
+ "declaration": {
2322
+ "name": "foundationAccordionTemplate",
2323
+ "module": "src/accordion/accordion.template.ts"
2324
+ }
2325
+ }
2326
+ ]
2327
+ },
2328
+ {
2329
+ "kind": "javascript-module",
2330
+ "path": "src/accordion/accordion.ts",
2331
+ "declarations": [
2332
+ {
2333
+ "kind": "class",
2334
+ "description": "",
2335
+ "name": "Accordion",
2336
+ "superclass": {
2337
+ "name": "FASTAccordion",
2338
+ "package": "@microsoft/fast-foundation"
2339
+ },
2340
+ "tagName": "%%prefix%%-accordion",
2341
+ "customElement": true
2342
+ },
2343
+ {
2344
+ "kind": "variable",
2345
+ "name": "foundationAccordionShadowOptions",
2346
+ "type": {
2347
+ "text": "ShadowRootInit"
2348
+ },
2349
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2350
+ },
2351
+ {
2352
+ "kind": "variable",
2353
+ "name": "defaultAccordionConfig",
2354
+ "type": {
2355
+ "text": "object"
2356
+ },
2357
+ "default": "{}"
2358
+ },
2359
+ {
2360
+ "kind": "variable",
2361
+ "name": "foundationAccordion",
2362
+ "description": "The Foundation Accordion",
2363
+ "privacy": "public"
2364
+ }
2365
+ ],
2366
+ "exports": [
2367
+ {
2368
+ "kind": "js",
2369
+ "name": "Accordion",
2370
+ "declaration": {
2371
+ "name": "Accordion",
2372
+ "module": "src/accordion/accordion.ts"
2373
+ }
2374
+ },
2375
+ {
2376
+ "kind": "js",
2377
+ "name": "foundationAccordionShadowOptions",
2378
+ "declaration": {
2379
+ "name": "foundationAccordionShadowOptions",
2380
+ "module": "src/accordion/accordion.ts"
2381
+ }
2382
+ },
2383
+ {
2384
+ "kind": "js",
2385
+ "name": "defaultAccordionConfig",
2386
+ "declaration": {
2387
+ "name": "defaultAccordionConfig",
2388
+ "module": "src/accordion/accordion.ts"
2389
+ }
2390
+ },
2391
+ {
2392
+ "kind": "js",
2393
+ "name": "foundationAccordion",
2394
+ "declaration": {
2395
+ "name": "foundationAccordion",
2396
+ "module": "src/accordion/accordion.ts"
2397
+ }
2398
+ }
2399
+ ]
2400
+ },
2401
+ {
2402
+ "kind": "javascript-module",
2403
+ "path": "src/accordion/index.ts",
2404
+ "declarations": [],
2405
+ "exports": [
2406
+ {
2407
+ "kind": "js",
2408
+ "name": "*",
2409
+ "declaration": {
2410
+ "name": "*",
2411
+ "package": "./accordion.template"
2412
+ }
2413
+ },
2414
+ {
2415
+ "kind": "js",
2416
+ "name": "*",
2417
+ "declaration": {
2418
+ "name": "*",
2419
+ "package": "./accordion.styles"
2420
+ }
2421
+ },
2422
+ {
2423
+ "kind": "js",
2424
+ "name": "*",
2425
+ "declaration": {
2426
+ "name": "*",
2427
+ "package": "./accordion"
2428
+ }
2429
+ }
2430
+ ]
2431
+ },
2432
2432
  {
2433
2433
  "kind": "javascript-module",
2434
2434
  "path": "src/anchor/anchor.styles.ts",
@@ -23161,7 +23161,7 @@
23161
23161
  "type": {
23162
23162
  "text": "ElementStyles"
23163
23163
  },
23164
- "default": "css`\n /* Host */\n :host {\n display: inline-block;\n height: 100vh;\n position: absolute;\n width: 100vw;\n }\n\n :host([closed]) {\n display: none;\n }\n\n div.container {\n height: 100%;\n width: 100%;\n }\n\n /* flyout */\n div.flyout {\n background-color: white;\n color: black;\n height: 100%;\n position: absolute;\n /* stylelint-disable-next-line function-name-case */\n transition: transform ${flyoutAnimationTime.toString()}ms ease-in;\n width: 20%;\n z-index: 2001;\n }\n\n :host([position='left']) div.flyout {\n left: 0;\n transform: translateX(0%);\n }\n\n :host([position='right']) div.flyout {\n right: 0;\n transform: translateX(0%);\n }\n\n :host([visuallyhidden][position='left']) div.flyout {\n left: 0;\n transform: translateX(-100%);\n }\n\n :host([visuallyhidden][position='right']) div.flyout {\n right: 0;\n transform: translateX(100%);\n }\n\n div.header {\n align-items: center;\n display: flex;\n padding: calc(var(--design-unit) * 3px) calc(var(--design-unit) * 2px);\n }\n\n div.title {\n flex-grow: 1;\n }\n\n div.footer {\n bottom: 0;\n position: absolute;\n width: 100%;\n }\n\n /* Background */\n div.background {\n background-color: black;\n height: 100%;\n opacity: 50%;\n position: absolute;\n /* stylelint-disable-next-line function-name-case */\n transition: opacity ${flyoutAnimationTime.toString()}ms linear;\n width: 100%;\n z-index: 2000;\n }\n\n :host([visuallyhidden]) div.background {\n opacity: 0%;\n }\n`"
23164
+ "default": "css`\n /* Host */\n :host {\n display: inline-block;\n height: 100vh;\n position: absolute;\n width: 100vw;\n }\n\n :host([closed]) {\n display: none;\n }\n\n div.container {\n height: 100%;\n width: 100%;\n }\n\n /* flyout */\n div.flyout {\n background-color: white;\n color: black;\n height: 100%;\n position: absolute;\n /* stylelint-disable-next-line function-name-case */\n transition: transform ${flyoutAnimationTime.toString()}ms ease-in;\n width: 20%;\n z-index: 2001;\n }\n\n :host([position='left']) div.flyout {\n left: 0;\n transform: translateX(0%);\n }\n\n :host([position='right']) div.flyout {\n right: 0;\n transform: translateX(0%);\n }\n\n :host([visuallyhidden][position='left']) div.flyout {\n left: 0;\n transform: translateX(-100%);\n }\n\n :host([visuallyhidden][position='right']) div.flyout {\n right: 0;\n transform: translateX(100%);\n }\n\n div.header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n color: var(--neutral-foreground-hint);\n font-weight: 500;\n padding: calc(var(--design-unit) * 2px) calc(var(--design-unit) * 3px);\n\n rapid-button {\n --base-height-multiplier: 8;\n }\n\n rapid-button::part(control) {\n padding: 0 calc((8 + var(--design-unit) * 1 * var(--density)) * 1px);\n }\n }\n\n div.title {\n flex-grow: 1;\n }\n\n div.footer {\n bottom: 0;\n position: absolute;\n width: 100%;\n }\n\n /* Background */\n div.background {\n background-color: black;\n height: 100%;\n opacity: 50%;\n position: absolute;\n /* stylelint-disable-next-line function-name-case */\n transition: opacity ${flyoutAnimationTime.toString()}ms linear;\n width: 100%;\n z-index: 2000;\n }\n\n :host([visuallyhidden]) div.background {\n opacity: 0%;\n }\n`"
23165
23165
  }
23166
23166
  ],
23167
23167
  "exports": [
@@ -1 +1 @@
1
- {"version":3,"file":"flyout.styles.d.ts","sourceRoot":"","sources":["../../../src/flyout/flyout.styles.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAE7D,eAAO,MAAM,mBAAmB,MAAM,CAAC;AAEvC,eAAO,MAAM,sBAAsB,EAAE,aAiFpC,CAAC"}
1
+ {"version":3,"file":"flyout.styles.d.ts","sourceRoot":"","sources":["../../../src/flyout/flyout.styles.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAE7D,eAAO,MAAM,mBAAmB,MAAM,CAAC;AAEvC,eAAO,MAAM,sBAAsB,EAAE,aA4FpC,CAAC"}
@@ -51,9 +51,20 @@ export const foundationFlyoutStyles = css `
51
51
  }
52
52
 
53
53
  div.header {
54
- align-items: center;
55
54
  display: flex;
56
- padding: calc(var(--design-unit) * 3px) calc(var(--design-unit) * 2px);
55
+ align-items: center;
56
+ justify-content: space-between;
57
+ color: var(--neutral-foreground-hint);
58
+ font-weight: 500;
59
+ padding: calc(var(--design-unit) * 2px) calc(var(--design-unit) * 3px);
60
+
61
+ rapid-button {
62
+ --base-height-multiplier: 8;
63
+ }
64
+
65
+ rapid-button::part(control) {
66
+ padding: 0 calc((8 + var(--design-unit) * 1 * var(--density)) * 1px);
67
+ }
57
68
  }
58
69
 
59
70
  div.title {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/foundation-ui",
3
3
  "description": "Genesis Foundation UI",
4
- "version": "14.374.0",
4
+ "version": "14.374.2-alpha-2b5362b.0",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -83,13 +83,13 @@
83
83
  }
84
84
  },
85
85
  "devDependencies": {
86
- "@genesislcap/foundation-testing": "14.374.0",
87
- "@genesislcap/genx": "14.374.0",
88
- "@genesislcap/rollup-builder": "14.374.0",
89
- "@genesislcap/ts-builder": "14.374.0",
90
- "@genesislcap/uvu-playwright-builder": "14.374.0",
91
- "@genesislcap/vite-builder": "14.374.0",
92
- "@genesislcap/webpack-builder": "14.374.0",
86
+ "@genesislcap/foundation-testing": "14.374.2-alpha-2b5362b.0",
87
+ "@genesislcap/genx": "14.374.2-alpha-2b5362b.0",
88
+ "@genesislcap/rollup-builder": "14.374.2-alpha-2b5362b.0",
89
+ "@genesislcap/ts-builder": "14.374.2-alpha-2b5362b.0",
90
+ "@genesislcap/uvu-playwright-builder": "14.374.2-alpha-2b5362b.0",
91
+ "@genesislcap/vite-builder": "14.374.2-alpha-2b5362b.0",
92
+ "@genesislcap/webpack-builder": "14.374.2-alpha-2b5362b.0",
93
93
  "copyfiles": "^2.4.1"
94
94
  },
95
95
  "dependencies": {
@@ -98,15 +98,15 @@
98
98
  "@fortawesome/free-regular-svg-icons": "^6.2.1",
99
99
  "@fortawesome/free-solid-svg-icons": "^6.2.1",
100
100
  "@genesiscommunitysuccess/analyzer-import-alias-plugin": "^5.0.3",
101
- "@genesislcap/expression-builder": "14.374.0",
102
- "@genesislcap/foundation-comms": "14.374.0",
103
- "@genesislcap/foundation-criteria": "14.374.0",
104
- "@genesislcap/foundation-errors": "14.374.0",
105
- "@genesislcap/foundation-events": "14.374.0",
106
- "@genesislcap/foundation-logger": "14.374.0",
107
- "@genesislcap/foundation-notifications": "14.374.0",
108
- "@genesislcap/foundation-user": "14.374.0",
109
- "@genesislcap/foundation-utils": "14.374.0",
101
+ "@genesislcap/expression-builder": "14.374.2-alpha-2b5362b.0",
102
+ "@genesislcap/foundation-comms": "14.374.2-alpha-2b5362b.0",
103
+ "@genesislcap/foundation-criteria": "14.374.2-alpha-2b5362b.0",
104
+ "@genesislcap/foundation-errors": "14.374.2-alpha-2b5362b.0",
105
+ "@genesislcap/foundation-events": "14.374.2-alpha-2b5362b.0",
106
+ "@genesislcap/foundation-logger": "14.374.2-alpha-2b5362b.0",
107
+ "@genesislcap/foundation-notifications": "14.374.2-alpha-2b5362b.0",
108
+ "@genesislcap/foundation-user": "14.374.2-alpha-2b5362b.0",
109
+ "@genesislcap/foundation-utils": "14.374.2-alpha-2b5362b.0",
110
110
  "@microsoft/fast-colors": "5.3.1",
111
111
  "@microsoft/fast-components": "2.30.6",
112
112
  "@microsoft/fast-element": "1.14.0",
@@ -128,5 +128,5 @@
128
128
  "access": "public"
129
129
  },
130
130
  "customElements": "dist/custom-elements.json",
131
- "gitHead": "5b1d9974d57522806b773f291d40355a6dbff83a"
131
+ "gitHead": "2a38a730604c2d06125ebbdc8b5f8ca80027fefc"
132
132
  }