@sakaniui/react 0.3.27 → 0.3.29
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/{TopBar-Cbskdj4E.js → TopBar-BFua2Hnk.js} +56 -56
- package/dist/{TopBar-P5mbIdH5.cjs → TopBar-CvreVtZH.cjs} +1 -1
- package/dist/blocks.cjs +1 -1
- package/dist/blocks.mjs +93 -93
- package/dist/components/Switch/Switch.d.ts +4 -0
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +196 -183
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1290,11 +1290,11 @@ var We = {
|
|
|
1290
1290
|
]
|
|
1291
1291
|
});
|
|
1292
1292
|
}, xt = {
|
|
1293
|
-
button: "
|
|
1294
|
-
icon: "
|
|
1295
|
-
iconSaved: "
|
|
1296
|
-
bounce: "
|
|
1297
|
-
"wishlist-bounce": "_wishlist-
|
|
1293
|
+
button: "_button_58k4v_1",
|
|
1294
|
+
icon: "_icon_58k4v_24",
|
|
1295
|
+
iconSaved: "_iconSaved_58k4v_27",
|
|
1296
|
+
bounce: "_bounce_58k4v_40",
|
|
1297
|
+
"wishlist-bounce": "_wishlist-bounce_58k4v_1"
|
|
1298
1298
|
}, St = ({ saved: t = !1, onToggle: n, label: r = "item", className: a }) => {
|
|
1299
1299
|
let [o, s] = e.useState(!1);
|
|
1300
1300
|
return /* @__PURE__ */ i("button", {
|
|
@@ -2326,19 +2326,19 @@ var tn = ({ children: e, style: t, ...n }) => {
|
|
|
2326
2326
|
children: t
|
|
2327
2327
|
})]
|
|
2328
2328
|
}), sn = {
|
|
2329
|
-
composer: "
|
|
2330
|
-
"composer--typing": "_composer--
|
|
2331
|
-
input: "
|
|
2332
|
-
"composer--disabled": "_composer--
|
|
2333
|
-
upload: "
|
|
2334
|
-
upload__icon: "
|
|
2335
|
-
upload__body: "
|
|
2336
|
-
upload__name: "
|
|
2337
|
-
upload__track: "
|
|
2338
|
-
upload__fill: "
|
|
2339
|
-
row: "
|
|
2340
|
-
icon: "
|
|
2341
|
-
send: "
|
|
2329
|
+
composer: "_composer_1dwtx_2",
|
|
2330
|
+
"composer--typing": "_composer--typing_1dwtx_15",
|
|
2331
|
+
input: "_input_1dwtx_22",
|
|
2332
|
+
"composer--disabled": "_composer--disabled_1dwtx_23",
|
|
2333
|
+
upload: "_upload_1dwtx_25",
|
|
2334
|
+
upload__icon: "_upload__icon_1dwtx_30",
|
|
2335
|
+
upload__body: "_upload__body_1dwtx_31",
|
|
2336
|
+
upload__name: "_upload__name_1dwtx_32",
|
|
2337
|
+
upload__track: "_upload__track_1dwtx_33",
|
|
2338
|
+
upload__fill: "_upload__fill_1dwtx_34",
|
|
2339
|
+
row: "_row_1dwtx_36",
|
|
2340
|
+
icon: "_icon_1dwtx_37",
|
|
2341
|
+
send: "_send_1dwtx_52"
|
|
2342
2342
|
}, cn = ({ state: t = "default", value: n, placeholder: r = "Message...", onChange: o, onSend: s, onAttachmentsChange: c, uploadName: l, uploadProgress: u = 0, onCancelUpload: d, className: f }) => {
|
|
2343
2343
|
let p = t === "disabled", [m, h] = e.useState(""), [g, _] = e.useState(!1), [v, y] = e.useState({
|
|
2344
2344
|
top: 0,
|
|
@@ -2737,12 +2737,12 @@ var K = {
|
|
|
2737
2737
|
})]
|
|
2738
2738
|
})]
|
|
2739
2739
|
}), fn = {
|
|
2740
|
-
empty: "
|
|
2741
|
-
empty__chip: "
|
|
2742
|
-
"empty__chip--error": "_empty__chip--
|
|
2743
|
-
empty__title: "
|
|
2744
|
-
empty__desc: "
|
|
2745
|
-
empty__action: "
|
|
2740
|
+
empty: "_empty_1sxwx_2",
|
|
2741
|
+
empty__chip: "_empty__chip_1sxwx_12",
|
|
2742
|
+
"empty__chip--error": "_empty__chip--error_1sxwx_22",
|
|
2743
|
+
empty__title: "_empty__title_1sxwx_23",
|
|
2744
|
+
empty__desc: "_empty__desc_1sxwx_31",
|
|
2745
|
+
empty__action: "_empty__action_1sxwx_39"
|
|
2746
2746
|
}, pn = {
|
|
2747
2747
|
"no-data": {
|
|
2748
2748
|
icon: /* @__PURE__ */ i(C, {
|
|
@@ -3034,11 +3034,11 @@ var J = {
|
|
|
3034
3034
|
})]
|
|
3035
3035
|
});
|
|
3036
3036
|
}, Cn = {
|
|
3037
|
-
pagination: "
|
|
3038
|
-
page: "
|
|
3039
|
-
arrow: "
|
|
3040
|
-
"page--active": "_page--
|
|
3041
|
-
ellipsis: "
|
|
3037
|
+
pagination: "_pagination_e1j7r_2",
|
|
3038
|
+
page: "_page_e1j7r_9",
|
|
3039
|
+
arrow: "_arrow_e1j7r_9",
|
|
3040
|
+
"page--active": "_page--active_e1j7r_26",
|
|
3041
|
+
ellipsis: "_ellipsis_e1j7r_40"
|
|
3042
3042
|
}, wn = (e, t) => Array.from({ length: t - e + 1 }, (t, n) => e + n);
|
|
3043
3043
|
function Tn(e, t, n) {
|
|
3044
3044
|
let r = n * 2 + 5;
|
|
@@ -3673,33 +3673,33 @@ var En = ({ total: t, page: n, onPageChange: r, siblings: o = 1, className: s })
|
|
|
3673
3673
|
});
|
|
3674
3674
|
Gn.displayName = "Slider";
|
|
3675
3675
|
var Q = {
|
|
3676
|
-
wrap: "
|
|
3677
|
-
"wrap--bordered": "_wrap--
|
|
3678
|
-
table: "
|
|
3679
|
-
headerRow: "
|
|
3680
|
-
headerCell: "
|
|
3681
|
-
bodyRow: "
|
|
3682
|
-
"bodyRow--selectable": "_bodyRow--
|
|
3683
|
-
"bodyRow--selected": "_bodyRow--
|
|
3684
|
-
bodyCell: "
|
|
3685
|
-
checkCell: "
|
|
3686
|
-
checkbox: "
|
|
3687
|
-
checkbox__input: "
|
|
3688
|
-
checkbox__box: "
|
|
3689
|
-
checkbox__check: "
|
|
3690
|
-
checkbox__dash: "
|
|
3691
|
-
stackedList: "
|
|
3692
|
-
card: "
|
|
3693
|
-
"card--selectable": "_card--
|
|
3694
|
-
"card--selected": "_card--
|
|
3695
|
-
card__field: "
|
|
3696
|
-
card__label: "
|
|
3697
|
-
card__value: "
|
|
3698
|
-
card__selectRow: "
|
|
3699
|
-
"bodyRow--dragging": "_bodyRow--
|
|
3700
|
-
"bodyRow--dropTarget": "_bodyRow--
|
|
3701
|
-
dragCell: "
|
|
3702
|
-
dragHandle: "
|
|
3676
|
+
wrap: "_wrap_9nqt2_6",
|
|
3677
|
+
"wrap--bordered": "_wrap--bordered_9nqt2_20",
|
|
3678
|
+
table: "_table_9nqt2_25",
|
|
3679
|
+
headerRow: "_headerRow_9nqt2_47",
|
|
3680
|
+
headerCell: "_headerCell_9nqt2_48",
|
|
3681
|
+
bodyRow: "_bodyRow_9nqt2_64",
|
|
3682
|
+
"bodyRow--selectable": "_bodyRow--selectable_9nqt2_78",
|
|
3683
|
+
"bodyRow--selected": "_bodyRow--selected_9nqt2_79",
|
|
3684
|
+
bodyCell: "_bodyCell_9nqt2_81",
|
|
3685
|
+
checkCell: "_checkCell_9nqt2_93",
|
|
3686
|
+
checkbox: "_checkbox_9nqt2_117",
|
|
3687
|
+
checkbox__input: "_checkbox__input_9nqt2_124",
|
|
3688
|
+
checkbox__box: "_checkbox__box_9nqt2_126",
|
|
3689
|
+
checkbox__check: "_checkbox__check_9nqt2_147",
|
|
3690
|
+
checkbox__dash: "_checkbox__dash_9nqt2_154",
|
|
3691
|
+
stackedList: "_stackedList_9nqt2_173",
|
|
3692
|
+
card: "_card_9nqt2_180",
|
|
3693
|
+
"card--selectable": "_card--selectable_9nqt2_189",
|
|
3694
|
+
"card--selected": "_card--selected_9nqt2_191",
|
|
3695
|
+
card__field: "_card__field_9nqt2_193",
|
|
3696
|
+
card__label: "_card__label_9nqt2_201",
|
|
3697
|
+
card__value: "_card__value_9nqt2_207",
|
|
3698
|
+
card__selectRow: "_card__selectRow_9nqt2_217",
|
|
3699
|
+
"bodyRow--dragging": "_bodyRow--dragging_9nqt2_227",
|
|
3700
|
+
"bodyRow--dropTarget": "_bodyRow--dropTarget_9nqt2_228",
|
|
3701
|
+
dragCell: "_dragCell_9nqt2_235",
|
|
3702
|
+
dragHandle: "_dragHandle_9nqt2_251"
|
|
3703
3703
|
}, Kn = 640;
|
|
3704
3704
|
function qn(t) {
|
|
3705
3705
|
let [n, r] = e.useState(!1);
|