@selectwin/kit 0.1.178 → 0.1.179
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/SelectMoney.d.ts +13 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +4894 -4864
- package/package.json +1 -1
package/dist/SelectMoney.d.ts
CHANGED
|
@@ -9,6 +9,19 @@ export declare function SelectValueVisibilityProvider({ children }: {
|
|
|
9
9
|
}): import("react").JSX.Element;
|
|
10
10
|
/** Tolerant: no provider → a no-op default (values render unblurred). */
|
|
11
11
|
export declare function useSelectValueVisibility(): ValueVisibility;
|
|
12
|
+
/**
|
|
13
|
+
* Marks the calling component as a maskable value while it is mounted (and `active`). SelectSensitiveValue
|
|
14
|
+
* — and so SelectMoney — already does it; call this only in a component that masks on its own by reading
|
|
15
|
+
* `hidden` (e.g. a chart that hides its money axis). No provider → no-op.
|
|
16
|
+
*/
|
|
17
|
+
export declare function useSelectSensitiveValueMark(active?: boolean): void;
|
|
18
|
+
/**
|
|
19
|
+
* True while at least one maskable value is mounted under the provider — the eye ("ocultar valores")
|
|
20
|
+
* only means something then. It flips on mount/unmount: a page swapping its skeleton for data, or a
|
|
21
|
+
* route change, can flip it for a moment, so a header that hides on `false` should wait a beat
|
|
22
|
+
* before hiding. The `hidden` preference itself is untouched. No provider → always false.
|
|
23
|
+
*/
|
|
24
|
+
export declare function useSelectHasSensitiveValues(): boolean;
|
|
12
25
|
type SelectSensitiveValueOwnProps = {
|
|
13
26
|
children: ReactNode;
|
|
14
27
|
label?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -119,7 +119,7 @@ export { SelectTagSelect } from './SelectTagSelect';
|
|
|
119
119
|
export { SelectSurface } from './SelectSurface';
|
|
120
120
|
export { SelectToastProvider, useSelectToast } from './SelectToast';
|
|
121
121
|
export { SelectPreviewFrame } from './SelectPreviewFrame';
|
|
122
|
-
export { SelectMoney, SelectSensitiveValue, SelectMetricDelta, SelectHideMoneyToggle, SelectValueVisibilityProvider, useSelectValueVisibility, } from './SelectMoney';
|
|
122
|
+
export { SelectMoney, SelectSensitiveValue, SelectMetricDelta, SelectHideMoneyToggle, SelectValueVisibilityProvider, useSelectValueVisibility, useSelectHasSensitiveValues, useSelectSensitiveValueMark, } from './SelectMoney';
|
|
123
123
|
export { SelectBalanceCard } from './SelectBalanceCard';
|
|
124
124
|
export { SelectFeeBreakdown } from './SelectFeeBreakdown';
|
|
125
125
|
export { SelectKpiCard } from './SelectKpiCard';
|