@genesislcap/foundation-ui 15.3.2 → 15.3.3

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.
@@ -1,4 +1,5 @@
1
1
  export * from './number-field.template';
2
2
  export * from './number-field.styles';
3
3
  export * from './number-field';
4
+ export { toIntlNumberFormat } from './utils';
4
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/number-field/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/number-field/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,gBAAgB,CAAC;AAC/B,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC"}
@@ -133,23 +133,23 @@ interface HTMLWCProps extends React.AriaAttributes {
133
133
  onInput?(e: Event): void;
134
134
  }
135
135
 
136
- export declare const ActionsMenu: React.ForwardRefExoticComponent<
136
+ export declare const AccordionItem: React.ForwardRefExoticComponent<
137
137
  React.PropsWithChildren<
138
- Omit<PublicOf<ActionsMenuWC>, 'children' | 'style'> &
138
+ Omit<PublicOf<AccordionItemWC>, 'children' | 'style'> &
139
139
  HTMLWCProps & {
140
140
  }
141
- > & React.RefAttributes<ActionsMenuWC>
141
+ > & React.RefAttributes<AccordionItemWC>
142
142
  >;
143
- export type ActionsMenuRef = ActionsMenuWC;
143
+ export type AccordionItemRef = AccordionItemWC;
144
144
 
145
- export declare const AccordionItem: React.ForwardRefExoticComponent<
145
+ export declare const ActionsMenu: React.ForwardRefExoticComponent<
146
146
  React.PropsWithChildren<
147
- Omit<PublicOf<AccordionItemWC>, 'children' | 'style'> &
147
+ Omit<PublicOf<ActionsMenuWC>, 'children' | 'style'> &
148
148
  HTMLWCProps & {
149
149
  }
150
- > & React.RefAttributes<AccordionItemWC>
150
+ > & React.RefAttributes<ActionsMenuWC>
151
151
  >;
152
- export type AccordionItemRef = AccordionItemWC;
152
+ export type ActionsMenuRef = ActionsMenuWC;
153
153
 
154
154
  export declare const AiCriteriaSearch: React.ForwardRefExoticComponent<
155
155
  React.PropsWithChildren<
@@ -162,23 +162,23 @@ export declare const AiCriteriaSearch: React.ForwardRefExoticComponent<
162
162
  >;
163
163
  export type AiCriteriaSearchRef = AiCriteriaSearchWC;
164
164
 
165
- export declare const Accordion: React.ForwardRefExoticComponent<
165
+ export declare const AiIndicator: React.ForwardRefExoticComponent<
166
166
  React.PropsWithChildren<
167
- Omit<PublicOf<AccordionWC>, 'children' | 'style'> &
167
+ Omit<PublicOf<AiIndicatorWC>, 'children' | 'style'> &
168
168
  HTMLWCProps & {
169
169
  }
170
- > & React.RefAttributes<AccordionWC>
170
+ > & React.RefAttributes<AiIndicatorWC>
171
171
  >;
172
- export type AccordionRef = AccordionWC;
172
+ export type AiIndicatorRef = AiIndicatorWC;
173
173
 
174
- export declare const AiIndicator: React.ForwardRefExoticComponent<
174
+ export declare const Accordion: React.ForwardRefExoticComponent<
175
175
  React.PropsWithChildren<
176
- Omit<PublicOf<AiIndicatorWC>, 'children' | 'style'> &
176
+ Omit<PublicOf<AccordionWC>, 'children' | 'style'> &
177
177
  HTMLWCProps & {
178
178
  }
179
- > & React.RefAttributes<AiIndicatorWC>
179
+ > & React.RefAttributes<AccordionWC>
180
180
  >;
181
- export type AiIndicatorRef = AiIndicatorWC;
181
+ export type AccordionRef = AccordionWC;
182
182
 
183
183
  export declare const Anchor: React.ForwardRefExoticComponent<
184
184
  React.PropsWithChildren<
@@ -1,3 +1,4 @@
1
1
  export * from './number-field.template';
2
2
  export * from './number-field.styles';
3
3
  export * from './number-field';
4
+ export { toIntlNumberFormat } from './utils';
@@ -71721,6 +71721,80 @@
71721
71721
  },
71722
71722
  "implementsTokenRanges": []
71723
71723
  },
71724
+ {
71725
+ "kind": "Function",
71726
+ "canonicalReference": "@genesislcap/foundation-ui!toIntlNumberFormat:function(1)",
71727
+ "docComment": "",
71728
+ "excerptTokens": [
71729
+ {
71730
+ "kind": "Content",
71731
+ "text": "toIntlNumberFormat: (value: "
71732
+ },
71733
+ {
71734
+ "kind": "Content",
71735
+ "text": "string"
71736
+ },
71737
+ {
71738
+ "kind": "Content",
71739
+ "text": ", locale: "
71740
+ },
71741
+ {
71742
+ "kind": "Content",
71743
+ "text": "string"
71744
+ },
71745
+ {
71746
+ "kind": "Content",
71747
+ "text": ", options: "
71748
+ },
71749
+ {
71750
+ "kind": "Reference",
71751
+ "text": "Intl.NumberFormatOptions",
71752
+ "canonicalReference": "!Intl.NumberFormatOptions:interface"
71753
+ },
71754
+ {
71755
+ "kind": "Content",
71756
+ "text": ") => "
71757
+ },
71758
+ {
71759
+ "kind": "Content",
71760
+ "text": "string"
71761
+ }
71762
+ ],
71763
+ "fileUrlPath": "src/number-field/utils.ts",
71764
+ "returnTypeTokenRange": {
71765
+ "startIndex": 7,
71766
+ "endIndex": 8
71767
+ },
71768
+ "releaseTag": "Public",
71769
+ "overloadIndex": 1,
71770
+ "parameters": [
71771
+ {
71772
+ "parameterName": "value",
71773
+ "parameterTypeTokenRange": {
71774
+ "startIndex": 1,
71775
+ "endIndex": 2
71776
+ },
71777
+ "isOptional": false
71778
+ },
71779
+ {
71780
+ "parameterName": "locale",
71781
+ "parameterTypeTokenRange": {
71782
+ "startIndex": 3,
71783
+ "endIndex": 4
71784
+ },
71785
+ "isOptional": false
71786
+ },
71787
+ {
71788
+ "parameterName": "options",
71789
+ "parameterTypeTokenRange": {
71790
+ "startIndex": 5,
71791
+ "endIndex": 6
71792
+ },
71793
+ "isOptional": false
71794
+ }
71795
+ ],
71796
+ "name": "toIntlNumberFormat"
71797
+ },
71724
71798
  {
71725
71799
  "kind": "TypeAlias",
71726
71800
  "canonicalReference": "@genesislcap/foundation-ui!TokenValue:type",
@@ -7425,6 +7425,8 @@ export declare class Toast extends FoundationElement {
7425
7425
  close(): void;
7426
7426
  }
7427
7427
 
7428
+ export declare const toIntlNumberFormat: (value: string, locale: string, options: Intl.NumberFormatOptions) => string;
7429
+
7428
7430
  export declare type TokenValue = string | number | boolean;
7429
7431
 
7430
7432
  /**
package/dist/react.cjs CHANGED
@@ -113,14 +113,14 @@ function _mergeRefs(...refs) {
113
113
  };
114
114
  }
115
115
 
116
- const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
116
+ const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
117
117
  const { children, ...rest } = props;
118
- return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
118
+ return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-accordion-item', { ...rest, ref }, children);
119
119
  });
120
120
 
121
- const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
121
+ const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
122
122
  const { children, ...rest } = props;
123
- return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-accordion-item', { ...rest, ref }, children);
123
+ return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
124
124
  });
125
125
 
126
126
  const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref) {
@@ -145,14 +145,14 @@ const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref)
145
145
  return React.createElement(customElements.getName(AiCriteriaSearchWC) ?? '%%prefix%%-ai-criteria-search', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
146
146
  });
147
147
 
148
- const Accordion = React.forwardRef(function Accordion(props, ref) {
148
+ const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
149
149
  const { children, ...rest } = props;
150
- return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
150
+ return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
151
151
  });
152
152
 
153
- const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
153
+ const Accordion = React.forwardRef(function Accordion(props, ref) {
154
154
  const { children, ...rest } = props;
155
- return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
155
+ return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
156
156
  });
157
157
 
158
158
  const Anchor = React.forwardRef(function Anchor(props, ref) {
@@ -1143,11 +1143,11 @@ const WeeklyRecurrence = React.forwardRef(function WeeklyRecurrence(props, ref)
1143
1143
  });
1144
1144
 
1145
1145
  module.exports = {
1146
- ActionsMenu,
1147
1146
  AccordionItem,
1147
+ ActionsMenu,
1148
1148
  AiCriteriaSearch,
1149
- Accordion,
1150
1149
  AiIndicator,
1150
+ Accordion,
1151
1151
  Anchor,
1152
1152
  AnchoredRegion,
1153
1153
  Avatar,
package/dist/react.mjs CHANGED
@@ -111,14 +111,14 @@ function _mergeRefs(...refs) {
111
111
  };
112
112
  }
113
113
 
114
- export const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
114
+ export const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
115
115
  const { children, ...rest } = props;
116
- return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
116
+ return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-accordion-item', { ...rest, ref }, children);
117
117
  });
118
118
 
119
- export const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
119
+ export const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
120
120
  const { children, ...rest } = props;
121
- return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-accordion-item', { ...rest, ref }, children);
121
+ return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
122
122
  });
123
123
 
124
124
  export const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref) {
@@ -143,14 +143,14 @@ export const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props
143
143
  return React.createElement(customElements.getName(AiCriteriaSearchWC) ?? '%%prefix%%-ai-criteria-search', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
144
144
  });
145
145
 
146
- export const Accordion = React.forwardRef(function Accordion(props, ref) {
146
+ export const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
147
147
  const { children, ...rest } = props;
148
- return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
148
+ return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
149
149
  });
150
150
 
151
- export const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
151
+ export const Accordion = React.forwardRef(function Accordion(props, ref) {
152
152
  const { children, ...rest } = props;
153
- return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
153
+ return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
154
154
  });
155
155
 
156
156
  export const Anchor = React.forwardRef(function Anchor(props, ref) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/foundation-ui",
3
3
  "description": "Genesis Foundation UI",
4
- "version": "15.3.2",
4
+ "version": "15.3.3",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -85,13 +85,13 @@
85
85
  }
86
86
  },
87
87
  "devDependencies": {
88
- "@genesislcap/foundation-testing": "15.3.2",
89
- "@genesislcap/genx": "15.3.2",
90
- "@genesislcap/rollup-builder": "15.3.2",
91
- "@genesislcap/ts-builder": "15.3.2",
92
- "@genesislcap/uvu-playwright-builder": "15.3.2",
93
- "@genesislcap/vite-builder": "15.3.2",
94
- "@genesislcap/webpack-builder": "15.3.2",
88
+ "@genesislcap/foundation-testing": "15.3.3",
89
+ "@genesislcap/genx": "15.3.3",
90
+ "@genesislcap/rollup-builder": "15.3.3",
91
+ "@genesislcap/ts-builder": "15.3.3",
92
+ "@genesislcap/uvu-playwright-builder": "15.3.3",
93
+ "@genesislcap/vite-builder": "15.3.3",
94
+ "@genesislcap/webpack-builder": "15.3.3",
95
95
  "copyfiles": "^2.4.1"
96
96
  },
97
97
  "dependencies": {
@@ -100,16 +100,16 @@
100
100
  "@fortawesome/free-regular-svg-icons": "^6.2.1",
101
101
  "@fortawesome/free-solid-svg-icons": "^6.2.1",
102
102
  "@genesiscommunitysuccess/analyzer-import-alias-plugin": "^5.0.3",
103
- "@genesislcap/expression-builder": "15.3.2",
104
- "@genesislcap/foundation-ai": "15.3.2",
105
- "@genesislcap/foundation-comms": "15.3.2",
106
- "@genesislcap/foundation-criteria": "15.3.2",
107
- "@genesislcap/foundation-errors": "15.3.2",
108
- "@genesislcap/foundation-events": "15.3.2",
109
- "@genesislcap/foundation-logger": "15.3.2",
110
- "@genesislcap/foundation-notifications": "15.3.2",
111
- "@genesislcap/foundation-user": "15.3.2",
112
- "@genesislcap/foundation-utils": "15.3.2",
103
+ "@genesislcap/expression-builder": "15.3.3",
104
+ "@genesislcap/foundation-ai": "15.3.3",
105
+ "@genesislcap/foundation-comms": "15.3.3",
106
+ "@genesislcap/foundation-criteria": "15.3.3",
107
+ "@genesislcap/foundation-errors": "15.3.3",
108
+ "@genesislcap/foundation-events": "15.3.3",
109
+ "@genesislcap/foundation-logger": "15.3.3",
110
+ "@genesislcap/foundation-notifications": "15.3.3",
111
+ "@genesislcap/foundation-user": "15.3.3",
112
+ "@genesislcap/foundation-utils": "15.3.3",
113
113
  "@microsoft/fast-colors": "5.3.1",
114
114
  "@microsoft/fast-components": "2.30.6",
115
115
  "@microsoft/fast-element": "1.14.0",
@@ -142,5 +142,5 @@
142
142
  "require": "./dist/react.cjs"
143
143
  }
144
144
  },
145
- "gitHead": "9b3b32a9d7642518469a81d1ed9cc79b3a6c0ece"
145
+ "gitHead": "f02b0631f64efa5fa842ba5f44028246fad7252c"
146
146
  }