@genesislcap/rapid-design-system 14.437.4 → 14.437.5-canary.gs-updates
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.
- package/dist/custom-elements.json +273 -9
- package/dist/dts/react.d.ts +0 -1
- package/dist/react.cjs +2 -14
- package/dist/react.mjs +2 -14
- package/package.json +11 -11
|
@@ -9708,6 +9708,20 @@
|
|
|
9708
9708
|
"module": "src/date-picker/date-picker.ts"
|
|
9709
9709
|
}
|
|
9710
9710
|
},
|
|
9711
|
+
{
|
|
9712
|
+
"name": "use-locale-format",
|
|
9713
|
+
"type": {
|
|
9714
|
+
"text": "boolean"
|
|
9715
|
+
},
|
|
9716
|
+
"default": "false",
|
|
9717
|
+
"attribute": "use-locale-format",
|
|
9718
|
+
"fieldName": "useLocaleFormat",
|
|
9719
|
+
"description": "when true, `format` is set from dayjs locale `L`. Uses the browser locale (`navigator.language`) unless `lang` is set on the element.",
|
|
9720
|
+
"inheritedFrom": {
|
|
9721
|
+
"name": "DatePicker",
|
|
9722
|
+
"module": "src/date-picker/date-picker.ts"
|
|
9723
|
+
}
|
|
9724
|
+
},
|
|
9711
9725
|
{
|
|
9712
9726
|
"name": "inline-calendar",
|
|
9713
9727
|
"type": {
|
|
@@ -9763,6 +9777,33 @@
|
|
|
9763
9777
|
"module": "src/date-picker/date-picker.ts"
|
|
9764
9778
|
}
|
|
9765
9779
|
},
|
|
9780
|
+
{
|
|
9781
|
+
"name": "allow-empty",
|
|
9782
|
+
"type": {
|
|
9783
|
+
"text": "boolean"
|
|
9784
|
+
},
|
|
9785
|
+
"default": "false",
|
|
9786
|
+
"attribute": "allow-empty",
|
|
9787
|
+
"fieldName": "allowEmpty",
|
|
9788
|
+
"description": "when true, no initial date is selected; the input shows a placeholder until the user picks a date.",
|
|
9789
|
+
"inheritedFrom": {
|
|
9790
|
+
"name": "DatePicker",
|
|
9791
|
+
"module": "src/date-picker/date-picker.ts"
|
|
9792
|
+
}
|
|
9793
|
+
},
|
|
9794
|
+
{
|
|
9795
|
+
"name": "placeholder",
|
|
9796
|
+
"type": {
|
|
9797
|
+
"text": "string"
|
|
9798
|
+
},
|
|
9799
|
+
"attribute": "placeholder",
|
|
9800
|
+
"fieldName": "placeholder",
|
|
9801
|
+
"description": "hint shown when allow-empty is set and no date is selected. Defaults from `format` (e.g. DD/MM/YYYY → dd/mm/yyyy).",
|
|
9802
|
+
"inheritedFrom": {
|
|
9803
|
+
"name": "DatePicker",
|
|
9804
|
+
"module": "src/date-picker/date-picker.ts"
|
|
9805
|
+
}
|
|
9806
|
+
},
|
|
9766
9807
|
{
|
|
9767
9808
|
"name": "value",
|
|
9768
9809
|
"type": {
|
|
@@ -9849,6 +9890,35 @@
|
|
|
9849
9890
|
"module": "src/date-picker/date-picker.ts"
|
|
9850
9891
|
}
|
|
9851
9892
|
},
|
|
9893
|
+
{
|
|
9894
|
+
"kind": "method",
|
|
9895
|
+
"name": "langChanged",
|
|
9896
|
+
"inheritedFrom": {
|
|
9897
|
+
"name": "DatePicker",
|
|
9898
|
+
"module": "src/date-picker/date-picker.ts"
|
|
9899
|
+
}
|
|
9900
|
+
},
|
|
9901
|
+
{
|
|
9902
|
+
"kind": "field",
|
|
9903
|
+
"name": "useLocaleFormat",
|
|
9904
|
+
"type": {
|
|
9905
|
+
"text": "boolean"
|
|
9906
|
+
},
|
|
9907
|
+
"default": "false",
|
|
9908
|
+
"attribute": "use-locale-format",
|
|
9909
|
+
"inheritedFrom": {
|
|
9910
|
+
"name": "DatePicker",
|
|
9911
|
+
"module": "src/date-picker/date-picker.ts"
|
|
9912
|
+
}
|
|
9913
|
+
},
|
|
9914
|
+
{
|
|
9915
|
+
"kind": "method",
|
|
9916
|
+
"name": "useLocaleFormatChanged",
|
|
9917
|
+
"inheritedFrom": {
|
|
9918
|
+
"name": "DatePicker",
|
|
9919
|
+
"module": "src/date-picker/date-picker.ts"
|
|
9920
|
+
}
|
|
9921
|
+
},
|
|
9852
9922
|
{
|
|
9853
9923
|
"kind": "field",
|
|
9854
9924
|
"name": "visible",
|
|
@@ -9928,6 +9998,31 @@
|
|
|
9928
9998
|
"module": "src/date-picker/date-picker.ts"
|
|
9929
9999
|
}
|
|
9930
10000
|
},
|
|
10001
|
+
{
|
|
10002
|
+
"kind": "field",
|
|
10003
|
+
"name": "allowEmpty",
|
|
10004
|
+
"type": {
|
|
10005
|
+
"text": "boolean"
|
|
10006
|
+
},
|
|
10007
|
+
"default": "false",
|
|
10008
|
+
"attribute": "allow-empty",
|
|
10009
|
+
"inheritedFrom": {
|
|
10010
|
+
"name": "DatePicker",
|
|
10011
|
+
"module": "src/date-picker/date-picker.ts"
|
|
10012
|
+
}
|
|
10013
|
+
},
|
|
10014
|
+
{
|
|
10015
|
+
"kind": "field",
|
|
10016
|
+
"name": "placeholder",
|
|
10017
|
+
"type": {
|
|
10018
|
+
"text": "string"
|
|
10019
|
+
},
|
|
10020
|
+
"attribute": "placeholder",
|
|
10021
|
+
"inheritedFrom": {
|
|
10022
|
+
"name": "DatePicker",
|
|
10023
|
+
"module": "src/date-picker/date-picker.ts"
|
|
10024
|
+
}
|
|
10025
|
+
},
|
|
9931
10026
|
{
|
|
9932
10027
|
"kind": "field",
|
|
9933
10028
|
"name": "value",
|
|
@@ -9997,6 +10092,129 @@
|
|
|
9997
10092
|
"module": "src/date-picker/date-picker.ts"
|
|
9998
10093
|
}
|
|
9999
10094
|
},
|
|
10095
|
+
{
|
|
10096
|
+
"kind": "method",
|
|
10097
|
+
"name": "clear",
|
|
10098
|
+
"privacy": "public",
|
|
10099
|
+
"return": {
|
|
10100
|
+
"type": {
|
|
10101
|
+
"text": "void"
|
|
10102
|
+
}
|
|
10103
|
+
},
|
|
10104
|
+
"description": "Clears the selected date (only when `allow-empty` is enabled).",
|
|
10105
|
+
"inheritedFrom": {
|
|
10106
|
+
"name": "DatePicker",
|
|
10107
|
+
"module": "src/date-picker/date-picker.ts"
|
|
10108
|
+
}
|
|
10109
|
+
},
|
|
10110
|
+
{
|
|
10111
|
+
"kind": "method",
|
|
10112
|
+
"name": "applyLocaleFormat",
|
|
10113
|
+
"privacy": "private",
|
|
10114
|
+
"return": {
|
|
10115
|
+
"type": {
|
|
10116
|
+
"text": "void"
|
|
10117
|
+
}
|
|
10118
|
+
},
|
|
10119
|
+
"inheritedFrom": {
|
|
10120
|
+
"name": "DatePicker",
|
|
10121
|
+
"module": "src/date-picker/date-picker.ts"
|
|
10122
|
+
}
|
|
10123
|
+
},
|
|
10124
|
+
{
|
|
10125
|
+
"kind": "method",
|
|
10126
|
+
"name": "initializeEmpty",
|
|
10127
|
+
"privacy": "private",
|
|
10128
|
+
"return": {
|
|
10129
|
+
"type": {
|
|
10130
|
+
"text": "void"
|
|
10131
|
+
}
|
|
10132
|
+
},
|
|
10133
|
+
"inheritedFrom": {
|
|
10134
|
+
"name": "DatePicker",
|
|
10135
|
+
"module": "src/date-picker/date-picker.ts"
|
|
10136
|
+
}
|
|
10137
|
+
},
|
|
10138
|
+
{
|
|
10139
|
+
"kind": "method",
|
|
10140
|
+
"name": "initializeWithValue",
|
|
10141
|
+
"privacy": "private",
|
|
10142
|
+
"return": {
|
|
10143
|
+
"type": {
|
|
10144
|
+
"text": "void"
|
|
10145
|
+
}
|
|
10146
|
+
},
|
|
10147
|
+
"parameters": [
|
|
10148
|
+
{
|
|
10149
|
+
"name": "dateString",
|
|
10150
|
+
"type": {
|
|
10151
|
+
"text": "string"
|
|
10152
|
+
}
|
|
10153
|
+
}
|
|
10154
|
+
],
|
|
10155
|
+
"inheritedFrom": {
|
|
10156
|
+
"name": "DatePicker",
|
|
10157
|
+
"module": "src/date-picker/date-picker.ts"
|
|
10158
|
+
}
|
|
10159
|
+
},
|
|
10160
|
+
{
|
|
10161
|
+
"kind": "method",
|
|
10162
|
+
"name": "initializeWithDefaultDate",
|
|
10163
|
+
"privacy": "private",
|
|
10164
|
+
"return": {
|
|
10165
|
+
"type": {
|
|
10166
|
+
"text": "void"
|
|
10167
|
+
}
|
|
10168
|
+
},
|
|
10169
|
+
"inheritedFrom": {
|
|
10170
|
+
"name": "DatePicker",
|
|
10171
|
+
"module": "src/date-picker/date-picker.ts"
|
|
10172
|
+
}
|
|
10173
|
+
},
|
|
10174
|
+
{
|
|
10175
|
+
"kind": "method",
|
|
10176
|
+
"name": "applyValue",
|
|
10177
|
+
"privacy": "private",
|
|
10178
|
+
"return": {
|
|
10179
|
+
"type": {
|
|
10180
|
+
"text": "void"
|
|
10181
|
+
}
|
|
10182
|
+
},
|
|
10183
|
+
"parameters": [
|
|
10184
|
+
{
|
|
10185
|
+
"name": "dateString",
|
|
10186
|
+
"type": {
|
|
10187
|
+
"text": "string"
|
|
10188
|
+
}
|
|
10189
|
+
}
|
|
10190
|
+
],
|
|
10191
|
+
"inheritedFrom": {
|
|
10192
|
+
"name": "DatePicker",
|
|
10193
|
+
"module": "src/date-picker/date-picker.ts"
|
|
10194
|
+
}
|
|
10195
|
+
},
|
|
10196
|
+
{
|
|
10197
|
+
"kind": "method",
|
|
10198
|
+
"name": "clearToEmpty",
|
|
10199
|
+
"privacy": "private",
|
|
10200
|
+
"return": {
|
|
10201
|
+
"type": {
|
|
10202
|
+
"text": "void"
|
|
10203
|
+
}
|
|
10204
|
+
},
|
|
10205
|
+
"parameters": [
|
|
10206
|
+
{
|
|
10207
|
+
"name": "emitEvent",
|
|
10208
|
+
"type": {
|
|
10209
|
+
"text": "boolean"
|
|
10210
|
+
}
|
|
10211
|
+
}
|
|
10212
|
+
],
|
|
10213
|
+
"inheritedFrom": {
|
|
10214
|
+
"name": "DatePicker",
|
|
10215
|
+
"module": "src/date-picker/date-picker.ts"
|
|
10216
|
+
}
|
|
10217
|
+
},
|
|
10000
10218
|
{
|
|
10001
10219
|
"kind": "method",
|
|
10002
10220
|
"name": "updateHeaderText",
|
|
@@ -28236,19 +28454,11 @@
|
|
|
28236
28454
|
"type": {
|
|
28237
28455
|
"text": "Event"
|
|
28238
28456
|
},
|
|
28239
|
-
"description": "
|
|
28457
|
+
"description": "Fires a custom 'change' event when the value updates",
|
|
28240
28458
|
"inheritedFrom": {
|
|
28241
28459
|
"name": "Combobox",
|
|
28242
28460
|
"module": "src/combobox/combobox.ts"
|
|
28243
28461
|
}
|
|
28244
|
-
},
|
|
28245
|
-
{
|
|
28246
|
-
"description": "Fired when the input is cleared by the user",
|
|
28247
|
-
"name": "inputdeleted",
|
|
28248
|
-
"inheritedFrom": {
|
|
28249
|
-
"name": "SearchBarCombobox",
|
|
28250
|
-
"module": "src/search-bar/search-bar-combobox.ts"
|
|
28251
|
-
}
|
|
28252
28462
|
}
|
|
28253
28463
|
]
|
|
28254
28464
|
},
|
|
@@ -28335,6 +28545,20 @@
|
|
|
28335
28545
|
"tagName": "%%prefix%%-search-bar",
|
|
28336
28546
|
"customElement": true,
|
|
28337
28547
|
"attributes": [
|
|
28548
|
+
{
|
|
28549
|
+
"name": "clear-button",
|
|
28550
|
+
"type": {
|
|
28551
|
+
"text": "boolean"
|
|
28552
|
+
},
|
|
28553
|
+
"default": "true",
|
|
28554
|
+
"attribute": "clear-button",
|
|
28555
|
+
"fieldName": "clearButton",
|
|
28556
|
+
"description": "when true, shows the end clear control when there are chips or typed text. When false, use {@link SearchBar.clear} or {@link SearchBar.clearSearch} to reset programmatically.",
|
|
28557
|
+
"inheritedFrom": {
|
|
28558
|
+
"name": "SearchBar",
|
|
28559
|
+
"module": "src/search-bar/search-bar.ts"
|
|
28560
|
+
}
|
|
28561
|
+
},
|
|
28338
28562
|
{
|
|
28339
28563
|
"name": "appearance",
|
|
28340
28564
|
"type": {
|
|
@@ -28499,6 +28723,19 @@
|
|
|
28499
28723
|
"module": "src/search-bar/search-bar.ts"
|
|
28500
28724
|
}
|
|
28501
28725
|
},
|
|
28726
|
+
{
|
|
28727
|
+
"kind": "field",
|
|
28728
|
+
"name": "clearButton",
|
|
28729
|
+
"type": {
|
|
28730
|
+
"text": "boolean"
|
|
28731
|
+
},
|
|
28732
|
+
"default": "true",
|
|
28733
|
+
"attribute": "clear-button",
|
|
28734
|
+
"inheritedFrom": {
|
|
28735
|
+
"name": "SearchBar",
|
|
28736
|
+
"module": "src/search-bar/search-bar.ts"
|
|
28737
|
+
}
|
|
28738
|
+
},
|
|
28502
28739
|
{
|
|
28503
28740
|
"kind": "field",
|
|
28504
28741
|
"name": "loading",
|
|
@@ -28549,6 +28786,7 @@
|
|
|
28549
28786
|
"kind": "method",
|
|
28550
28787
|
"name": "clear",
|
|
28551
28788
|
"privacy": "public",
|
|
28789
|
+
"description": "Clears all search chips and the current input, and emits `selectionChange` with an empty array.",
|
|
28552
28790
|
"inheritedFrom": {
|
|
28553
28791
|
"name": "SearchBar",
|
|
28554
28792
|
"module": "src/search-bar/search-bar.ts"
|
|
@@ -28563,6 +28801,32 @@
|
|
|
28563
28801
|
"text": "void"
|
|
28564
28802
|
}
|
|
28565
28803
|
},
|
|
28804
|
+
"description": "Alias for SearchBar.clear.",
|
|
28805
|
+
"inheritedFrom": {
|
|
28806
|
+
"name": "SearchBar",
|
|
28807
|
+
"module": "src/search-bar/search-bar.ts"
|
|
28808
|
+
}
|
|
28809
|
+
},
|
|
28810
|
+
{
|
|
28811
|
+
"kind": "method",
|
|
28812
|
+
"name": "selectedOptionsChanged",
|
|
28813
|
+
"inheritedFrom": {
|
|
28814
|
+
"name": "SearchBar",
|
|
28815
|
+
"module": "src/search-bar/search-bar.ts"
|
|
28816
|
+
}
|
|
28817
|
+
},
|
|
28818
|
+
{
|
|
28819
|
+
"kind": "method",
|
|
28820
|
+
"name": "optionsChanged",
|
|
28821
|
+
"inheritedFrom": {
|
|
28822
|
+
"name": "SearchBar",
|
|
28823
|
+
"module": "src/search-bar/search-bar.ts"
|
|
28824
|
+
}
|
|
28825
|
+
},
|
|
28826
|
+
{
|
|
28827
|
+
"kind": "method",
|
|
28828
|
+
"name": "applySearchInputLock",
|
|
28829
|
+
"privacy": "private",
|
|
28566
28830
|
"inheritedFrom": {
|
|
28567
28831
|
"name": "SearchBar",
|
|
28568
28832
|
"module": "src/search-bar/search-bar.ts"
|
package/dist/dts/react.d.ts
CHANGED
|
@@ -576,7 +576,6 @@ export declare const SearchBarCombobox: React.ForwardRefExoticComponent<
|
|
|
576
576
|
React.PropsWithChildren<
|
|
577
577
|
Omit<PublicOf<SearchBarComboboxWC>, 'children' | 'style'> &
|
|
578
578
|
HTMLWCProps & {
|
|
579
|
-
onInputdeleted?: (event: CustomEvent<unknown>) => void;
|
|
580
579
|
}
|
|
581
580
|
> & React.RefAttributes<SearchBarComboboxWC>
|
|
582
581
|
>;
|
package/dist/react.cjs
CHANGED
|
@@ -516,20 +516,8 @@ const SchedulerTimezone = React.forwardRef(function SchedulerTimezone(props, ref
|
|
|
516
516
|
});
|
|
517
517
|
|
|
518
518
|
const SearchBarCombobox = React.forwardRef(function SearchBarCombobox(props, ref) {
|
|
519
|
-
const {
|
|
520
|
-
|
|
521
|
-
const _onInputdeletedRef = React.useRef(onInputdeleted);
|
|
522
|
-
_onInputdeletedRef.current = onInputdeleted;
|
|
523
|
-
React.useLayoutEffect(() => {
|
|
524
|
-
const el = _innerRef.current;
|
|
525
|
-
if (!el) return;
|
|
526
|
-
const _onInputdeletedFn = (e) => _onInputdeletedRef.current?.(e);
|
|
527
|
-
el.addEventListener('inputdeleted', _onInputdeletedFn);
|
|
528
|
-
return () => {
|
|
529
|
-
el.removeEventListener('inputdeleted', _onInputdeletedFn);
|
|
530
|
-
};
|
|
531
|
-
}, []);
|
|
532
|
-
return React.createElement(customElements.getName(SearchBarComboboxWC) ?? '%%prefix%%-search-bar-combobox', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
519
|
+
const { children, ...rest } = props;
|
|
520
|
+
return React.createElement(customElements.getName(SearchBarComboboxWC) ?? '%%prefix%%-search-bar-combobox', { ...rest, ref }, children);
|
|
533
521
|
});
|
|
534
522
|
|
|
535
523
|
const SearchBar = React.forwardRef(function SearchBar(props, ref) {
|
package/dist/react.mjs
CHANGED
|
@@ -514,20 +514,8 @@ export const SchedulerTimezone = React.forwardRef(function SchedulerTimezone(pro
|
|
|
514
514
|
});
|
|
515
515
|
|
|
516
516
|
export const SearchBarCombobox = React.forwardRef(function SearchBarCombobox(props, ref) {
|
|
517
|
-
const {
|
|
518
|
-
|
|
519
|
-
const _onInputdeletedRef = React.useRef(onInputdeleted);
|
|
520
|
-
_onInputdeletedRef.current = onInputdeleted;
|
|
521
|
-
React.useLayoutEffect(() => {
|
|
522
|
-
const el = _innerRef.current;
|
|
523
|
-
if (!el) return;
|
|
524
|
-
const _onInputdeletedFn = (e) => _onInputdeletedRef.current?.(e);
|
|
525
|
-
el.addEventListener('inputdeleted', _onInputdeletedFn);
|
|
526
|
-
return () => {
|
|
527
|
-
el.removeEventListener('inputdeleted', _onInputdeletedFn);
|
|
528
|
-
};
|
|
529
|
-
}, []);
|
|
530
|
-
return React.createElement(customElements.getName(SearchBarComboboxWC) ?? '%%prefix%%-search-bar-combobox', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
517
|
+
const { children, ...rest } = props;
|
|
518
|
+
return React.createElement(customElements.getName(SearchBarComboboxWC) ?? '%%prefix%%-search-bar-combobox', { ...rest, ref }, children);
|
|
531
519
|
});
|
|
532
520
|
|
|
533
521
|
export const SearchBar = React.forwardRef(function SearchBar(props, ref) {
|
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": "14.437.
|
|
4
|
+
"version": "14.437.5-canary.gs-updates",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -35,17 +35,17 @@
|
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@genesiscommunitysuccess/analyzer-import-alias-plugin": "^5.0.3",
|
|
38
|
-
"@genesislcap/genx": "14.437.
|
|
39
|
-
"@genesislcap/rollup-builder": "14.437.
|
|
40
|
-
"@genesislcap/ts-builder": "14.437.
|
|
41
|
-
"@genesislcap/uvu-playwright-builder": "14.437.
|
|
42
|
-
"@genesislcap/vite-builder": "14.437.
|
|
43
|
-
"@genesislcap/webpack-builder": "14.437.
|
|
38
|
+
"@genesislcap/genx": "14.437.5-canary.gs-updates",
|
|
39
|
+
"@genesislcap/rollup-builder": "14.437.5-canary.gs-updates",
|
|
40
|
+
"@genesislcap/ts-builder": "14.437.5-canary.gs-updates",
|
|
41
|
+
"@genesislcap/uvu-playwright-builder": "14.437.5-canary.gs-updates",
|
|
42
|
+
"@genesislcap/vite-builder": "14.437.5-canary.gs-updates",
|
|
43
|
+
"@genesislcap/webpack-builder": "14.437.5-canary.gs-updates"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@genesislcap/foundation-logger": "14.437.
|
|
47
|
-
"@genesislcap/foundation-ui": "14.437.
|
|
48
|
-
"@genesislcap/foundation-utils": "14.437.
|
|
46
|
+
"@genesislcap/foundation-logger": "14.437.5-canary.gs-updates",
|
|
47
|
+
"@genesislcap/foundation-ui": "14.437.5-canary.gs-updates",
|
|
48
|
+
"@genesislcap/foundation-utils": "14.437.5-canary.gs-updates",
|
|
49
49
|
"@microsoft/fast-colors": "5.3.1",
|
|
50
50
|
"@microsoft/fast-components": "2.30.6",
|
|
51
51
|
"@microsoft/fast-element": "1.14.0",
|
|
@@ -73,5 +73,5 @@
|
|
|
73
73
|
"require": "./dist/react.cjs"
|
|
74
74
|
}
|
|
75
75
|
},
|
|
76
|
-
"gitHead": "
|
|
76
|
+
"gitHead": "d15cd7f49b7f5d1ddcbd9e71cf94598091fe5c1a"
|
|
77
77
|
}
|