jenosize-ui 0.2.2 → 0.3.1
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/README.md +183 -63
- package/THIRD-PARTY-NOTICES.md +95 -0
- package/dist/GradientPicker-Bv3V3vL_.d.ts +144 -0
- package/dist/{PaymentInput-Dn5WVQVy.d.ts → PaymentInput-s7_s3UDi.d.ts} +1 -1
- package/dist/{Select-Dt5ARIH8.d.ts → Select-r233iMaU.d.ts} +15 -1
- package/dist/{TagInput-BaBeve6L.d.ts → TagInput-w_l9Fp5i.d.ts} +1 -1
- package/dist/area-chart.d.ts +2 -2
- package/dist/area-chart.js +8 -6
- package/dist/at-least-one-BZ2dsck-.d.ts +18 -0
- package/dist/avatar.d.ts +1 -1
- package/dist/avatar.js +12 -10
- package/dist/badge.d.ts +1 -1
- package/dist/badge.js +7 -6
- package/dist/bar-chart.d.ts +2 -2
- package/dist/bar-chart.js +8 -6
- package/dist/breadcrumb.d.ts +1 -1
- package/dist/breadcrumb.js +5 -4
- package/dist/button.d.ts +1 -1
- package/dist/button.js +12 -10
- package/dist/calendar.d.ts +1 -1
- package/dist/calendar.js +16 -14
- package/dist/callout.d.ts +4 -2
- package/dist/callout.js +13 -11
- package/dist/card.d.ts +59 -3
- package/dist/card.js +4 -3
- package/dist/carousel.d.ts +169 -0
- package/dist/carousel.js +10 -0
- package/dist/catalog.json +11976 -0
- package/dist/checkbox.js +9 -7
- package/dist/{chunk-AIARANKE.js → chunk-2EUVBRKG.js} +4 -4
- package/dist/{chunk-5ZEUTSCV.js → chunk-2RRPWOKT.js} +6 -6
- package/dist/{chunk-DD5KJVFV.js → chunk-3JFSKCVU.js} +19 -19
- package/dist/{chunk-OACWA4TC.js → chunk-3ZZZPT5G.js} +6 -6
- package/dist/{chunk-LQURV7HQ.js → chunk-47EOHGXM.js} +4 -4
- package/dist/{chunk-CGHYXWTT.js → chunk-4KRCT3Q2.js} +4 -4
- package/dist/chunk-4P3JA653.js +1129 -0
- package/dist/{chunk-FWRHBMWT.js → chunk-4Y32RIC7.js} +5 -19
- package/dist/{chunk-BBKE4W3B.js → chunk-5Z26DU23.js} +7 -7
- package/dist/{chunk-7QXOGAN6.js → chunk-6CJYVYVN.js} +87 -538
- package/dist/{chunk-3HOHLQVP.js → chunk-6FGLABYH.js} +3 -3
- package/dist/{chunk-GQRSABRN.js → chunk-6Q4VVBFO.js} +4 -4
- package/dist/{chunk-MCQG4H6T.js → chunk-6T3QAO5K.js} +12 -4
- package/dist/chunk-7JOW3LEH.js +4852 -0
- package/dist/{chunk-AFYXSZGW.js → chunk-7LSUUEAF.js} +7 -5
- package/dist/{chunk-7VLYQR4D.js → chunk-7OFGPDYJ.js} +3 -3
- package/dist/{chunk-7GUPNTAH.js → chunk-7RD5RTHU.js} +7 -7
- package/dist/{chunk-X2VMIBK5.js → chunk-A36W77MQ.js} +4 -4
- package/dist/chunk-AZFHRLYF.js +67 -0
- package/dist/{chunk-CFFWYXDW.js → chunk-B6LYO33Y.js} +5 -5
- package/dist/{chunk-P6CON2R2.js → chunk-BH32X25C.js} +3 -3
- package/dist/{chunk-KHGW72BM.js → chunk-CH2XMCWX.js} +3 -3
- package/dist/{chunk-FNQJJO63.js → chunk-D46OKHTH.js} +4 -4
- package/dist/{chunk-LE44X5GS.js → chunk-D4YGYNNY.js} +9 -9
- package/dist/{chunk-T5574MXM.js → chunk-D7WD4SUC.js} +8 -8
- package/dist/{chunk-33TOK7ES.js → chunk-DCKVNHV5.js} +5 -5
- package/dist/chunk-EBZNUQ6E.js +525 -0
- package/dist/{chunk-22M75A3N.js → chunk-ED5UCYAV.js} +14 -11
- package/dist/{chunk-IQNVSQRK.js → chunk-EDVYLO2N.js} +5 -5
- package/dist/{chunk-N3RVMBPX.js → chunk-EJKQGUUM.js} +4 -4
- package/dist/{chunk-POQTE7JI.js → chunk-EKQLIUV5.js} +7 -7
- package/dist/{chunk-ULGCGKOE.js → chunk-EKV3CVTY.js} +4 -4
- package/dist/{chunk-LCG34A5T.js → chunk-EVINS473.js} +5 -3
- package/dist/{chunk-ZZSNTCCL.js → chunk-G7B2QUQP.js} +4 -4
- package/dist/{chunk-SB3DG572.js → chunk-GHRZC5LS.js} +6 -6
- package/dist/{chunk-5YWH2ANQ.js → chunk-GIC6T647.js} +11 -10
- package/dist/{chunk-7ZM7SNCZ.js → chunk-GPHGPY6T.js} +3 -3
- package/dist/chunk-GV2KTRRP.js +325 -0
- package/dist/{chunk-4RBIWI2Q.js → chunk-GYL4KOPT.js} +3 -3
- package/dist/{chunk-5KSD4WKN.js → chunk-HB6UA6EF.js} +5 -5
- package/dist/{chunk-CGZXQ7PA.js → chunk-HNNNJP3A.js} +3 -3
- package/dist/chunk-HTWGTTSF.js +1011 -0
- package/dist/chunk-IH2F5UNQ.js +109 -0
- package/dist/{chunk-QNIKRB62.js → chunk-INYUL4DX.js} +4 -4
- package/dist/{chunk-SKRR3ZMP.js → chunk-IUB5TSSH.js} +3 -3
- package/dist/chunk-JGGSRKHW.js +344 -0
- package/dist/{chunk-ZR6HNKSN.js → chunk-JHHJNIW2.js} +3 -3
- package/dist/chunk-KBI442IB.js +113 -0
- package/dist/chunk-KBQJIVUB.js +33 -0
- package/dist/{chunk-3QXLIZIX.js → chunk-KNGJ3CSB.js} +3 -3
- package/dist/chunk-KNKR5TUM.js +183 -0
- package/dist/{chunk-KZP6B6B3.js → chunk-KTWTYK5U.js} +16 -5
- package/dist/{chunk-5XPMY2LF.js → chunk-LKUAVDWP.js} +5 -5
- package/dist/{chunk-YHBI52P2.js → chunk-LPWSP523.js} +3 -3
- package/dist/{chunk-GLKFFA7N.js → chunk-LY7IJOUF.js} +5 -5
- package/dist/{chunk-R4Z7BINC.js → chunk-LYWQD5KL.js} +8 -8
- package/dist/{chunk-LLPWQDF7.js → chunk-MTOTPAYZ.js} +3 -3
- package/dist/{chunk-AZ7DKRBY.js → chunk-MVF7FA4D.js} +5 -5
- package/dist/{chunk-AIGYMTCU.js → chunk-MVUNB43J.js} +3 -3
- package/dist/{chunk-T4ZFZTY6.js → chunk-N7DLNDER.js} +4 -4
- package/dist/{chunk-E2YZ7IMT.js → chunk-NDRQETOQ.js} +15 -11
- package/dist/{chunk-ZD3MOLIB.js → chunk-O7CPRU67.js} +4 -4
- package/dist/{chunk-OLLD2BZN.js → chunk-OEYKTHG7.js} +3 -3
- package/dist/{chunk-TX57TNJS.js → chunk-OG3H3RP2.js} +9 -9
- package/dist/{chunk-UGBNYSBN.js → chunk-PFKPKE6O.js} +20 -34
- package/dist/chunk-PRWPFBA5.js +619 -0
- package/dist/{chunk-QDKETK7D.js → chunk-S55JKMG7.js} +5 -5
- package/dist/{chunk-QDYE5LVT.js → chunk-SF3HCW4G.js} +45 -4
- package/dist/{chunk-6MMBQVRO.js → chunk-TDKKZA63.js} +9 -9
- package/dist/{chunk-HHYEAFCL.js → chunk-TDXHBS2C.js} +11 -11
- package/dist/{chunk-74AIU53R.js → chunk-THGGU64E.js} +3 -3
- package/dist/chunk-UHSGD4CD.js +364 -0
- package/dist/{chunk-HV2W6HUR.js → chunk-URAURI6G.js} +10 -10
- package/dist/{chunk-D6XO4JVM.js → chunk-UU6KUS5O.js} +42 -20
- package/dist/{chunk-NKG4N6HA.js → chunk-V7KEEDSF.js} +5 -4
- package/dist/{chunk-IEAWNA3V.js → chunk-VDFWWWLL.js} +3 -3
- package/dist/chunk-VHAA22YE.js +11 -0
- package/dist/chunk-WJB5GWAZ.js +20 -0
- package/dist/{chunk-KJ5JUS53.js → chunk-WM6DGNIA.js} +9 -9
- package/dist/{chunk-MFFA5MXY.js → chunk-WUXMLJEC.js} +5 -5
- package/dist/{chunk-YPNL2NBD.js → chunk-XNXBO44X.js} +33 -11
- package/dist/chunk-XPY3XT7L.js +5671 -0
- package/dist/{chunk-54SIZR63.js → chunk-XVFRDKZJ.js} +7 -7
- package/dist/{chunk-LYXPJERB.js → chunk-YDD46AX2.js} +5 -5
- package/dist/{chunk-NC63TYNW.js → chunk-YHQJGNXD.js} +7 -7
- package/dist/{chunk-I6WMNXC7.js → chunk-YKRE5NIH.js} +6 -6
- package/dist/{chunk-RJTVCA62.js → chunk-ZIEGUI25.js} +3 -3
- package/dist/{chunk-5DP7W5HX.js → chunk-ZLDWYTDA.js} +3 -3
- package/dist/color-input.d.ts +93 -0
- package/dist/color-input.js +36 -0
- package/dist/color-picker.d.ts +268 -0
- package/dist/color-picker.js +29 -0
- package/dist/color-value-DYzChVOW.d.ts +129 -0
- package/dist/combobox.d.ts +1 -1
- package/dist/combobox.js +14 -12
- package/dist/data-map.d.ts +1673 -0
- package/dist/data-map.js +36 -0
- package/dist/date-calendar.d.ts +49 -0
- package/dist/date-calendar.js +13 -0
- package/dist/date-input.d.ts +1 -1
- package/dist/date-input.js +12 -10
- package/dist/date-picker.d.ts +15 -131
- package/dist/date-picker.js +26 -21
- package/dist/date-types-CLZek3W2.d.ts +100 -0
- package/dist/dialog.d.ts +1 -1
- package/dist/dialog.js +10 -9
- package/dist/drawer.d.ts +1 -1
- package/dist/drawer.js +9 -8
- package/dist/dropdown-menu.d.ts +1 -1
- package/dist/dropdown-menu.js +5 -4
- package/dist/dropzone.d.ts +3 -3
- package/dist/dropzone.js +18 -16
- package/dist/file-trigger.js +1 -0
- package/dist/form.d.ts +15 -5
- package/dist/form.js +75 -35
- package/dist/header-navigation.d.ts +2 -2
- package/dist/header-navigation.js +20 -18
- package/dist/helper.d.ts +1 -1
- package/dist/helper.js +1 -0
- package/dist/illustration.js +1 -0
- package/dist/index.d.ts +26 -11
- package/dist/index.js +92 -77
- package/dist/indicator.js +5 -4
- package/dist/inline-banner.d.ts +68 -0
- package/dist/inline-banner.js +21 -0
- package/dist/input.d.ts +1 -1
- package/dist/input.js +11 -9
- package/dist/kanban-board.d.ts +2 -2
- package/dist/kanban-board.js +15 -13
- package/dist/labels-CuSlirP_.d.ts +1381 -0
- package/dist/line-chart.d.ts +2 -2
- package/dist/line-chart.js +8 -6
- package/dist/mcp.js +231 -0
- package/dist/number-input.d.ts +1 -1
- package/dist/number-input.js +11 -9
- package/dist/pagination.d.ts +1 -1
- package/dist/pagination.js +15 -13
- package/dist/{card-D56VxyAe.d.ts → panel-CUGm_Mxy.d.ts} +9 -57
- package/dist/payment-input.d.ts +3 -3
- package/dist/payment-input.js +11 -9
- package/dist/picker-draft-BPV3MUPY.d.ts +9 -0
- package/dist/pie-chart.d.ts +2 -2
- package/dist/pie-chart.js +8 -6
- package/dist/popover.d.ts +65 -4
- package/dist/popover.js +9 -8
- package/dist/progress-steps.js +5 -4
- package/dist/progress.js +4 -3
- package/dist/provider.d.ts +1 -1
- package/dist/provider.js +4 -3
- package/dist/qr-code.d.ts +227 -0
- package/dist/qr-code.js +20 -0
- package/dist/radar-chart.d.ts +2 -2
- package/dist/radar-chart.js +8 -6
- package/dist/radial-chart.d.ts +2 -2
- package/dist/radial-chart.js +8 -6
- package/dist/radio.js +9 -7
- package/dist/rich-text-editor.d.ts +624 -0
- package/dist/rich-text-editor.js +52 -0
- package/dist/rich-text-highlight.d.ts +11 -0
- package/dist/rich-text-highlight.js +65 -0
- package/dist/rich-text-sanitize.d.ts +17 -0
- package/dist/rich-text-sanitize.js +176 -0
- package/dist/scroll-area.js +1 -0
- package/dist/select.d.ts +2 -2
- package/dist/select.js +17 -15
- package/dist/separator.js +3 -2
- package/dist/shared-CGf2D8ZX.d.ts +20 -0
- package/dist/sidebar-navigation.d.ts +73 -32
- package/dist/sidebar-navigation.js +15 -13
- package/dist/sidebar-state.d.ts +76 -0
- package/dist/sidebar-state.js +27 -0
- package/dist/skeleton.js +3 -2
- package/dist/slider.d.ts +321 -0
- package/dist/slider.js +14 -0
- package/dist/styles.css +1 -1
- package/dist/switch.d.ts +1 -1
- package/dist/switch.js +3 -2
- package/dist/table.d.ts +3 -19
- package/dist/table.js +34 -32
- package/dist/tabs.js +3 -2
- package/dist/tag-input.d.ts +3 -3
- package/dist/tag-input.js +14 -12
- package/dist/tag.d.ts +1 -1
- package/dist/tag.js +5 -4
- package/dist/textarea.js +9 -7
- package/dist/theme.css +965 -0
- package/dist/theme.js +13 -11
- package/dist/toast.d.ts +1 -1
- package/dist/toast.js +13 -11
- package/dist/tooltip.js +5 -3
- package/dist/tree.d.ts +1 -1
- package/dist/tree.js +7 -6
- package/dist/{types-DR9rAEy1.d.ts → types-BoZ6XeLB.d.ts} +1 -1
- package/dist/{use-uploads-KaPqDklo.d.ts → use-uploads-cHo2p7Gn.d.ts} +1 -1
- package/dist/verification-code-input.js +11 -9
- package/package.json +105 -8
- package/dist/chunk-BLIZ3CL3.js +0 -49
- package/dist/labels-DPrh0se9.d.ts +0 -627
- package/dist/panel-El4oI68p.d.ts +0 -9
- package/dist/shared-BYXJPnsN.d.ts +0 -11
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
/** The display notations the value input offers. `value.color` is ALWAYS canonical hex regardless. */
|
|
2
|
+
type ColorFormat = "hex" | "rgb" | "css" | "hsl" | "hsb";
|
|
3
|
+
/** Canonical order — the format select and the docs iterate this. */
|
|
4
|
+
declare const COLOR_FORMATS: readonly ["hex", "rgb", "css", "hsl", "hsb"];
|
|
5
|
+
/** What a `<ColorPicker>` can be editing. `"gradient"` ships in phase 2. */
|
|
6
|
+
type ColorKind = "solid" | "gradient";
|
|
7
|
+
type GradientType = "linear" | "radial" | "angular" | "diamond";
|
|
8
|
+
interface GradientStop {
|
|
9
|
+
/** Canonical hex — `#rrggbb`, or `#rrggbbaa` when the stop is translucent. */
|
|
10
|
+
readonly color: string;
|
|
11
|
+
/** 0–1 along the gradient. */
|
|
12
|
+
readonly offset: number;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* A picker's value.
|
|
16
|
+
*
|
|
17
|
+
* **A discriminated union rather than a bare CSS string**, because the two shapes need the same
|
|
18
|
+
* parser either way and the union keeps the LOSSY half at the boundary. A string value would
|
|
19
|
+
* re-serialize the caller's own CSS on every reopen: `linear-gradient(to bottom right, red, blue)`
|
|
20
|
+
* comes back `linear-gradient(135deg, #ff0000 0%, #0000ff 100%)` — same pixels, different source, and
|
|
21
|
+
* the caller's file quietly rewritten. {@link toCss} / {@link parseCss} are the opt-in boundary for
|
|
22
|
+
* anyone who does want the string.
|
|
23
|
+
*/
|
|
24
|
+
type ColorPickerValue = {
|
|
25
|
+
readonly kind: "solid";
|
|
26
|
+
readonly color: string;
|
|
27
|
+
} | {
|
|
28
|
+
readonly kind: "gradient";
|
|
29
|
+
readonly type: GradientType;
|
|
30
|
+
/** Degrees, CSS convention (0 = to top, 90 = to right). */
|
|
31
|
+
readonly angle: number;
|
|
32
|
+
readonly stops: readonly GradientStop[];
|
|
33
|
+
};
|
|
34
|
+
/** 0–255 integers, alpha 0–1 in 1% steps. The canonical wire form. */
|
|
35
|
+
interface Rgba {
|
|
36
|
+
r: number;
|
|
37
|
+
g: number;
|
|
38
|
+
b: number;
|
|
39
|
+
a: number;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Parse a CSS colour string into {@link Rgba}. `null` (+ a dev warning) on anything unsupported.
|
|
43
|
+
*
|
|
44
|
+
* Accepts `#rgb` · `#rgba` · `#rrggbb` · `#rrggbbaa` · `rgb()`/`rgba()` · `hsl()`/`hsla()` ·
|
|
45
|
+
* `hsb()`/`hsv()` (our own display notation, so the value input round-trips) · `transparent`, each in
|
|
46
|
+
* both the comma and the space syntax.
|
|
47
|
+
*
|
|
48
|
+
* **NAMED COLOURS ARE NOT SUPPORTED, deliberately.** The 148 CSS keywords are a table we would ship
|
|
49
|
+
* to every consumer of a picker that never emits one, and resolving them properly needs the DOM,
|
|
50
|
+
* which would cost this module its SSR-safety. `parseColor("red")` returns `null` and warns — it is
|
|
51
|
+
* the one limit a caller doing `parseCss(row.brand_color)` can hit, so the spec says so out loud.
|
|
52
|
+
*
|
|
53
|
+
* **`quiet` is for the KEYSTROKE path**, where this runs on every character the user types and `#f0`
|
|
54
|
+
* is not a mistake but an unfinished value. A warning there would fire four times per hex and say
|
|
55
|
+
* nothing true. Everywhere a whole value arrives at once — a prop, a paste, `parseCss` — it warns,
|
|
56
|
+
* because there the string really was the caller's final answer.
|
|
57
|
+
*/
|
|
58
|
+
declare function parseColor(css: string, opts?: {
|
|
59
|
+
quiet?: boolean;
|
|
60
|
+
}): Rgba | null;
|
|
61
|
+
/**
|
|
62
|
+
* The canonical value form: `#rrggbb`, or `#rrggbbaa` when `a < 1`. Always valid CSS, always
|
|
63
|
+
* lowercase — one spelling, so two equal colours are also two equal strings.
|
|
64
|
+
*/
|
|
65
|
+
declare function toHex({ r, g, b, a }: Rgba): string;
|
|
66
|
+
/**
|
|
67
|
+
* Render for DISPLAY in the value input.
|
|
68
|
+
*
|
|
69
|
+
* **Not necessarily valid CSS** — `hsb()` is not a CSS function at all, which is exactly why the
|
|
70
|
+
* FORMAT never reaches `value.color`: if the dropdown wrote its own notation into the value, then
|
|
71
|
+
* picking "HSB" would put `hsb(259 60% 85%)` where a caller's `style={{ background: value.color }}`
|
|
72
|
+
* expects a colour, and nothing would render. `hsl()` IS valid CSS, so that bug would break two of
|
|
73
|
+
* the five formats and spare three — worse than breaking all five, because which one an app hits
|
|
74
|
+
* depends on which format it happens to choose. One canonical output, five display notations.
|
|
75
|
+
*/
|
|
76
|
+
declare function formatColor(rgba: Rgba, format: ColorFormat): string;
|
|
77
|
+
/** Stops in ramp order. The offsets ARE the identity, so sorting is the only ordering there is. */
|
|
78
|
+
declare function sortStops(stops: readonly GradientStop[]): GradientStop[];
|
|
79
|
+
/**
|
|
80
|
+
* The colour the ramp actually shows at `offset` — a linear RGBA interpolation between the two
|
|
81
|
+
* neighbouring stops.
|
|
82
|
+
*
|
|
83
|
+
* **This is what a click on empty track must insert.** Taking the nearest stop's colour instead adds
|
|
84
|
+
* a RED stop in the middle of a red→blue ramp, where the eye is looking at purple; the new stop then
|
|
85
|
+
* visibly changes the gradient it was supposed to leave alone. Interpolating means adding a stop is a
|
|
86
|
+
* no-op until the user moves it, which is the only behaviour that reads as "add a stop here".
|
|
87
|
+
*
|
|
88
|
+
* Interpolates in premultiplied-free sRGB, matching what the browser paints for a plain
|
|
89
|
+
* `linear-gradient` — not oklab. Matching the paint is the point; being perceptually better than the
|
|
90
|
+
* paint would put the inserted stop's colour visibly beside the ramp it came from.
|
|
91
|
+
*/
|
|
92
|
+
declare function sampleStops(stops: readonly GradientStop[], offset: number): string;
|
|
93
|
+
/**
|
|
94
|
+
* Flip the ramp end for end — the "Reverse" control.
|
|
95
|
+
*
|
|
96
|
+
* The ANGLE is deliberately untouched: reversing is about which colour is where, and rotating 180°
|
|
97
|
+
* instead would move the gradient's direction on screen as well, which is a different edit the
|
|
98
|
+
* direction area already offers.
|
|
99
|
+
*/
|
|
100
|
+
declare function reverseStops(stops: readonly GradientStop[]): GradientStop[];
|
|
101
|
+
/**
|
|
102
|
+
* Re-shape a value for the other tab: a solid becomes a two-stop linear gradient seeded from it, a
|
|
103
|
+
* gradient becomes its FIRST stop's colour.
|
|
104
|
+
*
|
|
105
|
+
* **Deliberately lossy in that direction.** A gradient has no single colour, and stop 0 is the one
|
|
106
|
+
* answer a user can predict from the swatch in front of them. It is also why the picker STASHES the
|
|
107
|
+
* tab it leaves rather than converting both ways: `gradient → solid → gradient` is not the identity,
|
|
108
|
+
* so converting on the way back would silently delete stops.
|
|
109
|
+
*/
|
|
110
|
+
declare function convertKind(value: ColorPickerValue, to: ColorKind): ColorPickerValue;
|
|
111
|
+
/** Serialize a value to CSS. Total — every value has a rendering. */
|
|
112
|
+
declare function toCss(value: ColorPickerValue): string;
|
|
113
|
+
/**
|
|
114
|
+
* Parse CSS back into a value. **Partial, and says so.**
|
|
115
|
+
*
|
|
116
|
+
* Solids parse fully. Gradients parse only in the narrow form {@link toCss} emits — `<n>deg` or
|
|
117
|
+
* `from <n>deg` followed by colour-and-percentage stops. Four shapes are refused BY NAME rather than
|
|
118
|
+
* mis-parsed, each with a warning saying which one it was: a keyword direction (`to bottom right`), an
|
|
119
|
+
* interpolation hint (`in oklab`), a radial shape or position (`circle at 30% 40%`), and a
|
|
120
|
+
* bare-percentage colour hint between two stops.
|
|
121
|
+
*
|
|
122
|
+
* That asymmetry is the price of holding the value as a union instead of a string, and it is the right
|
|
123
|
+
* price: the alternative re-serialized the caller's own CSS on every reopen. **A round trip through
|
|
124
|
+
* `radial`/`diamond` normalises the angle to 0**, because neither carries one in CSS — the value can
|
|
125
|
+
* hold an angle those types do not render, and the string cannot.
|
|
126
|
+
*/
|
|
127
|
+
declare function parseCss(css: string): ColorPickerValue | null;
|
|
128
|
+
|
|
129
|
+
export { COLOR_FORMATS as C, type GradientStop as G, type ColorFormat as a, type ColorKind as b, type ColorPickerValue as c, type GradientType as d, convertKind as e, formatColor as f, parseCss as g, sortStops as h, toHex as i, parseColor as p, reverseStops as r, sampleStops as s, toCss as t };
|
package/dist/combobox.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { M as MultiDisplay } from './multi-value-CJb_tnvi.js';
|
|
3
3
|
import { O as OptionList, L as ListboxOption, a as ListboxAction } from './options-CPEIgjtd.js';
|
|
4
|
-
import {
|
|
4
|
+
import { f as ComboboxLabels } from './labels-CuSlirP_.js';
|
|
5
5
|
import { ComboboxRootProps as ComboboxRootProps$1 } from '@base-ui/react/combobox';
|
|
6
6
|
|
|
7
7
|
type ComboboxSize = "sm" | "md" | "lg";
|
package/dist/combobox.js
CHANGED
|
@@ -1,24 +1,26 @@
|
|
|
1
|
-
"use client";export { Combobox } from './chunk-
|
|
1
|
+
"use client";export { Combobox } from './chunk-URAURI6G.js';
|
|
2
2
|
import './chunk-F6NLE6XJ.js';
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-IEAWNA3V.js';
|
|
5
|
-
import './chunk-4P2NBLBW.js';
|
|
3
|
+
import './chunk-GYL4KOPT.js';
|
|
6
4
|
import './chunk-SKJC2KYD.js';
|
|
5
|
+
import './chunk-VDFWWWLL.js';
|
|
6
|
+
import './chunk-4P2NBLBW.js';
|
|
7
7
|
import './chunk-7JBNLEJ7.js';
|
|
8
8
|
import './chunk-DWKILXHE.js';
|
|
9
9
|
import './chunk-7EUAMHMU.js';
|
|
10
|
-
import './chunk-
|
|
10
|
+
import './chunk-A36W77MQ.js';
|
|
11
11
|
import './chunk-O2LG3PNI.js';
|
|
12
12
|
import './chunk-EDSK6FEH.js';
|
|
13
|
-
import './chunk-
|
|
14
|
-
import './chunk-
|
|
13
|
+
import './chunk-HB6UA6EF.js';
|
|
14
|
+
import './chunk-GPHGPY6T.js';
|
|
15
15
|
import './chunk-52IFGFTL.js';
|
|
16
|
-
import './chunk-
|
|
17
|
-
import './chunk-
|
|
16
|
+
import './chunk-KTWTYK5U.js';
|
|
17
|
+
import './chunk-7LSUUEAF.js';
|
|
18
18
|
import './chunk-O4GRKO3I.js';
|
|
19
|
-
import './chunk-
|
|
19
|
+
import './chunk-KBI442IB.js';
|
|
20
20
|
import './chunk-ZSNJ6UA3.js';
|
|
21
|
-
import './chunk-
|
|
22
|
-
import './chunk-
|
|
21
|
+
import './chunk-ZIEGUI25.js';
|
|
22
|
+
import './chunk-SF3HCW4G.js';
|
|
23
|
+
import './chunk-3ZEEGXYF.js';
|
|
24
|
+
import './chunk-VHAA22YE.js';
|
|
23
25
|
//# sourceMappingURL=combobox.js.map
|
|
24
26
|
//# sourceMappingURL=combobox.js.map
|