@genesislcap/rapid-design-system 15.72.0 → 15.73.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.
@@ -10861,6 +10861,60 @@
10861
10861
  }
10862
10862
  ]
10863
10863
  },
10864
+ {
10865
+ "kind": "javascript-module",
10866
+ "path": "src/design-system-provider/design-system-provider.ts",
10867
+ "declarations": [
10868
+ {
10869
+ "kind": "class",
10870
+ "description": "",
10871
+ "name": "DesignSystemProvider",
10872
+ "superclass": {
10873
+ "name": "FASTDesignSystemProvider",
10874
+ "package": "@microsoft/fast-components"
10875
+ },
10876
+ "tagName": "%%prefix%%-design-system-provider",
10877
+ "customElement": true
10878
+ },
10879
+ {
10880
+ "kind": "variable",
10881
+ "name": "designSystemProvider"
10882
+ }
10883
+ ],
10884
+ "exports": [
10885
+ {
10886
+ "kind": "js",
10887
+ "name": "DesignSystemProvider",
10888
+ "declaration": {
10889
+ "name": "DesignSystemProvider",
10890
+ "module": "src/design-system-provider/design-system-provider.ts"
10891
+ }
10892
+ },
10893
+ {
10894
+ "kind": "js",
10895
+ "name": "designSystemProvider",
10896
+ "declaration": {
10897
+ "name": "designSystemProvider",
10898
+ "module": "src/design-system-provider/design-system-provider.ts"
10899
+ }
10900
+ }
10901
+ ]
10902
+ },
10903
+ {
10904
+ "kind": "javascript-module",
10905
+ "path": "src/design-system-provider/index.ts",
10906
+ "declarations": [],
10907
+ "exports": [
10908
+ {
10909
+ "kind": "js",
10910
+ "name": "*",
10911
+ "declaration": {
10912
+ "name": "*",
10913
+ "package": "./design-system-provider"
10914
+ }
10915
+ }
10916
+ ]
10917
+ },
10864
10918
  {
10865
10919
  "kind": "javascript-module",
10866
10920
  "path": "src/dialog/dialog.styles.ts",
@@ -12112,60 +12166,6 @@
12112
12166
  }
12113
12167
  ]
12114
12168
  },
12115
- {
12116
- "kind": "javascript-module",
12117
- "path": "src/design-system-provider/design-system-provider.ts",
12118
- "declarations": [
12119
- {
12120
- "kind": "class",
12121
- "description": "",
12122
- "name": "DesignSystemProvider",
12123
- "superclass": {
12124
- "name": "FASTDesignSystemProvider",
12125
- "package": "@microsoft/fast-components"
12126
- },
12127
- "tagName": "%%prefix%%-design-system-provider",
12128
- "customElement": true
12129
- },
12130
- {
12131
- "kind": "variable",
12132
- "name": "designSystemProvider"
12133
- }
12134
- ],
12135
- "exports": [
12136
- {
12137
- "kind": "js",
12138
- "name": "DesignSystemProvider",
12139
- "declaration": {
12140
- "name": "DesignSystemProvider",
12141
- "module": "src/design-system-provider/design-system-provider.ts"
12142
- }
12143
- },
12144
- {
12145
- "kind": "js",
12146
- "name": "designSystemProvider",
12147
- "declaration": {
12148
- "name": "designSystemProvider",
12149
- "module": "src/design-system-provider/design-system-provider.ts"
12150
- }
12151
- }
12152
- ]
12153
- },
12154
- {
12155
- "kind": "javascript-module",
12156
- "path": "src/design-system-provider/index.ts",
12157
- "declarations": [],
12158
- "exports": [
12159
- {
12160
- "kind": "js",
12161
- "name": "*",
12162
- "declaration": {
12163
- "name": "*",
12164
- "package": "./design-system-provider"
12165
- }
12166
- }
12167
- ]
12168
- },
12169
12169
  {
12170
12170
  "kind": "javascript-module",
12171
12171
  "path": "src/disclosure/disclosure.styles.ts",
@@ -24156,6 +24156,31 @@
24156
24156
  "module": "src/notification-listener/notification-listener.ts"
24157
24157
  }
24158
24158
  },
24159
+ {
24160
+ "kind": "field",
24161
+ "name": "reconnections",
24162
+ "type": {
24163
+ "text": "number"
24164
+ },
24165
+ "privacy": "private",
24166
+ "default": "0",
24167
+ "inheritedFrom": {
24168
+ "name": "NotificationListener",
24169
+ "module": "src/notification-listener/notification-listener.ts"
24170
+ }
24171
+ },
24172
+ {
24173
+ "kind": "field",
24174
+ "name": "reconnection",
24175
+ "type": {
24176
+ "text": "Promise<void>"
24177
+ },
24178
+ "privacy": "private",
24179
+ "inheritedFrom": {
24180
+ "name": "NotificationListener",
24181
+ "module": "src/notification-listener/notification-listener.ts"
24182
+ }
24183
+ },
24159
24184
  {
24160
24185
  "kind": "method",
24161
24186
  "name": "handleReconnection",
@@ -24165,6 +24190,14 @@
24165
24190
  "text": "Promise<void>"
24166
24191
  }
24167
24192
  },
24193
+ "parameters": [
24194
+ {
24195
+ "name": "turn",
24196
+ "type": {
24197
+ "text": "number"
24198
+ }
24199
+ }
24200
+ ],
24168
24201
  "description": "Handles reconnection logic when the connection is established",
24169
24202
  "inheritedFrom": {
24170
24203
  "name": "NotificationListener",
@@ -24177,7 +24210,7 @@
24177
24210
  "privacy": "private",
24178
24211
  "return": {
24179
24212
  "type": {
24180
- "text": "Promise<void>"
24213
+ "text": "Promise<boolean>"
24181
24214
  }
24182
24215
  },
24183
24216
  "description": "Initializes the datasource for the notification resource",
@@ -309,24 +309,24 @@ export declare const DatePicker: React.ForwardRefExoticComponent<
309
309
  >;
310
310
  export type DatePickerRef = DatePickerWC;
311
311
 
312
- export declare const Dialog: React.ForwardRefExoticComponent<
312
+ export declare const DesignSystemProvider: React.ForwardRefExoticComponent<
313
313
  React.PropsWithChildren<
314
- Omit<PublicOf<DialogWC>, 'children' | 'style'> &
314
+ Omit<PublicOf<DesignSystemProviderWC>, 'children' | 'style'> &
315
315
  HTMLWCProps & {
316
- onClose?: (event: CustomEvent<unknown>) => void;
317
316
  }
318
- > & React.RefAttributes<DialogWC>
317
+ > & React.RefAttributes<DesignSystemProviderWC>
319
318
  >;
320
- export type DialogRef = DialogWC;
319
+ export type DesignSystemProviderRef = DesignSystemProviderWC;
321
320
 
322
- export declare const DesignSystemProvider: React.ForwardRefExoticComponent<
321
+ export declare const Dialog: React.ForwardRefExoticComponent<
323
322
  React.PropsWithChildren<
324
- Omit<PublicOf<DesignSystemProviderWC>, 'children' | 'style'> &
323
+ Omit<PublicOf<DialogWC>, 'children' | 'style'> &
325
324
  HTMLWCProps & {
325
+ onClose?: (event: CustomEvent<unknown>) => void;
326
326
  }
327
- > & React.RefAttributes<DesignSystemProviderWC>
327
+ > & React.RefAttributes<DialogWC>
328
328
  >;
329
- export type DesignSystemProviderRef = DesignSystemProviderWC;
329
+ export type DialogRef = DialogWC;
330
330
 
331
331
  export declare const Disclosure: React.ForwardRefExoticComponent<
332
332
  React.PropsWithChildren<
package/dist/react.cjs CHANGED
@@ -281,6 +281,11 @@ const DatePicker = React.forwardRef(function DatePicker(props, ref) {
281
281
  return React.createElement(customElements.getName(DatePickerWC) ?? '%%prefix%%-date-picker', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
282
282
  });
283
283
 
284
+ const DesignSystemProvider = React.forwardRef(function DesignSystemProvider(props, ref) {
285
+ const { children, ...rest } = props;
286
+ return React.createElement(customElements.getName(DesignSystemProviderWC) ?? '%%prefix%%-design-system-provider', { ...rest, ref }, children);
287
+ });
288
+
284
289
  const Dialog = React.forwardRef(function Dialog(props, ref) {
285
290
  const { onClose, children, ...rest } = props;
286
291
  const _innerRef = React.useRef(null);
@@ -298,11 +303,6 @@ const Dialog = React.forwardRef(function Dialog(props, ref) {
298
303
  return React.createElement(customElements.getName(DialogWC) ?? '%%prefix%%-dialog', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
299
304
  });
300
305
 
301
- const DesignSystemProvider = React.forwardRef(function DesignSystemProvider(props, ref) {
302
- const { children, ...rest } = props;
303
- return React.createElement(customElements.getName(DesignSystemProviderWC) ?? '%%prefix%%-design-system-provider', { ...rest, ref }, children);
304
- });
305
-
306
306
  const Disclosure = React.forwardRef(function Disclosure(props, ref) {
307
307
  const { children, ...rest } = props;
308
308
  return React.createElement(customElements.getName(DisclosureWC) ?? '%%prefix%%-disclosure', { ...rest, ref }, children);
@@ -1019,8 +1019,8 @@ module.exports = {
1019
1019
  Combobox,
1020
1020
  ConnectionIndicator,
1021
1021
  DatePicker,
1022
- Dialog,
1023
1022
  DesignSystemProvider,
1023
+ Dialog,
1024
1024
  Disclosure,
1025
1025
  Divider,
1026
1026
  DropdownMenu,
package/dist/react.mjs CHANGED
@@ -279,6 +279,11 @@ export const DatePicker = React.forwardRef(function DatePicker(props, ref) {
279
279
  return React.createElement(customElements.getName(DatePickerWC) ?? '%%prefix%%-date-picker', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
280
280
  });
281
281
 
282
+ export const DesignSystemProvider = React.forwardRef(function DesignSystemProvider(props, ref) {
283
+ const { children, ...rest } = props;
284
+ return React.createElement(customElements.getName(DesignSystemProviderWC) ?? '%%prefix%%-design-system-provider', { ...rest, ref }, children);
285
+ });
286
+
282
287
  export const Dialog = React.forwardRef(function Dialog(props, ref) {
283
288
  const { onClose, children, ...rest } = props;
284
289
  const _innerRef = React.useRef(null);
@@ -296,11 +301,6 @@ export const Dialog = React.forwardRef(function Dialog(props, ref) {
296
301
  return React.createElement(customElements.getName(DialogWC) ?? '%%prefix%%-dialog', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
297
302
  });
298
303
 
299
- export const DesignSystemProvider = React.forwardRef(function DesignSystemProvider(props, ref) {
300
- const { children, ...rest } = props;
301
- return React.createElement(customElements.getName(DesignSystemProviderWC) ?? '%%prefix%%-design-system-provider', { ...rest, ref }, children);
302
- });
303
-
304
304
  export const Disclosure = React.forwardRef(function Disclosure(props, ref) {
305
305
  const { children, ...rest } = props;
306
306
  return React.createElement(customElements.getName(DisclosureWC) ?? '%%prefix%%-disclosure', { ...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.72.0",
4
+ "version": "15.73.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.72.0",
41
- "@genesislcap/genx": "15.72.0",
42
- "@genesislcap/ts-builder": "15.72.0",
43
- "@genesislcap/uvu-playwright-builder": "15.72.0",
44
- "@genesislcap/vite-builder": "15.72.0",
45
- "@genesislcap/webpack-builder": "15.72.0",
40
+ "@genesislcap/foundation-testing": "15.73.0",
41
+ "@genesislcap/genx": "15.73.0",
42
+ "@genesislcap/ts-builder": "15.73.0",
43
+ "@genesislcap/uvu-playwright-builder": "15.73.0",
44
+ "@genesislcap/vite-builder": "15.73.0",
45
+ "@genesislcap/webpack-builder": "15.73.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.72.0",
58
- "@genesislcap/foundation-ui": "15.72.0",
59
- "@genesislcap/foundation-utils": "15.72.0",
57
+ "@genesislcap/foundation-logger": "15.73.0",
58
+ "@genesislcap/foundation-ui": "15.73.0",
59
+ "@genesislcap/foundation-utils": "15.73.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",