@sikka/hawa 0.26.18-next → 0.26.20
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/accordion/index.js +10 -12
- package/dist/accordion/index.mjs +8 -8
- package/dist/alert/index.js +8 -7
- package/dist/alert/index.mjs +7 -6
- package/dist/appLayout/index.js +13 -12
- package/dist/appLayout/index.mjs +12 -11
- package/dist/appMenubar/index.js +4 -4
- package/dist/appMenubar/index.mjs +2 -2
- package/dist/appStores/index.js +2 -2
- package/dist/appStores/index.mjs +1 -1
- package/dist/appTabs/index.js +4 -4
- package/dist/appTabs/index.mjs +2 -2
- package/dist/appTopbar/index.js +6 -6
- package/dist/appTopbar/index.mjs +4 -4
- package/dist/avatar/index.js +5 -5
- package/dist/avatar/index.mjs +4 -4
- package/dist/backToTop/index.js +8 -7
- package/dist/backToTop/index.mjs +7 -6
- package/dist/badge/index.js +4 -4
- package/dist/badge/index.mjs +2 -2
- package/dist/blocks/auth/index.js +38 -37
- package/dist/blocks/auth/index.mjs +24 -24
- package/dist/blocks/feedback/index.js +27 -26
- package/dist/blocks/feedback/index.mjs +11 -11
- package/dist/blocks/index.js +77 -76
- package/dist/blocks/index.mjs +34 -34
- package/dist/blocks/misc/index.js +31 -30
- package/dist/blocks/misc/index.mjs +14 -14
- package/dist/blocks/pricing/index.js +123 -122
- package/dist/blocks/pricing/index.mjs +18 -18
- package/dist/breadcrumb/index.js +2 -2
- package/dist/breadcrumb/index.mjs +1 -1
- package/dist/button/index.js +6 -5
- package/dist/button/index.mjs +5 -4
- package/dist/card/index.js +4 -4
- package/dist/card/index.mjs +2 -2
- package/dist/carousel/index.d.mts +1 -1
- package/dist/carousel/index.d.ts +1 -1
- package/dist/carousel/index.js +9 -18
- package/dist/carousel/index.mjs +7 -16
- package/dist/checkbox/index.js +4 -4
- package/dist/checkbox/index.mjs +2 -2
- package/dist/chip/index.js +4 -4
- package/dist/chip/index.mjs +2 -2
- package/dist/{chunk-343SRWR4.mjs → chunk-3GBITBPL.mjs} +2 -2
- package/dist/{chunk-TTKRRN7S.mjs → chunk-4IOG44R3.mjs} +2 -2
- package/dist/{chunk-3N6JJKMN.mjs → chunk-65TG6EVD.mjs} +5 -4
- package/dist/{chunk-LT3VHLAG.mjs → chunk-APZM24KK.mjs} +2 -2
- package/dist/{chunk-FYH74ZRQ.mjs → chunk-AREFDTXK.mjs} +9 -8
- package/dist/{chunk-FNVYY7ND.mjs → chunk-D22AALLE.mjs} +1 -1
- package/dist/{chunk-OD5WIQGQ.mjs → chunk-FDKCMEMD.mjs} +2 -2
- package/dist/{chunk-KNHT2UBG.mjs → chunk-KMCIHW76.mjs} +2 -2
- package/dist/{chunk-M2ZS3EDT.mjs → chunk-OAXF3RCQ.mjs} +2 -2
- package/dist/chunk-OTGCLEKC.mjs +62 -0
- package/dist/{chunk-OE23TTPS.mjs → chunk-POIP5U4M.mjs} +3 -3
- package/dist/{chunk-EYUG3GRC.mjs → chunk-SJ2Z6ZOG.mjs} +4 -4
- package/dist/{chunk-WRZFWCOQ.mjs → chunk-TGZRVRLP.mjs} +4 -4
- package/dist/{chunk-TE3BKEXL.mjs → chunk-TWNGV3RE.mjs} +1 -1
- package/dist/{chunk-ATUSR6VI.mjs → chunk-U3TZWNDZ.mjs} +4 -4
- package/dist/{chunk-W77KCP35.mjs → chunk-VQQ6MUX5.mjs} +2 -2
- package/dist/{chunk-SUS6O2PO.mjs → chunk-WPSUV4AD.mjs} +21 -21
- package/dist/{chunk-3KMBSNM3.mjs → chunk-Z5SL5QTQ.mjs} +11 -10
- package/dist/{chunk-ZCZ3WARS.mjs → chunk-ZS3FB3PO.mjs} +1 -1
- package/dist/codeBlock/index.js +153 -2454
- package/dist/codeBlock/index.mjs +129 -2393
- package/dist/collapsible/index.js +2 -2
- package/dist/collapsible/index.mjs +1 -1
- package/dist/colorPicker/index.js +7 -7
- package/dist/colorPicker/index.mjs +126 -2
- package/dist/combobox/index.js +193 -193
- package/dist/combobox/index.mjs +8 -8
- package/dist/command/index.js +5 -5
- package/dist/command/index.mjs +1 -1
- package/dist/copyrights/index.js +2 -2
- package/dist/copyrights/index.mjs +1 -1
- package/dist/count/index.js +2 -2
- package/dist/count/index.mjs +1 -1
- package/dist/dataTable/index.d.mts +1 -0
- package/dist/dataTable/index.d.ts +1 -0
- package/dist/dataTable/index.js +23 -16
- package/dist/dataTable/index.mjs +22 -15
- package/dist/destroyableCard/index.js +6 -8
- package/dist/destroyableCard/index.mjs +4 -4
- package/dist/dialog/index.js +4 -4
- package/dist/dialog/index.mjs +2 -2
- package/dist/docsLayout/index.js +12 -11
- package/dist/docsLayout/index.mjs +11 -10
- package/dist/docsSidebar/index.js +4 -4
- package/dist/docsSidebar/index.mjs +2 -2
- package/dist/dropdownMenu/index.js +4 -4
- package/dist/dropdownMenu/index.mjs +2 -2
- package/dist/elements/index.d.mts +2 -1
- package/dist/elements/index.d.ts +2 -1
- package/dist/elements/index.js +162 -164
- package/dist/elements/index.mjs +54 -57
- package/dist/fileDropzone/index.js +10 -9
- package/dist/fileDropzone/index.mjs +9 -8
- package/dist/fileUploader/index.js +2 -2
- package/dist/fileUploader/index.mjs +1 -1
- package/dist/glow/index.js +2 -2
- package/dist/glow/index.mjs +1 -1
- package/dist/hooks/index.d.mts +7 -7
- package/dist/hooks/index.d.ts +7 -7
- package/dist/hooks/index.js +16 -16
- package/dist/hooks/index.mjs +14 -14
- package/dist/index.css +0 -465
- package/dist/index.d.mts +9 -8
- package/dist/index.d.ts +9 -8
- package/dist/index.js +220 -222
- package/dist/index.mjs +219 -221
- package/dist/input/index.js +8 -8
- package/dist/input/index.mjs +4 -4
- package/dist/interfaceSettings/index.js +9 -9
- package/dist/interfaceSettings/index.mjs +4 -4
- package/dist/label/index.js +5 -5
- package/dist/label/index.mjs +4 -4
- package/dist/layout/index.d.mts +1 -1
- package/dist/layout/index.d.ts +1 -1
- package/dist/layout/index.js +31 -30
- package/dist/layout/index.mjs +16 -16
- package/dist/loading/index.js +4 -4
- package/dist/loading/index.mjs +2 -2
- package/dist/logos/index.js +2 -2
- package/dist/logos/index.mjs +1 -1
- package/dist/navbar/index.js +5 -5
- package/dist/navbar/index.mjs +4 -4
- package/dist/navigationMenu/index.js +4 -4
- package/dist/navigationMenu/index.mjs +2 -2
- package/dist/pagination/index.js +4 -4
- package/dist/pagination/index.mjs +2 -2
- package/dist/passwordInput/index.js +15 -15
- package/dist/passwordInput/index.mjs +13 -13
- package/dist/phoneInput/index.js +11 -11
- package/dist/phoneInput/index.mjs +10 -10
- package/dist/pinInput/index.js +4 -4
- package/dist/pinInput/index.mjs +2 -2
- package/dist/popover/index.js +4 -4
- package/dist/popover/index.mjs +2 -2
- package/dist/progress/index.js +4 -4
- package/dist/progress/index.mjs +2 -2
- package/dist/progressCircle/index.js +4 -4
- package/dist/progressCircle/index.mjs +2 -2
- package/dist/radio/index.js +7 -7
- package/dist/radio/index.mjs +6 -6
- package/dist/scrollArea/index.js +4 -4
- package/dist/scrollArea/index.mjs +2 -2
- package/dist/scrollIndicator/index.js +2 -2
- package/dist/scrollIndicator/index.mjs +1 -1
- package/dist/select/index.js +8 -8
- package/dist/select/index.mjs +7 -7
- package/dist/separator/index.js +4 -4
- package/dist/separator/index.mjs +2 -2
- package/dist/sheet/index.js +4 -4
- package/dist/sheet/index.mjs +2 -2
- package/dist/sidebar/index.js +6 -6
- package/dist/sidebar/index.mjs +4 -4
- package/dist/signature/index.js +8 -8
- package/dist/signature/index.mjs +6 -6
- package/dist/simpleTable/index.js +6 -6
- package/dist/simpleTable/index.mjs +5 -5
- package/dist/skeleton/index.js +4 -4
- package/dist/skeleton/index.mjs +2 -2
- package/dist/slider/index.js +4 -4
- package/dist/slider/index.mjs +2 -2
- package/dist/sortButton/index.js +8 -7
- package/dist/sortButton/index.mjs +2 -2
- package/dist/splitButton/index.js +9 -8
- package/dist/splitButton/index.mjs +4 -4
- package/dist/stats/index.js +7 -7
- package/dist/stats/index.mjs +6 -6
- package/dist/stopPropagationWrapper/index.js +2 -2
- package/dist/stopPropagationWrapper/index.mjs +1 -1
- package/dist/switch/index.js +4 -4
- package/dist/switch/index.mjs +2 -2
- package/dist/table/index.js +4 -4
- package/dist/table/index.mjs +2 -2
- package/dist/tabs/index.js +5 -5
- package/dist/tabs/index.mjs +4 -4
- package/dist/textarea/index.js +7 -7
- package/dist/textarea/index.mjs +6 -6
- package/dist/toast/index.js +4 -4
- package/dist/toast/index.mjs +2 -2
- package/dist/toaster/index.js +6 -6
- package/dist/toaster/index.mjs +5 -5
- package/dist/tooltip/index.js +4 -4
- package/dist/tooltip/index.mjs +3 -3
- package/dist/types/index.js +1 -1
- package/package.json +16 -42
- package/README.md +0 -107
- package/dist/chunk-S36W2LDN.mjs +0 -189
package/dist/hooks/index.js
CHANGED
@@ -27,7 +27,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
27
27
|
));
|
28
28
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
29
29
|
|
30
|
-
//
|
30
|
+
// hooks/index.ts
|
31
31
|
var hooks_exports = {};
|
32
32
|
__export(hooks_exports, {
|
33
33
|
reducer: () => reducer,
|
@@ -45,17 +45,17 @@ __export(hooks_exports, {
|
|
45
45
|
});
|
46
46
|
module.exports = __toCommonJS(hooks_exports);
|
47
47
|
|
48
|
-
//
|
48
|
+
// hooks/useIsomorphicEffect.ts
|
49
49
|
var import_react = require("react");
|
50
50
|
var useIsomorphicEffect = typeof document !== "undefined" ? import_react.useLayoutEffect : import_react.useEffect;
|
51
51
|
|
52
|
-
//
|
52
|
+
// hooks/useDiscloser.ts
|
53
53
|
var import_react2 = require("react");
|
54
54
|
|
55
|
-
//
|
55
|
+
// hooks/useHover.ts
|
56
56
|
var import_react3 = require("react");
|
57
57
|
|
58
|
-
//
|
58
|
+
// hooks/useToast.ts
|
59
59
|
var React3 = __toESM(require("react"));
|
60
60
|
var TOAST_LIMIT = 5;
|
61
61
|
var TOAST_REMOVE_DELAY = 1e5;
|
@@ -169,10 +169,10 @@ function useToast() {
|
|
169
169
|
};
|
170
170
|
}
|
171
171
|
|
172
|
-
//
|
172
|
+
// hooks/useCarousel.ts
|
173
173
|
var import_react4 = require("react");
|
174
174
|
|
175
|
-
//
|
175
|
+
// hooks/useDialogCarousel.ts
|
176
176
|
var import_react5 = require("react");
|
177
177
|
var import_embla_carousel_auto_height = __toESM(require("embla-carousel-auto-height"));
|
178
178
|
var import_embla_carousel_react = __toESM(require("embla-carousel-react"));
|
@@ -215,7 +215,7 @@ var useDialogCarousel = (options) => {
|
|
215
215
|
};
|
216
216
|
};
|
217
217
|
|
218
|
-
//
|
218
|
+
// hooks/useDialogSteps.ts
|
219
219
|
var import_react6 = require("react");
|
220
220
|
var useMultiStepDialog = (initialStep, stepIds, setOpenDialog) => {
|
221
221
|
const [currentStep, setCurrentStep] = (0, import_react6.useState)(initialStep);
|
@@ -251,7 +251,7 @@ var useMultiStepDialog = (initialStep, stepIds, setOpenDialog) => {
|
|
251
251
|
};
|
252
252
|
};
|
253
253
|
|
254
|
-
//
|
254
|
+
// hooks/useClipboard.ts
|
255
255
|
var import_react7 = require("react");
|
256
256
|
function useClipboard({ timeout = 2e3 } = {}) {
|
257
257
|
const [error, setError] = (0, import_react7.useState)(null);
|
@@ -277,7 +277,7 @@ function useClipboard({ timeout = 2e3 } = {}) {
|
|
277
277
|
return { copy, reset, error, copied };
|
278
278
|
}
|
279
279
|
|
280
|
-
//
|
280
|
+
// hooks/useBreakpoint.ts
|
281
281
|
var import_react8 = require("react");
|
282
282
|
var useBreakpoint = () => {
|
283
283
|
const [breakpoint, setBreakpoint] = (0, import_react8.useState)(null);
|
@@ -296,7 +296,7 @@ var useBreakpoint = () => {
|
|
296
296
|
return breakpoint;
|
297
297
|
};
|
298
298
|
|
299
|
-
//
|
299
|
+
// hooks/useWindowSize.ts
|
300
300
|
var import_react9 = require("react");
|
301
301
|
var useWindowSize = () => {
|
302
302
|
const [windowSize, setWindowSize] = (0, import_react9.useState)({
|
@@ -317,7 +317,7 @@ var useWindowSize = () => {
|
|
317
317
|
return windowSize;
|
318
318
|
};
|
319
319
|
|
320
|
-
//
|
320
|
+
// hooks/useFocusWithin.ts
|
321
321
|
var import_react10 = require("react");
|
322
322
|
function containsRelatedTarget(event) {
|
323
323
|
if (event.currentTarget instanceof HTMLElement && event.relatedTarget instanceof HTMLElement) {
|
@@ -363,7 +363,7 @@ function useFocusWithin({
|
|
363
363
|
return { ref, focused };
|
364
364
|
}
|
365
365
|
|
366
|
-
//
|
366
|
+
// hooks/useMediaQuery.ts
|
367
367
|
var import_react11 = require("react");
|
368
368
|
function attachMediaListener(query, callback) {
|
369
369
|
try {
|
@@ -404,13 +404,13 @@ function useMediaQuery(query, initialValue, { getInitialValueInEffect } = {
|
|
404
404
|
return matches;
|
405
405
|
}
|
406
406
|
|
407
|
-
//
|
407
|
+
// hooks/useScrollPosition.ts
|
408
408
|
var import_react12 = require("react");
|
409
409
|
|
410
|
-
//
|
410
|
+
// hooks/useTable.ts
|
411
411
|
var import_react13 = require("react");
|
412
412
|
|
413
|
-
//
|
413
|
+
// hooks/useTabs.ts
|
414
414
|
var import_react14 = require("react");
|
415
415
|
function useTabs(initialTab = "") {
|
416
416
|
const [activeTab, setActiveTab] = (0, import_react14.useState)(initialTab);
|
package/dist/hooks/index.mjs
CHANGED
@@ -1,27 +1,27 @@
|
|
1
1
|
import {
|
2
2
|
useBreakpoint
|
3
|
-
} from "../chunk-
|
3
|
+
} from "../chunk-D22AALLE.mjs";
|
4
4
|
import {
|
5
5
|
reducer,
|
6
6
|
toast,
|
7
7
|
useClipboard,
|
8
8
|
useToast
|
9
|
-
} from "../chunk-
|
9
|
+
} from "../chunk-3GBITBPL.mjs";
|
10
10
|
|
11
|
-
//
|
11
|
+
// hooks/useIsomorphicEffect.ts
|
12
12
|
import { useEffect, useLayoutEffect } from "react";
|
13
13
|
var useIsomorphicEffect = typeof document !== "undefined" ? useLayoutEffect : useEffect;
|
14
14
|
|
15
|
-
//
|
15
|
+
// hooks/useDiscloser.ts
|
16
16
|
import { useState } from "react";
|
17
17
|
|
18
|
-
//
|
18
|
+
// hooks/useHover.ts
|
19
19
|
import { useEffect as useEffect2, useRef, useState as useState2 } from "react";
|
20
20
|
|
21
|
-
//
|
21
|
+
// hooks/useCarousel.ts
|
22
22
|
import { useState as useState3, useRef as useRef2 } from "react";
|
23
23
|
|
24
|
-
//
|
24
|
+
// hooks/useDialogCarousel.ts
|
25
25
|
import { useEffect as useEffect3, useState as useState4 } from "react";
|
26
26
|
import AutoHeight from "embla-carousel-auto-height";
|
27
27
|
import useEmblaCarousel from "embla-carousel-react";
|
@@ -64,7 +64,7 @@ var useDialogCarousel = (options) => {
|
|
64
64
|
};
|
65
65
|
};
|
66
66
|
|
67
|
-
//
|
67
|
+
// hooks/useDialogSteps.ts
|
68
68
|
import { useState as useState5, useEffect as useEffect4, useRef as useRef3 } from "react";
|
69
69
|
var useMultiStepDialog = (initialStep, stepIds, setOpenDialog) => {
|
70
70
|
const [currentStep, setCurrentStep] = useState5(initialStep);
|
@@ -100,7 +100,7 @@ var useMultiStepDialog = (initialStep, stepIds, setOpenDialog) => {
|
|
100
100
|
};
|
101
101
|
};
|
102
102
|
|
103
|
-
//
|
103
|
+
// hooks/useWindowSize.ts
|
104
104
|
import { useEffect as useEffect5, useState as useState6 } from "react";
|
105
105
|
var useWindowSize = () => {
|
106
106
|
const [windowSize, setWindowSize] = useState6({
|
@@ -121,7 +121,7 @@ var useWindowSize = () => {
|
|
121
121
|
return windowSize;
|
122
122
|
};
|
123
123
|
|
124
|
-
//
|
124
|
+
// hooks/useFocusWithin.ts
|
125
125
|
import { useRef as useRef4, useState as useState7, useEffect as useEffect6 } from "react";
|
126
126
|
function containsRelatedTarget(event) {
|
127
127
|
if (event.currentTarget instanceof HTMLElement && event.relatedTarget instanceof HTMLElement) {
|
@@ -167,7 +167,7 @@ function useFocusWithin({
|
|
167
167
|
return { ref, focused };
|
168
168
|
}
|
169
169
|
|
170
|
-
//
|
170
|
+
// hooks/useMediaQuery.ts
|
171
171
|
import { useState as useState8, useEffect as useEffect7, useRef as useRef5 } from "react";
|
172
172
|
function attachMediaListener(query, callback) {
|
173
173
|
try {
|
@@ -208,13 +208,13 @@ function useMediaQuery(query, initialValue, { getInitialValueInEffect } = {
|
|
208
208
|
return matches;
|
209
209
|
}
|
210
210
|
|
211
|
-
//
|
211
|
+
// hooks/useScrollPosition.ts
|
212
212
|
import { useState as useState9, useEffect as useEffect8 } from "react";
|
213
213
|
|
214
|
-
//
|
214
|
+
// hooks/useTable.ts
|
215
215
|
import { useState as useState10, useEffect as useEffect9 } from "react";
|
216
216
|
|
217
|
-
//
|
217
|
+
// hooks/useTabs.ts
|
218
218
|
import { useEffect as useEffect10, useState as useState11 } from "react";
|
219
219
|
function useTabs(initialTab = "") {
|
220
220
|
const [activeTab, setActiveTab] = useState11(initialTab);
|