@genesislcap/rapid-design-system 15.75.0 → 15.76.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.
@@ -804,86 +804,6 @@
804
804
  }
805
805
  ]
806
806
  },
807
- {
808
- "kind": "javascript-module",
809
- "path": "src/_config/configure.ts",
810
- "declarations": [
811
- {
812
- "kind": "function",
813
- "name": "configureRapidDesignSystem",
814
- "return": {
815
- "type": {
816
- "text": "void"
817
- }
818
- },
819
- "parameters": [
820
- {
821
- "name": "provider",
822
- "type": {
823
- "text": "HTMLElement"
824
- }
825
- },
826
- {
827
- "name": "config",
828
- "type": {
829
- "text": "Partial<DesignTokensConfig>"
830
- }
831
- }
832
- ],
833
- "description": "Extends configureDesignSystem with support for the `secondary`, `tertiary`, `error`,\n`success`, and `warning` color palettes.\n\nPass any of these entries under `design_tokens.color` in your config to override the defaults.\nOmitting any of them is safe — existing apps are unaffected and each token falls back to its\nbuilt-in default.",
834
- "privacy": "public"
835
- }
836
- ],
837
- "exports": [
838
- {
839
- "kind": "js",
840
- "name": "configureRapidDesignSystem",
841
- "declaration": {
842
- "name": "configureRapidDesignSystem",
843
- "module": "src/_config/configure.ts"
844
- }
845
- }
846
- ]
847
- },
848
- {
849
- "kind": "javascript-module",
850
- "path": "src/_config/index.ts",
851
- "declarations": [],
852
- "exports": [
853
- {
854
- "kind": "js",
855
- "name": "*",
856
- "declaration": {
857
- "name": "*",
858
- "package": "./configure"
859
- }
860
- },
861
- {
862
- "kind": "js",
863
- "name": "*",
864
- "declaration": {
865
- "name": "*",
866
- "package": "./styles"
867
- }
868
- },
869
- {
870
- "kind": "js",
871
- "name": "*",
872
- "declaration": {
873
- "name": "*",
874
- "package": "./tokens"
875
- }
876
- },
877
- {
878
- "kind": "js",
879
- "name": "*",
880
- "declaration": {
881
- "name": "*",
882
- "package": "./values"
883
- }
884
- }
885
- ]
886
- },
887
807
  {
888
808
  "kind": "javascript-module",
889
809
  "path": "src/accordion/accordion.styles.ts",
@@ -1032,6 +952,86 @@
1032
952
  }
1033
953
  ]
1034
954
  },
955
+ {
956
+ "kind": "javascript-module",
957
+ "path": "src/_config/configure.ts",
958
+ "declarations": [
959
+ {
960
+ "kind": "function",
961
+ "name": "configureRapidDesignSystem",
962
+ "return": {
963
+ "type": {
964
+ "text": "void"
965
+ }
966
+ },
967
+ "parameters": [
968
+ {
969
+ "name": "provider",
970
+ "type": {
971
+ "text": "HTMLElement"
972
+ }
973
+ },
974
+ {
975
+ "name": "config",
976
+ "type": {
977
+ "text": "Partial<DesignTokensConfig>"
978
+ }
979
+ }
980
+ ],
981
+ "description": "Extends configureDesignSystem with support for the `secondary`, `tertiary`, `error`,\n`success`, and `warning` color palettes.\n\nPass any of these entries under `design_tokens.color` in your config to override the defaults.\nOmitting any of them is safe — existing apps are unaffected and each token falls back to its\nbuilt-in default.",
982
+ "privacy": "public"
983
+ }
984
+ ],
985
+ "exports": [
986
+ {
987
+ "kind": "js",
988
+ "name": "configureRapidDesignSystem",
989
+ "declaration": {
990
+ "name": "configureRapidDesignSystem",
991
+ "module": "src/_config/configure.ts"
992
+ }
993
+ }
994
+ ]
995
+ },
996
+ {
997
+ "kind": "javascript-module",
998
+ "path": "src/_config/index.ts",
999
+ "declarations": [],
1000
+ "exports": [
1001
+ {
1002
+ "kind": "js",
1003
+ "name": "*",
1004
+ "declaration": {
1005
+ "name": "*",
1006
+ "package": "./configure"
1007
+ }
1008
+ },
1009
+ {
1010
+ "kind": "js",
1011
+ "name": "*",
1012
+ "declaration": {
1013
+ "name": "*",
1014
+ "package": "./styles"
1015
+ }
1016
+ },
1017
+ {
1018
+ "kind": "js",
1019
+ "name": "*",
1020
+ "declaration": {
1021
+ "name": "*",
1022
+ "package": "./tokens"
1023
+ }
1024
+ },
1025
+ {
1026
+ "kind": "js",
1027
+ "name": "*",
1028
+ "declaration": {
1029
+ "name": "*",
1030
+ "package": "./values"
1031
+ }
1032
+ }
1033
+ ]
1034
+ },
1035
1035
  {
1036
1036
  "kind": "javascript-module",
1037
1037
  "path": "src/accordion-item/accordion-item.styles.ts",
@@ -1282,6 +1282,18 @@
1282
1282
  "module": "src/actions-menu/actions-menu.ts"
1283
1283
  }
1284
1284
  },
1285
+ {
1286
+ "name": "icon-name",
1287
+ "type": {
1288
+ "text": "string"
1289
+ },
1290
+ "description": "When set, the opener renders this icon instead of the `name` text (e.g. `ellipsis`\nfor an icon-only \"kebab\" opener).",
1291
+ "fieldName": "iconName",
1292
+ "inheritedFrom": {
1293
+ "name": "ActionsMenu",
1294
+ "module": "src/actions-menu/actions-menu.ts"
1295
+ }
1296
+ },
1285
1297
  {
1286
1298
  "name": "open",
1287
1299
  "type": {
@@ -1342,6 +1354,18 @@
1342
1354
  "module": "src/actions-menu/actions-menu.ts"
1343
1355
  }
1344
1356
  },
1357
+ {
1358
+ "kind": "field",
1359
+ "name": "actionsResolver",
1360
+ "type": {
1361
+ "text": "ActionMenuItemsResolver | undefined"
1362
+ },
1363
+ "description": "Resolves the actions per row instead of `actions`, from the row data in `definition`.",
1364
+ "inheritedFrom": {
1365
+ "name": "ActionsMenu",
1366
+ "module": "src/actions-menu/actions-menu.ts"
1367
+ }
1368
+ },
1345
1369
  {
1346
1370
  "kind": "field",
1347
1371
  "name": "isVertical",
@@ -1412,6 +1436,18 @@
1412
1436
  "module": "src/actions-menu/actions-menu.ts"
1413
1437
  }
1414
1438
  },
1439
+ {
1440
+ "kind": "field",
1441
+ "name": "iconName",
1442
+ "type": {
1443
+ "text": "string"
1444
+ },
1445
+ "description": "When set, the opener renders this icon instead of the `name` text (e.g. `ellipsis`\nfor an icon-only \"kebab\" opener).",
1446
+ "inheritedFrom": {
1447
+ "name": "ActionsMenu",
1448
+ "module": "src/actions-menu/actions-menu.ts"
1449
+ }
1450
+ },
1415
1451
  {
1416
1452
  "kind": "field",
1417
1453
  "name": "open",
@@ -1492,6 +1528,32 @@
1492
1528
  "module": "src/actions-menu/actions-menu.ts"
1493
1529
  }
1494
1530
  },
1531
+ {
1532
+ "kind": "field",
1533
+ "name": "positionTracker",
1534
+ "type": {
1535
+ "text": "AnchoredPopoverPositionTracker | undefined"
1536
+ },
1537
+ "privacy": "private",
1538
+ "inheritedFrom": {
1539
+ "name": "ActionsMenu",
1540
+ "module": "src/actions-menu/actions-menu.ts"
1541
+ }
1542
+ },
1543
+ {
1544
+ "kind": "field",
1545
+ "name": "focusMenuOnOpen",
1546
+ "type": {
1547
+ "text": "boolean"
1548
+ },
1549
+ "privacy": "private",
1550
+ "default": "false",
1551
+ "description": "Set when the keyboard opens the menu, so focus moves into it as screen readers announce.",
1552
+ "inheritedFrom": {
1553
+ "name": "ActionsMenu",
1554
+ "module": "src/actions-menu/actions-menu.ts"
1555
+ }
1556
+ },
1495
1557
  {
1496
1558
  "kind": "method",
1497
1559
  "name": "updateMenuPosition",
@@ -1501,6 +1563,24 @@
1501
1563
  "module": "src/actions-menu/actions-menu.ts"
1502
1564
  }
1503
1565
  },
1566
+ {
1567
+ "kind": "method",
1568
+ "name": "startTrackingPosition",
1569
+ "privacy": "private",
1570
+ "inheritedFrom": {
1571
+ "name": "ActionsMenu",
1572
+ "module": "src/actions-menu/actions-menu.ts"
1573
+ }
1574
+ },
1575
+ {
1576
+ "kind": "method",
1577
+ "name": "stopTrackingPosition",
1578
+ "privacy": "private",
1579
+ "inheritedFrom": {
1580
+ "name": "ActionsMenu",
1581
+ "module": "src/actions-menu/actions-menu.ts"
1582
+ }
1583
+ },
1504
1584
  {
1505
1585
  "kind": "method",
1506
1586
  "name": "definitionChanged",
@@ -1541,6 +1621,45 @@
1541
1621
  "module": "src/actions-menu/actions-menu.ts"
1542
1622
  }
1543
1623
  },
1624
+ {
1625
+ "kind": "method",
1626
+ "name": "onPopoverToggle",
1627
+ "parameters": [
1628
+ {
1629
+ "name": "event",
1630
+ "type": {
1631
+ "text": "Event"
1632
+ }
1633
+ }
1634
+ ],
1635
+ "description": "Syncs `open` when the native `popover=\"auto\"` light-dismiss (outside click / Escape) closes\nthe vertical menu without going through `toggleActionsMenuVisibility()`.",
1636
+ "inheritedFrom": {
1637
+ "name": "ActionsMenu",
1638
+ "module": "src/actions-menu/actions-menu.ts"
1639
+ }
1640
+ },
1641
+ {
1642
+ "kind": "method",
1643
+ "name": "onIconOpenerKeydown",
1644
+ "return": {
1645
+ "type": {
1646
+ "text": "boolean"
1647
+ }
1648
+ },
1649
+ "parameters": [
1650
+ {
1651
+ "name": "event",
1652
+ "type": {
1653
+ "text": "KeyboardEvent"
1654
+ }
1655
+ }
1656
+ ],
1657
+ "description": "Opens the icon-only opener from the keyboard, as a native button would.",
1658
+ "inheritedFrom": {
1659
+ "name": "ActionsMenu",
1660
+ "module": "src/actions-menu/actions-menu.ts"
1661
+ }
1662
+ },
1544
1663
  {
1545
1664
  "kind": "method",
1546
1665
  "name": "onActionMenuItemClick",
@@ -1557,6 +1676,54 @@
1557
1676
  "module": "src/actions-menu/actions-menu.ts"
1558
1677
  }
1559
1678
  },
1679
+ {
1680
+ "kind": "method",
1681
+ "name": "isActionDisabled",
1682
+ "return": {
1683
+ "type": {
1684
+ "text": "boolean"
1685
+ }
1686
+ },
1687
+ "parameters": [
1688
+ {
1689
+ "name": "action",
1690
+ "type": {
1691
+ "text": "ActionMenuItem"
1692
+ }
1693
+ }
1694
+ ],
1695
+ "description": "Resolves an action's `isDisabled` for the current row.",
1696
+ "inheritedFrom": {
1697
+ "name": "ActionsMenu",
1698
+ "module": "src/actions-menu/actions-menu.ts"
1699
+ }
1700
+ },
1701
+ {
1702
+ "kind": "field",
1703
+ "name": "resolvedActions",
1704
+ "type": {
1705
+ "text": "ActionMenuItem[]"
1706
+ },
1707
+ "description": "The actions for the current row: from `actionsResolver` when set, else `actions`.",
1708
+ "readonly": true,
1709
+ "inheritedFrom": {
1710
+ "name": "ActionsMenu",
1711
+ "module": "src/actions-menu/actions-menu.ts"
1712
+ }
1713
+ },
1714
+ {
1715
+ "kind": "field",
1716
+ "name": "hasVisibleActions",
1717
+ "type": {
1718
+ "text": "boolean"
1719
+ },
1720
+ "description": "Whether the row has an action to show: an enabled one, or any when disabled ones show.",
1721
+ "readonly": true,
1722
+ "inheritedFrom": {
1723
+ "name": "ActionsMenu",
1724
+ "module": "src/actions-menu/actions-menu.ts"
1725
+ }
1726
+ },
1560
1727
  {
1561
1728
  "kind": "field",
1562
1729
  "name": "allActions",
@@ -1 +1 @@
1
- {"version":3,"file":"actions-menu.styles.d.ts","sourceRoot":"","sources":["../../../src/actions-menu/actions-menu.styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,KAAK,EACV,wBAAwB,EACxB,2BAA2B,EAC5B,MAAM,4BAA4B,CAAC;AAEpC,eAAO,MAAM,sBAAsB,GACjC,SAAS,wBAAwB,EACjC,YAAY,2BAA2B,KACtC,aAsCF,CAAC"}
1
+ {"version":3,"file":"actions-menu.styles.d.ts","sourceRoot":"","sources":["../../../src/actions-menu/actions-menu.styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,KAAK,EACV,wBAAwB,EACxB,2BAA2B,EAC5B,MAAM,4BAA4B,CAAC;AAEpC,eAAO,MAAM,sBAAsB,GACjC,SAAS,wBAAwB,EACjC,YAAY,2BAA2B,KACtC,aAoBF,CAAC"}
@@ -20,22 +20,4 @@ export const rapidActionsMenuStyles = (context, definition) => css `
20
20
  rapid-menu-item[disabled] {
21
21
  pointer-events: none;
22
22
  }
23
-
24
- .actions-vertical .actions-menu {
25
- padding: 0;
26
- }
27
-
28
- .actions-vertical .menu-item {
29
- margin: 0;
30
- padding: calc(var(--design-unit) * 4px);
31
- border-bottom: calc(var(--stroke-width) * 1px) solid var(--neutral-fill-stealth-hover);
32
- }
33
-
34
- .actions-vertical .menu-item:last-child {
35
- border-bottom: none;
36
- }
37
-
38
- .actions-vertical .menu-item:focus {
39
- border: calc(var(--stroke-width) * 1px) solid var(--accent-foreground-focus);
40
- }
41
23
  `;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/rapid-design-system",
3
3
  "description": "Rapid Design System",
4
- "version": "15.75.0",
4
+ "version": "15.76.0",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -37,12 +37,12 @@
37
37
  },
38
38
  "devDependencies": {
39
39
  "@genesiscommunitysuccess/analyzer-import-alias-plugin": "^5.0.3",
40
- "@genesislcap/foundation-testing": "15.75.0",
41
- "@genesislcap/genx": "15.75.0",
42
- "@genesislcap/ts-builder": "15.75.0",
43
- "@genesislcap/uvu-playwright-builder": "15.75.0",
44
- "@genesislcap/vite-builder": "15.75.0",
45
- "@genesislcap/webpack-builder": "15.75.0",
40
+ "@genesislcap/foundation-testing": "15.76.0",
41
+ "@genesislcap/genx": "15.76.0",
42
+ "@genesislcap/ts-builder": "15.76.0",
43
+ "@genesislcap/uvu-playwright-builder": "15.76.0",
44
+ "@genesislcap/vite-builder": "15.76.0",
45
+ "@genesislcap/webpack-builder": "15.76.0",
46
46
  "flexlayout-react": "0.10.8"
47
47
  },
48
48
  "peerDependencies": {
@@ -54,9 +54,9 @@
54
54
  }
55
55
  },
56
56
  "dependencies": {
57
- "@genesislcap/foundation-logger": "15.75.0",
58
- "@genesislcap/foundation-ui": "15.75.0",
59
- "@genesislcap/foundation-utils": "15.75.0",
57
+ "@genesislcap/foundation-logger": "15.76.0",
58
+ "@genesislcap/foundation-ui": "15.76.0",
59
+ "@genesislcap/foundation-utils": "15.76.0",
60
60
  "@microsoft/fast-colors": "5.3.1",
61
61
  "@microsoft/fast-components": "2.30.6",
62
62
  "@microsoft/fast-element": "1.14.0",