@sakaniui/react 0.14.1 → 0.14.2
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/CHANGELOG.md +8 -0
- package/dist/{TopBar-D-xZskqG.js → TopBar-5h0LblO6.js} +29 -28
- package/dist/TopBar-D50mmITH.cjs +1 -0
- package/dist/blocks.cjs +1 -1
- package/dist/blocks.mjs +1 -1
- package/dist/emoji-index.json +1 -1
- package/dist/icon-index.json +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/lib/LiquidGlass.d.ts +3 -0
- package/dist/manifest.json +22 -10
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/TopBar-BbIHT61j.cjs +0 -1
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as e, A as t, At as n, B as r, C as i, Ct as a, D as o, Dt as s, E as c, Et as l, F as u, G as d, H as f, I as p, J as m, K as h, L as g, M as _, Mt as v, N as y, Nt as b, O as x, Ot as S, P as C, Pt as w, Q as T, R as ee, S as E, St as te, T as ne, Tt as D, U as O, V as k, W as A, X as re, Y as ie, Z as j, _ as ae, _t as oe, a as M, at as se, b as ce, bt as le, c as ue, ct as de, d as N, dt as P, et as fe, f as F, ft as I, g as pe, gt as me, h as he, ht as L, i as ge, it as _e, j as ve, jt as ye, k as be, kt as xe, l as Se, lt as Ce, m as we, mt as Te, n as Ee, nt as De, o as Oe, ot as ke, p as Ae, pt as je, q as Me, r as Ne, rt as Pe, s as Fe, st as Ie, t as Le, tt as Re, u as ze, ut as Be, v as Ve, vt as He, w as Ue, wt as We, x as Ge, xt as Ke, y as qe, yt as R, z as Je } from "./TopBar-
|
|
1
|
+
import { $ as e, A as t, At as n, B as r, C as i, Ct as a, D as o, Dt as s, E as c, Et as l, F as u, G as d, H as f, I as p, J as m, K as h, L as g, M as _, Mt as v, N as y, Nt as b, O as x, Ot as S, P as C, Pt as w, Q as T, R as ee, S as E, St as te, T as ne, Tt as D, U as O, V as k, W as A, X as re, Y as ie, Z as j, _ as ae, _t as oe, a as M, at as se, b as ce, bt as le, c as ue, ct as de, d as N, dt as P, et as fe, f as F, ft as I, g as pe, gt as me, h as he, ht as L, i as ge, it as _e, j as ve, jt as ye, k as be, kt as xe, l as Se, lt as Ce, m as we, mt as Te, n as Ee, nt as De, o as Oe, ot as ke, p as Ae, pt as je, q as Me, r as Ne, rt as Pe, s as Fe, st as Ie, t as Le, tt as Re, u as ze, ut as Be, v as Ve, vt as He, w as Ue, wt as We, x as Ge, xt as Ke, y as qe, yt as R, z as Je } from "./TopBar-5h0LblO6.js";
|
|
2
2
|
import { A as Ye, B as Xe, C as Ze, M as Qe, N as $e, O as et, P as tt, R as nt, S as rt, _ as it, a as at, b as ot, c as st, f as ct, g as lt, k as ut, v as dt, w as ft, x as pt, y as mt, z as ht } from "./help-circle-qEEVeIea.js";
|
|
3
3
|
import { a as gt, c as _t, i as vt, l as yt, n as bt, o as xt, r as St, s as Ct, t as wt, u as Tt } from "./logout-BLSXL3qV.js";
|
|
4
4
|
import z, { useCallback as Et, useEffect as Dt, useLayoutEffect as Ot, useMemo as kt, useRef as At, useState as B } from "react";
|
|
@@ -86,6 +86,9 @@ export interface LiquidGlassProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
86
86
|
bake?: boolean | 'auto';
|
|
87
87
|
/** Squish slightly when pressed (buttons, toolbar pills). */
|
|
88
88
|
interactive?: boolean;
|
|
89
|
+
/** 'respect' (default): with prefers-reduced-transparency the glass becomes a plain opaque surface. 'ignore': keep the full
|
|
90
|
+
* glass anyway. Only for a decorative showcase that means nothing without it; never for a surface that holds the user's content. */
|
|
91
|
+
reducedTransparency?: 'respect' | 'ignore';
|
|
89
92
|
}
|
|
90
93
|
export declare const LiquidGlass: React.ForwardRefExoticComponent<LiquidGlassProps & React.RefAttributes<HTMLDivElement>>;
|
|
91
94
|
/** Class names for components that apply the material via the hook. */
|
package/dist/manifest.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 6,
|
|
3
3
|
"name": "@sakaniui/react",
|
|
4
|
-
"version": "0.14.
|
|
4
|
+
"version": "0.14.2",
|
|
5
5
|
"description": "Machine-readable contract of the SakaniUI React library, generated from its TypeScript source.",
|
|
6
6
|
"docs": "https://www.sakaniui.com",
|
|
7
7
|
"guide": "https://www.sakaniui.com/llms-full.txt",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"@sakaniui/react/emoji": "Fluent Emoji (full colour): EmojiName, one module each (1594 emoji, 311 with skin tones)."
|
|
25
25
|
},
|
|
26
26
|
"conventions": {
|
|
27
|
-
"version": "This manifest describes @sakaniui/react@0.14.
|
|
27
|
+
"version": "This manifest describes @sakaniui/react@0.14.2. Each component has `since`, the first release that contained it; a prop added later has its own `since`, and a value added later is listed in the prop's `valuesSince`. If the project has an older version installed, anything newer than that does not exist there.",
|
|
28
28
|
"acceptsNativeProps": "Components forward native HTML attributes (className, style, aria-*, event handlers) to their root element unless a prop says otherwise; only the props that are specific to SakaniUI are listed here.",
|
|
29
29
|
"accessibleName": "When `contract.requiresAccessibleName` is true, a required prop (aria-label, aria-labelledby or an alt text) is the only thing that names the control or image. Do not omit it.",
|
|
30
30
|
"tokens": "Use only the token names listed under `tokens`. Colour tokens follow the theme (the `.dark` class flips them); do not hard-code colours.",
|
|
@@ -4684,6 +4684,18 @@
|
|
|
4684
4684
|
"type": "boolean",
|
|
4685
4685
|
"required": false,
|
|
4686
4686
|
"description": "Squish slightly when pressed (buttons, toolbar pills)."
|
|
4687
|
+
},
|
|
4688
|
+
{
|
|
4689
|
+
"name": "reducedTransparency",
|
|
4690
|
+
"type": "\"respect\" | \"ignore\"",
|
|
4691
|
+
"required": false,
|
|
4692
|
+
"values": [
|
|
4693
|
+
"respect",
|
|
4694
|
+
"ignore"
|
|
4695
|
+
],
|
|
4696
|
+
"default": "respect",
|
|
4697
|
+
"description": "'respect' (default): with prefers-reduced-transparency the glass becomes a plain opaque surface. 'ignore': keep the full glass anyway. Only for a decorative showcase that means nothing without it; never for a surface that holds the user's content.",
|
|
4698
|
+
"since": "0.14.2"
|
|
4687
4699
|
}
|
|
4688
4700
|
],
|
|
4689
4701
|
"contract": {
|
|
@@ -5050,13 +5062,13 @@
|
|
|
5050
5062
|
"description": "Returns the item located at the specified index."
|
|
5051
5063
|
},
|
|
5052
5064
|
{
|
|
5053
|
-
"name": "__@iterator@
|
|
5065
|
+
"name": "__@iterator@15641",
|
|
5054
5066
|
"type": "() => ArrayIterator<number>",
|
|
5055
5067
|
"required": true,
|
|
5056
5068
|
"description": "Iterator"
|
|
5057
5069
|
},
|
|
5058
5070
|
{
|
|
5059
|
-
"name": "__@unscopables@
|
|
5071
|
+
"name": "__@unscopables@15671",
|
|
5060
5072
|
"type": "{ [x: number]: boolean | undefined; length?: boolean | undefined; toString?: boolean | undefined; toLocaleString?: boolean | undefined; pop?: boolean | undefined; push?: boolean | undefined; concat?: boolean | undefined; join?: boolean | undefined; reverse?: boolean | undefined; shift?: boolean | undefined; slice?: boolean | undefined; sort?: boolean | undefined; splice?: boolean | undefined; unshift?: boolean | undefined; indexOf?: boolean | undefined; lastIndexOf?: boolean | undefined; every?: boolean | undefined; some?: boolean | undefined; forEach?: boolean | undefined; map?: boolean | undefined; filter?: boolean | undefined; reduce?: boolean | undefined; reduceRight?: boolean | undefined; find?: boolean | undefined; findIndex?: boolean | undefined; fill?: boolean | undefined; copyWithin?: boolean | undefined; entries?: boolean | undefined; keys?: boolean | undefined; values?: boolean | undefined; includes?: boolean | undefined; flatMap?: boolean | undefined; flat?: boolean | undefined; at?: boolean | undefined; [Symbol.iterator]?: boolean | undefined; readonly [Symbol.unscopables]?: boolean | undefined; }",
|
|
5061
5073
|
"required": true,
|
|
5062
5074
|
"description": "Is an object whose properties have the value 'true' when they will be absent when used in a 'with' statement."
|
|
@@ -5632,13 +5644,13 @@
|
|
|
5632
5644
|
"description": "Returns the item located at the specified index."
|
|
5633
5645
|
},
|
|
5634
5646
|
{
|
|
5635
|
-
"name": "__@iterator@
|
|
5647
|
+
"name": "__@iterator@15641",
|
|
5636
5648
|
"type": "() => ArrayIterator<number>",
|
|
5637
5649
|
"required": true,
|
|
5638
5650
|
"description": "Iterator"
|
|
5639
5651
|
},
|
|
5640
5652
|
{
|
|
5641
|
-
"name": "__@unscopables@
|
|
5653
|
+
"name": "__@unscopables@15671",
|
|
5642
5654
|
"type": "{ [x: number]: boolean | undefined; length?: boolean | undefined; toString?: boolean | undefined; toLocaleString?: boolean | undefined; pop?: boolean | undefined; push?: boolean | undefined; concat?: boolean | undefined; join?: boolean | undefined; reverse?: boolean | undefined; shift?: boolean | undefined; slice?: boolean | undefined; sort?: boolean | undefined; splice?: boolean | undefined; unshift?: boolean | undefined; indexOf?: boolean | undefined; lastIndexOf?: boolean | undefined; every?: boolean | undefined; some?: boolean | undefined; forEach?: boolean | undefined; map?: boolean | undefined; filter?: boolean | undefined; reduce?: boolean | undefined; reduceRight?: boolean | undefined; find?: boolean | undefined; findIndex?: boolean | undefined; fill?: boolean | undefined; copyWithin?: boolean | undefined; entries?: boolean | undefined; keys?: boolean | undefined; values?: boolean | undefined; includes?: boolean | undefined; flatMap?: boolean | undefined; flat?: boolean | undefined; at?: boolean | undefined; [Symbol.iterator]?: boolean | undefined; readonly [Symbol.unscopables]?: boolean | undefined; }",
|
|
5643
5655
|
"required": true,
|
|
5644
5656
|
"description": "Is an object whose properties have the value 'true' when they will be absent when used in a 'with' statement."
|
|
@@ -6022,13 +6034,13 @@
|
|
|
6022
6034
|
"description": "Returns the item located at the specified index."
|
|
6023
6035
|
},
|
|
6024
6036
|
{
|
|
6025
|
-
"name": "__@iterator@
|
|
6037
|
+
"name": "__@iterator@15641",
|
|
6026
6038
|
"type": "() => ArrayIterator<number>",
|
|
6027
6039
|
"required": true,
|
|
6028
6040
|
"description": "Iterator"
|
|
6029
6041
|
},
|
|
6030
6042
|
{
|
|
6031
|
-
"name": "__@unscopables@
|
|
6043
|
+
"name": "__@unscopables@15671",
|
|
6032
6044
|
"type": "{ [x: number]: boolean | undefined; length?: boolean | undefined; toString?: boolean | undefined; toLocaleString?: boolean | undefined; pop?: boolean | undefined; push?: boolean | undefined; concat?: boolean | undefined; join?: boolean | undefined; reverse?: boolean | undefined; shift?: boolean | undefined; slice?: boolean | undefined; sort?: boolean | undefined; splice?: boolean | undefined; unshift?: boolean | undefined; indexOf?: boolean | undefined; lastIndexOf?: boolean | undefined; every?: boolean | undefined; some?: boolean | undefined; forEach?: boolean | undefined; map?: boolean | undefined; filter?: boolean | undefined; reduce?: boolean | undefined; reduceRight?: boolean | undefined; find?: boolean | undefined; findIndex?: boolean | undefined; fill?: boolean | undefined; copyWithin?: boolean | undefined; entries?: boolean | undefined; keys?: boolean | undefined; values?: boolean | undefined; includes?: boolean | undefined; flatMap?: boolean | undefined; flat?: boolean | undefined; at?: boolean | undefined; [Symbol.iterator]?: boolean | undefined; readonly [Symbol.unscopables]?: boolean | undefined; }",
|
|
6033
6045
|
"required": true,
|
|
6034
6046
|
"description": "Is an object whose properties have the value 'true' when they will be absent when used in a 'with' statement."
|
|
@@ -6329,13 +6341,13 @@
|
|
|
6329
6341
|
"description": "Returns the item located at the specified index."
|
|
6330
6342
|
},
|
|
6331
6343
|
{
|
|
6332
|
-
"name": "__@iterator@
|
|
6344
|
+
"name": "__@iterator@15641",
|
|
6333
6345
|
"type": "() => ArrayIterator<number>",
|
|
6334
6346
|
"required": true,
|
|
6335
6347
|
"description": "Iterator"
|
|
6336
6348
|
},
|
|
6337
6349
|
{
|
|
6338
|
-
"name": "__@unscopables@
|
|
6350
|
+
"name": "__@unscopables@15671",
|
|
6339
6351
|
"type": "{ [x: number]: boolean | undefined; length?: boolean | undefined; toString?: boolean | undefined; toLocaleString?: boolean | undefined; pop?: boolean | undefined; push?: boolean | undefined; concat?: boolean | undefined; join?: boolean | undefined; reverse?: boolean | undefined; shift?: boolean | undefined; slice?: boolean | undefined; sort?: boolean | undefined; splice?: boolean | undefined; unshift?: boolean | undefined; indexOf?: boolean | undefined; lastIndexOf?: boolean | undefined; every?: boolean | undefined; some?: boolean | undefined; forEach?: boolean | undefined; map?: boolean | undefined; filter?: boolean | undefined; reduce?: boolean | undefined; reduceRight?: boolean | undefined; find?: boolean | undefined; findIndex?: boolean | undefined; fill?: boolean | undefined; copyWithin?: boolean | undefined; entries?: boolean | undefined; keys?: boolean | undefined; values?: boolean | undefined; includes?: boolean | undefined; flatMap?: boolean | undefined; flat?: boolean | undefined; at?: boolean | undefined; [Symbol.iterator]?: boolean | undefined; readonly [Symbol.unscopables]?: boolean | undefined; }",
|
|
6340
6352
|
"required": true,
|
|
6341
6353
|
"description": "Is an object whose properties have the value 'true' when they will be absent when used in a 'with' statement."
|