@genesislcap/rapid-design-system 15.96.3 → 15.97.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.
@@ -783,27 +783,6 @@
783
783
  }
784
784
  ]
785
785
  },
786
- {
787
- "kind": "javascript-module",
788
- "path": "src/_common/color.hex.ts",
789
- "declarations": [],
790
- "exports": []
791
- },
792
- {
793
- "kind": "javascript-module",
794
- "path": "src/_common/index.ts",
795
- "declarations": [],
796
- "exports": [
797
- {
798
- "kind": "js",
799
- "name": "*",
800
- "declaration": {
801
- "name": "*",
802
- "package": "./color.hex"
803
- }
804
- }
805
- ]
806
- },
807
786
  {
808
787
  "kind": "javascript-module",
809
788
  "path": "src/_config/configure.ts",
@@ -884,154 +863,6 @@
884
863
  }
885
864
  ]
886
865
  },
887
- {
888
- "kind": "javascript-module",
889
- "path": "src/accordion/accordion.styles.ts",
890
- "declarations": [
891
- {
892
- "kind": "function",
893
- "name": "rapidAccordionStyles",
894
- "return": {
895
- "type": {
896
- "text": "ElementStyles"
897
- }
898
- },
899
- "parameters": [
900
- {
901
- "name": "context",
902
- "type": {
903
- "text": "ElementDefinitionContext"
904
- }
905
- },
906
- {
907
- "name": "definition",
908
- "type": {
909
- "text": "FoundationElementDefinition"
910
- }
911
- }
912
- ]
913
- }
914
- ],
915
- "exports": [
916
- {
917
- "kind": "js",
918
- "name": "rapidAccordionStyles",
919
- "declaration": {
920
- "name": "rapidAccordionStyles",
921
- "module": "src/accordion/accordion.styles.ts"
922
- }
923
- }
924
- ]
925
- },
926
- {
927
- "kind": "javascript-module",
928
- "path": "src/accordion/accordion.template.ts",
929
- "declarations": [
930
- {
931
- "kind": "function",
932
- "name": "rapidAccordionTemplate",
933
- "return": {
934
- "type": {
935
- "text": "ViewTemplate<Accordion>"
936
- }
937
- },
938
- "parameters": [
939
- {
940
- "name": "context",
941
- "type": {
942
- "text": "ElementDefinitionContext"
943
- }
944
- },
945
- {
946
- "name": "definition",
947
- "type": {
948
- "text": "FoundationElementDefinition"
949
- }
950
- }
951
- ]
952
- }
953
- ],
954
- "exports": [
955
- {
956
- "kind": "js",
957
- "name": "rapidAccordionTemplate",
958
- "declaration": {
959
- "name": "rapidAccordionTemplate",
960
- "module": "src/accordion/accordion.template.ts"
961
- }
962
- }
963
- ]
964
- },
965
- {
966
- "kind": "javascript-module",
967
- "path": "src/accordion/accordion.ts",
968
- "declarations": [
969
- {
970
- "kind": "class",
971
- "description": "",
972
- "name": "Accordion",
973
- "superclass": {
974
- "name": "foundationAccordion",
975
- "package": "@genesislcap/foundation-ui"
976
- },
977
- "tagName": "%%prefix%%-accordion",
978
- "customElement": true
979
- },
980
- {
981
- "kind": "variable",
982
- "name": "rapidAccordion"
983
- }
984
- ],
985
- "exports": [
986
- {
987
- "kind": "js",
988
- "name": "Accordion",
989
- "declaration": {
990
- "name": "Accordion",
991
- "module": "src/accordion/accordion.ts"
992
- }
993
- },
994
- {
995
- "kind": "js",
996
- "name": "rapidAccordion",
997
- "declaration": {
998
- "name": "rapidAccordion",
999
- "module": "src/accordion/accordion.ts"
1000
- }
1001
- }
1002
- ]
1003
- },
1004
- {
1005
- "kind": "javascript-module",
1006
- "path": "src/accordion/index.ts",
1007
- "declarations": [],
1008
- "exports": [
1009
- {
1010
- "kind": "js",
1011
- "name": "*",
1012
- "declaration": {
1013
- "name": "*",
1014
- "package": "./accordion"
1015
- }
1016
- },
1017
- {
1018
- "kind": "js",
1019
- "name": "*",
1020
- "declaration": {
1021
- "name": "*",
1022
- "package": "./accordion.styles"
1023
- }
1024
- },
1025
- {
1026
- "kind": "js",
1027
- "name": "*",
1028
- "declaration": {
1029
- "name": "*",
1030
- "package": "./accordion.template"
1031
- }
1032
- }
1033
- ]
1034
- },
1035
866
  {
1036
867
  "kind": "javascript-module",
1037
868
  "path": "src/accordion-item/accordion-item.styles.ts",
@@ -2522,6 +2353,154 @@
2522
2353
  }
2523
2354
  ]
2524
2355
  },
2356
+ {
2357
+ "kind": "javascript-module",
2358
+ "path": "src/accordion/accordion.styles.ts",
2359
+ "declarations": [
2360
+ {
2361
+ "kind": "function",
2362
+ "name": "rapidAccordionStyles",
2363
+ "return": {
2364
+ "type": {
2365
+ "text": "ElementStyles"
2366
+ }
2367
+ },
2368
+ "parameters": [
2369
+ {
2370
+ "name": "context",
2371
+ "type": {
2372
+ "text": "ElementDefinitionContext"
2373
+ }
2374
+ },
2375
+ {
2376
+ "name": "definition",
2377
+ "type": {
2378
+ "text": "FoundationElementDefinition"
2379
+ }
2380
+ }
2381
+ ]
2382
+ }
2383
+ ],
2384
+ "exports": [
2385
+ {
2386
+ "kind": "js",
2387
+ "name": "rapidAccordionStyles",
2388
+ "declaration": {
2389
+ "name": "rapidAccordionStyles",
2390
+ "module": "src/accordion/accordion.styles.ts"
2391
+ }
2392
+ }
2393
+ ]
2394
+ },
2395
+ {
2396
+ "kind": "javascript-module",
2397
+ "path": "src/accordion/accordion.template.ts",
2398
+ "declarations": [
2399
+ {
2400
+ "kind": "function",
2401
+ "name": "rapidAccordionTemplate",
2402
+ "return": {
2403
+ "type": {
2404
+ "text": "ViewTemplate<Accordion>"
2405
+ }
2406
+ },
2407
+ "parameters": [
2408
+ {
2409
+ "name": "context",
2410
+ "type": {
2411
+ "text": "ElementDefinitionContext"
2412
+ }
2413
+ },
2414
+ {
2415
+ "name": "definition",
2416
+ "type": {
2417
+ "text": "FoundationElementDefinition"
2418
+ }
2419
+ }
2420
+ ]
2421
+ }
2422
+ ],
2423
+ "exports": [
2424
+ {
2425
+ "kind": "js",
2426
+ "name": "rapidAccordionTemplate",
2427
+ "declaration": {
2428
+ "name": "rapidAccordionTemplate",
2429
+ "module": "src/accordion/accordion.template.ts"
2430
+ }
2431
+ }
2432
+ ]
2433
+ },
2434
+ {
2435
+ "kind": "javascript-module",
2436
+ "path": "src/accordion/accordion.ts",
2437
+ "declarations": [
2438
+ {
2439
+ "kind": "class",
2440
+ "description": "",
2441
+ "name": "Accordion",
2442
+ "superclass": {
2443
+ "name": "foundationAccordion",
2444
+ "package": "@genesislcap/foundation-ui"
2445
+ },
2446
+ "tagName": "%%prefix%%-accordion",
2447
+ "customElement": true
2448
+ },
2449
+ {
2450
+ "kind": "variable",
2451
+ "name": "rapidAccordion"
2452
+ }
2453
+ ],
2454
+ "exports": [
2455
+ {
2456
+ "kind": "js",
2457
+ "name": "Accordion",
2458
+ "declaration": {
2459
+ "name": "Accordion",
2460
+ "module": "src/accordion/accordion.ts"
2461
+ }
2462
+ },
2463
+ {
2464
+ "kind": "js",
2465
+ "name": "rapidAccordion",
2466
+ "declaration": {
2467
+ "name": "rapidAccordion",
2468
+ "module": "src/accordion/accordion.ts"
2469
+ }
2470
+ }
2471
+ ]
2472
+ },
2473
+ {
2474
+ "kind": "javascript-module",
2475
+ "path": "src/accordion/index.ts",
2476
+ "declarations": [],
2477
+ "exports": [
2478
+ {
2479
+ "kind": "js",
2480
+ "name": "*",
2481
+ "declaration": {
2482
+ "name": "*",
2483
+ "package": "./accordion"
2484
+ }
2485
+ },
2486
+ {
2487
+ "kind": "js",
2488
+ "name": "*",
2489
+ "declaration": {
2490
+ "name": "*",
2491
+ "package": "./accordion.styles"
2492
+ }
2493
+ },
2494
+ {
2495
+ "kind": "js",
2496
+ "name": "*",
2497
+ "declaration": {
2498
+ "name": "*",
2499
+ "package": "./accordion.template"
2500
+ }
2501
+ }
2502
+ ]
2503
+ },
2525
2504
  {
2526
2505
  "kind": "javascript-module",
2527
2506
  "path": "src/ai-indicator/ai-indicator.styles.ts",
@@ -2995,6 +2974,27 @@
2995
2974
  }
2996
2975
  ]
2997
2976
  },
2977
+ {
2978
+ "kind": "javascript-module",
2979
+ "path": "src/_common/color.hex.ts",
2980
+ "declarations": [],
2981
+ "exports": []
2982
+ },
2983
+ {
2984
+ "kind": "javascript-module",
2985
+ "path": "src/_common/index.ts",
2986
+ "declarations": [],
2987
+ "exports": [
2988
+ {
2989
+ "kind": "js",
2990
+ "name": "*",
2991
+ "declaration": {
2992
+ "name": "*",
2993
+ "package": "./color.hex"
2994
+ }
2995
+ }
2996
+ ]
2997
+ },
2998
2998
  {
2999
2999
  "kind": "javascript-module",
3000
3000
  "path": "src/anchor/anchor.styles.ts",
@@ -24212,6 +24212,19 @@
24212
24212
  "name": "NotificationListener",
24213
24213
  "module": "src/notification-listener/notification-listener.ts"
24214
24214
  }
24215
+ },
24216
+ {
24217
+ "name": "desktop-notifications",
24218
+ "type": {
24219
+ "text": "boolean"
24220
+ },
24221
+ "default": "false",
24222
+ "description": "Also show each new alert as an OS notification while no window of the app is visible.\nDoes nothing without Notification permission and an active service worker that calls\nregisterDesktopNotificationHandlers().",
24223
+ "fieldName": "desktopNotifications",
24224
+ "inheritedFrom": {
24225
+ "name": "NotificationListener",
24226
+ "module": "src/notification-listener/notification-listener.ts"
24227
+ }
24215
24228
  }
24216
24229
  ],
24217
24230
  "members": [
@@ -24288,6 +24301,28 @@
24288
24301
  "module": "src/notification-listener/notification-listener.ts"
24289
24302
  }
24290
24303
  },
24304
+ {
24305
+ "kind": "field",
24306
+ "name": "desktopNotifications",
24307
+ "type": {
24308
+ "text": "boolean"
24309
+ },
24310
+ "default": "false",
24311
+ "description": "Also show each new alert as an OS notification while no window of the app is visible.\nDoes nothing without Notification permission and an active service worker that calls\nregisterDesktopNotificationHandlers().",
24312
+ "privacy": "public",
24313
+ "inheritedFrom": {
24314
+ "name": "NotificationListener",
24315
+ "module": "src/notification-listener/notification-listener.ts"
24316
+ }
24317
+ },
24318
+ {
24319
+ "kind": "method",
24320
+ "name": "desktopNotificationsChanged",
24321
+ "inheritedFrom": {
24322
+ "name": "NotificationListener",
24323
+ "module": "src/notification-listener/notification-listener.ts"
24324
+ }
24325
+ },
24291
24326
  {
24292
24327
  "kind": "field",
24293
24328
  "name": "dataSub",
@@ -24349,6 +24384,18 @@
24349
24384
  "module": "src/notification-listener/notification-listener.ts"
24350
24385
  }
24351
24386
  },
24387
+ {
24388
+ "kind": "field",
24389
+ "name": "boundVisibilityChange",
24390
+ "type": {
24391
+ "text": "() => void | undefined"
24392
+ },
24393
+ "privacy": "private",
24394
+ "inheritedFrom": {
24395
+ "name": "NotificationListener",
24396
+ "module": "src/notification-listener/notification-listener.ts"
24397
+ }
24398
+ },
24352
24399
  {
24353
24400
  "kind": "method",
24354
24401
  "name": "handleReconnection",
@@ -24402,6 +24449,56 @@
24402
24449
  "module": "src/notification-listener/notification-listener.ts"
24403
24450
  }
24404
24451
  },
24452
+ {
24453
+ "kind": "method",
24454
+ "name": "handleVisibilityChange",
24455
+ "privacy": "private",
24456
+ "return": {
24457
+ "type": {
24458
+ "text": "void"
24459
+ }
24460
+ },
24461
+ "inheritedFrom": {
24462
+ "name": "NotificationListener",
24463
+ "module": "src/notification-listener/notification-listener.ts"
24464
+ }
24465
+ },
24466
+ {
24467
+ "kind": "method",
24468
+ "name": "clearDesktopNotifications",
24469
+ "privacy": "private",
24470
+ "return": {
24471
+ "type": {
24472
+ "text": "void"
24473
+ }
24474
+ },
24475
+ "inheritedFrom": {
24476
+ "name": "NotificationListener",
24477
+ "module": "src/notification-listener/notification-listener.ts"
24478
+ }
24479
+ },
24480
+ {
24481
+ "kind": "method",
24482
+ "name": "postToServiceWorker",
24483
+ "privacy": "private",
24484
+ "return": {
24485
+ "type": {
24486
+ "text": "void"
24487
+ }
24488
+ },
24489
+ "parameters": [
24490
+ {
24491
+ "name": "message",
24492
+ "type": {
24493
+ "text": "unknown"
24494
+ }
24495
+ }
24496
+ ],
24497
+ "inheritedFrom": {
24498
+ "name": "NotificationListener",
24499
+ "module": "src/notification-listener/notification-listener.ts"
24500
+ }
24501
+ },
24405
24502
  {
24406
24503
  "kind": "method",
24407
24504
  "name": "handleStreamUpdate",
@@ -24424,6 +24521,51 @@
24424
24521
  "module": "src/notification-listener/notification-listener.ts"
24425
24522
  }
24426
24523
  },
24524
+ {
24525
+ "kind": "method",
24526
+ "name": "handleDesktopNotification",
24527
+ "privacy": "private",
24528
+ "return": {
24529
+ "type": {
24530
+ "text": "void"
24531
+ }
24532
+ },
24533
+ "parameters": [
24534
+ {
24535
+ "name": "row",
24536
+ "type": {
24537
+ "text": "NotificationDataRow"
24538
+ }
24539
+ }
24540
+ ],
24541
+ "inheritedFrom": {
24542
+ "name": "NotificationListener",
24543
+ "module": "src/notification-listener/notification-listener.ts"
24544
+ }
24545
+ },
24546
+ {
24547
+ "kind": "method",
24548
+ "name": "desktopNotificationFor",
24549
+ "privacy": "public",
24550
+ "return": {
24551
+ "type": {
24552
+ "text": "DesktopNotification"
24553
+ }
24554
+ },
24555
+ "parameters": [
24556
+ {
24557
+ "name": "row",
24558
+ "type": {
24559
+ "text": "NotificationDataRow"
24560
+ }
24561
+ }
24562
+ ],
24563
+ "description": "The OS notification for an alert. Override to change the title, icon, tag or data.",
24564
+ "inheritedFrom": {
24565
+ "name": "NotificationListener",
24566
+ "module": "src/notification-listener/notification-listener.ts"
24567
+ }
24568
+ },
24427
24569
  {
24428
24570
  "kind": "method",
24429
24571
  "name": "showNotificationToast",
@@ -120,15 +120,6 @@ interface HTMLWCProps extends React.AriaAttributes {
120
120
  onInput?(e: Event): void;
121
121
  }
122
122
 
123
- export declare const Accordion: React.ForwardRefExoticComponent<
124
- React.PropsWithChildren<
125
- Omit<PublicOf<AccordionWC>, 'children' | 'style'> &
126
- HTMLWCProps & {
127
- }
128
- > & React.RefAttributes<AccordionWC>
129
- >;
130
- export type AccordionRef = AccordionWC;
131
-
132
123
  export declare const AccordionItem: React.ForwardRefExoticComponent<
133
124
  React.PropsWithChildren<
134
125
  Omit<PublicOf<AccordionItemWC>, 'children' | 'style'> &
@@ -158,6 +149,15 @@ export declare const AiCriteriaSearch: React.ForwardRefExoticComponent<
158
149
  >;
159
150
  export type AiCriteriaSearchRef = AiCriteriaSearchWC;
160
151
 
152
+ export declare const Accordion: React.ForwardRefExoticComponent<
153
+ React.PropsWithChildren<
154
+ Omit<PublicOf<AccordionWC>, 'children' | 'style'> &
155
+ HTMLWCProps & {
156
+ }
157
+ > & React.RefAttributes<AccordionWC>
158
+ >;
159
+ export type AccordionRef = AccordionWC;
160
+
161
161
  export declare const AiIndicator: React.ForwardRefExoticComponent<
162
162
  React.PropsWithChildren<
163
163
  Omit<PublicOf<AiIndicatorWC>, 'children' | 'style'> &
package/dist/react.cjs CHANGED
@@ -99,11 +99,6 @@ function _mergeRefs(...refs) {
99
99
  };
100
100
  }
101
101
 
102
- const Accordion = React.forwardRef(function Accordion(props, ref) {
103
- const { children, ...rest } = props;
104
- return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
105
- });
106
-
107
102
  const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
108
103
  const { children, ...rest } = props;
109
104
  return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-accordion-item', { ...rest, ref }, children);
@@ -136,6 +131,11 @@ const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref)
136
131
  return React.createElement(customElements.getName(AiCriteriaSearchWC) ?? '%%prefix%%-ai-criteria-search', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
137
132
  });
138
133
 
134
+ const Accordion = React.forwardRef(function Accordion(props, ref) {
135
+ const { children, ...rest } = props;
136
+ return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
137
+ });
138
+
139
139
  const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
140
140
  const { children, ...rest } = props;
141
141
  return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
@@ -1004,10 +1004,10 @@ const SystemHealthOverlay = React.forwardRef(function SystemHealthOverlay(props,
1004
1004
  });
1005
1005
 
1006
1006
  module.exports = {
1007
- Accordion,
1008
1007
  AccordionItem,
1009
1008
  ActionsMenu,
1010
1009
  AiCriteriaSearch,
1010
+ Accordion,
1011
1011
  AiIndicator,
1012
1012
  Anchor,
1013
1013
  AnchoredRegion,
package/dist/react.mjs CHANGED
@@ -97,11 +97,6 @@ function _mergeRefs(...refs) {
97
97
  };
98
98
  }
99
99
 
100
- export const Accordion = React.forwardRef(function Accordion(props, ref) {
101
- const { children, ...rest } = props;
102
- return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
103
- });
104
-
105
100
  export const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
106
101
  const { children, ...rest } = props;
107
102
  return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-accordion-item', { ...rest, ref }, children);
@@ -134,6 +129,11 @@ export const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props
134
129
  return React.createElement(customElements.getName(AiCriteriaSearchWC) ?? '%%prefix%%-ai-criteria-search', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
135
130
  });
136
131
 
132
+ export const Accordion = React.forwardRef(function Accordion(props, ref) {
133
+ const { children, ...rest } = props;
134
+ return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
135
+ });
136
+
137
137
  export const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
138
138
  const { children, ...rest } = props;
139
139
  return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
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.96.3",
4
+ "version": "15.97.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.96.3",
41
- "@genesislcap/genx": "15.96.3",
42
- "@genesislcap/ts-builder": "15.96.3",
43
- "@genesislcap/uvu-playwright-builder": "15.96.3",
44
- "@genesislcap/vite-builder": "15.96.3",
45
- "@genesislcap/webpack-builder": "15.96.3",
40
+ "@genesislcap/foundation-testing": "15.97.0",
41
+ "@genesislcap/genx": "15.97.0",
42
+ "@genesislcap/ts-builder": "15.97.0",
43
+ "@genesislcap/uvu-playwright-builder": "15.97.0",
44
+ "@genesislcap/vite-builder": "15.97.0",
45
+ "@genesislcap/webpack-builder": "15.97.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.96.3",
58
- "@genesislcap/foundation-ui": "15.96.3",
59
- "@genesislcap/foundation-utils": "15.96.3",
57
+ "@genesislcap/foundation-logger": "15.97.0",
58
+ "@genesislcap/foundation-ui": "15.97.0",
59
+ "@genesislcap/foundation-utils": "15.97.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",