@antadesign/anta 0.3.32 → 0.3.33
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/avatar-core.d.ts +7 -2
- package/dist/bundle.css +1 -1
- package/dist/bundle.js +47 -37
- package/dist/components/Input.d.ts +9 -3
- package/dist/components/Input.js +2 -0
- package/dist/components/Slider.d.ts +22 -10
- package/dist/components/Slider.js +9 -5
- package/dist/elements/a-button.js +2 -4
- package/dist/elements/a-input-time.js +1 -2
- package/dist/elements/a-input.css +1 -1
- package/dist/elements/a-input.js +11 -8
- package/dist/elements/a-menu.d.ts +1 -1
- package/dist/elements/a-menu.js +17 -4
- package/dist/elements/a-slider.d.ts +7 -5
- package/dist/elements/a-slider.js +256 -59
- package/dist/general_types.d.ts +9 -4
- package/dist/index.d.ts +1 -1
- package/dist/theme-antune.css +1 -1
- package/docs/changelog.md +25 -0
- package/docs/components/button.md +9 -6
- package/docs/components/input.md +29 -9
- package/docs/components/panel.md +3 -2
- package/docs/components/select-faceted.md +19 -19
- package/docs/components/slider.md +139 -4
- package/docs/packages/plot.md +158 -19
- package/package.json +4 -2
package/dist/avatar-core.d.ts
CHANGED
|
@@ -18,8 +18,13 @@ export declare function mulberry32(seed: number): () => number;
|
|
|
18
18
|
/** Build a PRNG straight from a seed string. */
|
|
19
19
|
export declare const rngFromSeed: (seed: string) => (() => number);
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
22
|
-
*
|
|
21
|
+
* Get the first letter of each of the first whitespace-separated words,
|
|
22
|
+
* uppercased. `"Vlad Korobov"` → `"VK"`.
|
|
23
|
+
*
|
|
24
|
+
* @param max - Maximum number of words to use, starting with the first.
|
|
25
|
+
* Defaults to 3.
|
|
26
|
+
*
|
|
27
|
+
* @author Vlad Korobov
|
|
23
28
|
*/
|
|
24
29
|
export declare function getInitials(name: string | undefined | null, max?: number): string;
|
|
25
30
|
/** Largest in-sRGB chroma at this lightness and hue (binary search). */
|