@sikka/hawa 0.40.0-next → 0.41.0-next
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/blocks/auth/index.js +100 -15
- package/dist/blocks/auth/index.mjs +104 -19
- package/dist/blocks/feedback/index.js +1 -2
- package/dist/blocks/feedback/index.mjs +6 -8
- package/dist/blocks/index.js +101 -17
- package/dist/blocks/index.mjs +3 -5
- package/dist/blocks/misc/index.mjs +5 -5
- package/dist/blocks/pricing/index.mjs +4 -4
- package/dist/checkbox/index.js +2 -2
- package/dist/checkbox/index.js.map +1 -1
- package/dist/checkbox/index.mjs +2 -2
- package/dist/checkbox/index.mjs.map +1 -1
- package/dist/{chunk-AJTYKC5R.mjs → chunk-4ZELUQQ7.mjs} +1 -1
- package/dist/{chunk-GN7EIDTE.mjs → chunk-55TPME67.mjs} +1 -1
- package/dist/{chunk-CTZRVSTI.mjs → chunk-F6SLF6DS.mjs} +1 -1
- package/dist/{chunk-UBUVHGW4.mjs → chunk-FJXDCBMQ.mjs} +16 -16
- package/dist/{chunk-CTNKKP2O.mjs → chunk-FK2C6C3B.mjs} +61 -61
- package/dist/{chunk-27G5FKOP.mjs → chunk-IS73LH5Y.mjs} +1 -1
- package/dist/{chunk-GU2DOJ7Q.mjs → chunk-JGP3PSJL.mjs} +85 -0
- package/dist/{chunk-QZIENYTE.mjs → chunk-NSMJTT6Y.mjs} +1 -1
- package/dist/{chunk-RT2Q3SH7.mjs → chunk-UHUOBAEP.mjs} +1 -1
- package/dist/{chunk-DYPGZ2IP.mjs → chunk-ZSX2KZ2D.mjs} +1 -1
- package/dist/dataTable/index.d.mts +6 -1
- package/dist/dataTable/index.d.ts +6 -1
- package/dist/dataTable/index.js +454 -240
- package/dist/dataTable/index.js.map +1 -1
- package/dist/dataTable/index.mjs +472 -258
- package/dist/dataTable/index.mjs.map +1 -1
- package/dist/docsLayout/index.js +85 -0
- package/dist/docsLayout/index.js.map +1 -1
- package/dist/docsLayout/index.mjs +85 -0
- package/dist/docsLayout/index.mjs.map +1 -1
- package/dist/elements/index.d.mts +11 -1
- package/dist/elements/index.d.ts +11 -1
- package/dist/elements/index.js +616 -453
- package/dist/elements/index.mjs +252 -174
- package/dist/index.css +27 -127
- package/dist/index.d.mts +11 -1
- package/dist/index.d.ts +11 -1
- package/dist/index.js +619 -457
- package/dist/index.mjs +713 -551
- package/dist/layout/index.js +85 -0
- package/dist/layout/index.mjs +2 -2
- package/dist/logos/index.d.mts +5 -0
- package/dist/logos/index.d.ts +5 -0
- package/dist/logos/index.js +85 -0
- package/dist/logos/index.js.map +1 -1
- package/dist/logos/index.mjs +85 -0
- package/dist/logos/index.mjs.map +1 -1
- package/dist/pinInput/index.js +13 -13
- package/dist/pinInput/index.js.map +1 -1
- package/dist/pinInput/index.mjs +13 -13
- package/dist/pinInput/index.mjs.map +1 -1
- package/dist/simpleTable/index.js +4 -4
- package/dist/simpleTable/index.js.map +1 -1
- package/dist/simpleTable/index.mjs +4 -4
- package/dist/simpleTable/index.mjs.map +1 -1
- package/dist/table/index.js +4 -4
- package/dist/table/index.js.map +1 -1
- package/dist/table/index.mjs +4 -4
- package/dist/table/index.mjs.map +1 -1
- package/package.json +3 -5
package/dist/index.css
CHANGED
@@ -1248,9 +1248,15 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
1248
1248
|
.hawa-mb-5 {
|
1249
1249
|
margin-bottom: 1.25rem;
|
1250
1250
|
}
|
1251
|
+
.hawa-me-0 {
|
1252
|
+
margin-inline-end: 0px;
|
1253
|
+
}
|
1251
1254
|
.hawa-me-2 {
|
1252
1255
|
margin-inline-end: 0.5rem;
|
1253
1256
|
}
|
1257
|
+
.hawa-me-4 {
|
1258
|
+
margin-inline-end: 1rem;
|
1259
|
+
}
|
1254
1260
|
.hawa-ml-1 {
|
1255
1261
|
margin-left: 0.25rem;
|
1256
1262
|
}
|
@@ -1293,6 +1299,9 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
1293
1299
|
.hawa-ms-2 {
|
1294
1300
|
margin-inline-start: 0.5rem;
|
1295
1301
|
}
|
1302
|
+
.hawa-ms-4 {
|
1303
|
+
margin-inline-start: 1rem;
|
1304
|
+
}
|
1296
1305
|
.hawa-ms-auto {
|
1297
1306
|
margin-inline-start: auto;
|
1298
1307
|
}
|
@@ -1620,6 +1629,9 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
1620
1629
|
.hawa-w-9 {
|
1621
1630
|
width: 2.25rem;
|
1622
1631
|
}
|
1632
|
+
.hawa-w-\[0\.5px\] {
|
1633
|
+
width: 0.5px;
|
1634
|
+
}
|
1623
1635
|
.hawa-w-\[1\.2rem\] {
|
1624
1636
|
width: 1.2rem;
|
1625
1637
|
}
|
@@ -1736,9 +1748,6 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
1736
1748
|
.hawa-max-w-md {
|
1737
1749
|
max-width: 28rem;
|
1738
1750
|
}
|
1739
|
-
.hawa-max-w-screen-sm {
|
1740
|
-
max-width: 640px;
|
1741
|
-
}
|
1742
1751
|
.hawa-max-w-sm {
|
1743
1752
|
max-width: 24rem;
|
1744
1753
|
}
|
@@ -2066,6 +2075,9 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
2066
2075
|
.hawa-text-wrap {
|
2067
2076
|
text-wrap: wrap;
|
2068
2077
|
}
|
2078
|
+
.hawa-text-nowrap {
|
2079
|
+
text-wrap: nowrap;
|
2080
|
+
}
|
2069
2081
|
.hawa-rounded {
|
2070
2082
|
border-radius: var(--radius);
|
2071
2083
|
}
|
@@ -4333,6 +4345,12 @@ body {
|
|
4333
4345
|
.hawa-peer:checked ~ .dark\:peer-checked\:hawa-text-primary:is(.hawa-dark *) {
|
4334
4346
|
color: hsl(var(--primary));
|
4335
4347
|
}
|
4348
|
+
@media (min-width: 430px) {
|
4349
|
+
|
4350
|
+
.mobile\:hawa-flex-row {
|
4351
|
+
flex-direction: row;
|
4352
|
+
}
|
4353
|
+
}
|
4336
4354
|
@media (min-width: 440px) {
|
4337
4355
|
|
4338
4356
|
.xs\:hawa-max-w-full {
|
@@ -4362,135 +4380,17 @@ body {
|
|
4362
4380
|
}
|
4363
4381
|
@media (min-width: 640px) {
|
4364
4382
|
|
4365
|
-
.
|
4366
|
-
|
4367
|
-
|
4368
|
-
|
4369
|
-
.sm\:hawa-right-0 {
|
4370
|
-
right: 0px;
|
4371
|
-
}
|
4372
|
-
|
4373
|
-
.sm\:hawa-top-auto {
|
4374
|
-
top: auto;
|
4375
|
-
}
|
4376
|
-
|
4377
|
-
.sm\:hawa-max-w-fit {
|
4378
|
-
max-width: -moz-fit-content;
|
4379
|
-
max-width: fit-content;
|
4380
|
-
}
|
4381
|
-
|
4382
|
-
.sm\:hawa-max-w-sm {
|
4383
|
-
max-width: 24rem;
|
4383
|
+
.tablet\:hawa-w-fit {
|
4384
|
+
width: -moz-fit-content;
|
4385
|
+
width: fit-content;
|
4384
4386
|
}
|
4385
4387
|
|
4386
|
-
.
|
4388
|
+
.tablet\:hawa-flex-row {
|
4387
4389
|
flex-direction: row;
|
4388
4390
|
}
|
4389
4391
|
|
4390
|
-
.
|
4391
|
-
|
4392
|
-
}
|
4393
|
-
|
4394
|
-
.sm\:hawa-justify-end {
|
4395
|
-
justify-content: flex-end;
|
4396
|
-
}
|
4397
|
-
|
4398
|
-
.sm\:hawa-space-x-2 > :not([hidden]) ~ :not([hidden]) {
|
4399
|
-
--tw-space-x-reverse: 0;
|
4400
|
-
margin-right: calc(0.5rem * var(--tw-space-x-reverse));
|
4401
|
-
margin-left: calc(0.5rem * calc(1 - var(--tw-space-x-reverse)));
|
4402
|
-
}
|
4403
|
-
|
4404
|
-
.sm\:hawa-space-x-4 > :not([hidden]) ~ :not([hidden]) {
|
4405
|
-
--tw-space-x-reverse: 0;
|
4406
|
-
margin-right: calc(1rem * var(--tw-space-x-reverse));
|
4407
|
-
margin-left: calc(1rem * calc(1 - var(--tw-space-x-reverse)));
|
4408
|
-
}
|
4409
|
-
|
4410
|
-
.sm\:hawa-space-y-0 > :not([hidden]) ~ :not([hidden]) {
|
4411
|
-
--tw-space-y-reverse: 0;
|
4412
|
-
margin-top: calc(0px * calc(1 - var(--tw-space-y-reverse)));
|
4413
|
-
margin-bottom: calc(0px * var(--tw-space-y-reverse));
|
4414
|
-
}
|
4415
|
-
|
4416
|
-
.sm\:hawa-rounded {
|
4417
|
-
border-radius: var(--radius);
|
4418
|
-
}
|
4419
|
-
|
4420
|
-
.sm\:hawa-text-left {
|
4421
|
-
text-align: left;
|
4422
|
-
}
|
4423
|
-
|
4424
|
-
.sm\:hawa-text-2xl {
|
4425
|
-
font-size: 1.5rem;
|
4426
|
-
line-height: 2rem;
|
4427
|
-
}
|
4428
|
-
|
4429
|
-
.sm\:hawa-text-base {
|
4430
|
-
font-size: 1rem;
|
4431
|
-
line-height: 1.5rem;
|
4432
|
-
}
|
4433
|
-
|
4434
|
-
.sm\:hawa-text-xl {
|
4435
|
-
font-size: 1.25rem;
|
4436
|
-
line-height: 1.75rem;
|
4437
|
-
}
|
4438
|
-
|
4439
|
-
.data-\[state\=open\]\:sm\:hawa-slide-in-from-bottom-full[data-state=open] {
|
4440
|
-
--tw-enter-translate-y: 100%;
|
4441
|
-
}
|
4442
|
-
}
|
4443
|
-
@media (min-width: 768px) {
|
4444
|
-
|
4445
|
-
.md\:hawa-absolute {
|
4446
|
-
position: absolute;
|
4447
|
-
}
|
4448
|
-
|
4449
|
-
.md\:hawa-flex {
|
4450
|
-
display: flex;
|
4451
|
-
}
|
4452
|
-
|
4453
|
-
.md\:hawa-hidden {
|
4454
|
-
display: none;
|
4455
|
-
}
|
4456
|
-
|
4457
|
-
.md\:hawa-w-\[var\(--radix-navigation-menu-viewport-width\)\] {
|
4458
|
-
width: var(--radix-navigation-menu-viewport-width);
|
4459
|
-
}
|
4460
|
-
|
4461
|
-
.md\:hawa-w-auto {
|
4462
|
-
width: auto;
|
4463
|
-
}
|
4464
|
-
|
4465
|
-
.md\:hawa-w-full {
|
4466
|
-
width: 100%;
|
4467
|
-
}
|
4468
|
-
|
4469
|
-
.md\:hawa-max-w-\[420px\] {
|
4470
|
-
max-width: 420px;
|
4471
|
-
}
|
4472
|
-
|
4473
|
-
.md\:hawa-max-w-sm {
|
4474
|
-
max-width: 24rem;
|
4475
|
-
}
|
4476
|
-
|
4477
|
-
.md\:hawa-flex-row {
|
4478
|
-
flex-direction: row;
|
4479
|
-
}
|
4480
|
-
|
4481
|
-
.md\:hawa-rounded-t {
|
4482
|
-
border-top-left-radius: var(--radius);
|
4483
|
-
border-top-right-radius: var(--radius);
|
4484
|
-
}
|
4485
|
-
|
4486
|
-
.md\:hawa-px-4 {
|
4487
|
-
padding-left: 1rem;
|
4488
|
-
padding-right: 1rem;
|
4489
|
-
}
|
4490
|
-
|
4491
|
-
.md\:hawa-px-64 {
|
4492
|
-
padding-left: 16rem;
|
4493
|
-
padding-right: 16rem;
|
4392
|
+
.tablet\:hawa-gap-0 {
|
4393
|
+
gap: 0px;
|
4494
4394
|
}
|
4495
4395
|
}
|
4496
4396
|
.\[\&\:has\(\[aria-selected\]\)\]\:hawa-bg-accent:has([aria-selected]) {
|
package/dist/index.d.mts
CHANGED
@@ -282,6 +282,11 @@ declare const Logos: {
|
|
282
282
|
twitter: (props: IconProps) => React__default.JSX.Element;
|
283
283
|
x: (props: IconProps) => React__default.JSX.Element;
|
284
284
|
instagram: (props: IconProps) => React__default.JSX.Element;
|
285
|
+
telegram: (props: IconProps) => React__default.JSX.Element;
|
286
|
+
youtube: (props: IconProps) => React__default.JSX.Element;
|
287
|
+
tiktok: (props: IconProps) => React__default.JSX.Element;
|
288
|
+
linkedin: (props: IconProps) => React__default.JSX.Element;
|
289
|
+
behance: (props: IconProps) => React__default.JSX.Element;
|
285
290
|
microsoft: (props: IconProps) => React__default.JSX.Element;
|
286
291
|
github: (props: IconProps) => React__default.JSX.Element;
|
287
292
|
radix: (props: IconProps) => React__default.JSX.Element;
|
@@ -494,15 +499,18 @@ type DataTableProps<DataProps = {}> = {
|
|
494
499
|
enableSearch?: boolean;
|
495
500
|
enableHideColumns?: boolean;
|
496
501
|
enableGoTo?: boolean;
|
502
|
+
enableSelection?: boolean;
|
497
503
|
hideHeader?: boolean;
|
498
504
|
data: DataProps[];
|
499
505
|
itemsPerPage?: any[];
|
500
506
|
showCount?: boolean;
|
507
|
+
showSelectionCount?: boolean;
|
501
508
|
paginationPosition?: "top" | "bottom";
|
502
509
|
condensed?: boolean;
|
503
510
|
isLoading?: boolean;
|
504
511
|
defaultSort?: string;
|
505
512
|
translateFn?: any;
|
513
|
+
bulkActions?: any[];
|
506
514
|
texts?: {
|
507
515
|
columns?: string;
|
508
516
|
searchPlaceholder?: string;
|
@@ -513,6 +521,8 @@ type DataTableProps<DataProps = {}> = {
|
|
513
521
|
of?: string;
|
514
522
|
total?: string;
|
515
523
|
goTo?: string;
|
524
|
+
selectedRows?: string;
|
525
|
+
bulkAction?: string;
|
516
526
|
};
|
517
527
|
};
|
518
528
|
declare module "@tanstack/table-core" {
|
@@ -523,7 +533,7 @@ declare module "@tanstack/table-core" {
|
|
523
533
|
i18nKey?: string;
|
524
534
|
}
|
525
535
|
}
|
526
|
-
declare const DataTable: <DataProps extends {}>({ columns, data, paginationPosition, translateFn, enableHideColumns, enableSearch, enableGoTo, ...props }: DataTableProps<DataProps>) => React$1.JSX.Element;
|
536
|
+
declare const DataTable: <DataProps extends {}>({ columns, data, paginationPosition, translateFn, enableHideColumns, enableSelection, enableSearch, enableGoTo, ...props }: DataTableProps<DataProps>) => React$1.JSX.Element;
|
527
537
|
|
528
538
|
type BackToTopTypes = {
|
529
539
|
/** Horizontal padding relative to the attached corner */
|
package/dist/index.d.ts
CHANGED
@@ -282,6 +282,11 @@ declare const Logos: {
|
|
282
282
|
twitter: (props: IconProps) => React__default.JSX.Element;
|
283
283
|
x: (props: IconProps) => React__default.JSX.Element;
|
284
284
|
instagram: (props: IconProps) => React__default.JSX.Element;
|
285
|
+
telegram: (props: IconProps) => React__default.JSX.Element;
|
286
|
+
youtube: (props: IconProps) => React__default.JSX.Element;
|
287
|
+
tiktok: (props: IconProps) => React__default.JSX.Element;
|
288
|
+
linkedin: (props: IconProps) => React__default.JSX.Element;
|
289
|
+
behance: (props: IconProps) => React__default.JSX.Element;
|
285
290
|
microsoft: (props: IconProps) => React__default.JSX.Element;
|
286
291
|
github: (props: IconProps) => React__default.JSX.Element;
|
287
292
|
radix: (props: IconProps) => React__default.JSX.Element;
|
@@ -494,15 +499,18 @@ type DataTableProps<DataProps = {}> = {
|
|
494
499
|
enableSearch?: boolean;
|
495
500
|
enableHideColumns?: boolean;
|
496
501
|
enableGoTo?: boolean;
|
502
|
+
enableSelection?: boolean;
|
497
503
|
hideHeader?: boolean;
|
498
504
|
data: DataProps[];
|
499
505
|
itemsPerPage?: any[];
|
500
506
|
showCount?: boolean;
|
507
|
+
showSelectionCount?: boolean;
|
501
508
|
paginationPosition?: "top" | "bottom";
|
502
509
|
condensed?: boolean;
|
503
510
|
isLoading?: boolean;
|
504
511
|
defaultSort?: string;
|
505
512
|
translateFn?: any;
|
513
|
+
bulkActions?: any[];
|
506
514
|
texts?: {
|
507
515
|
columns?: string;
|
508
516
|
searchPlaceholder?: string;
|
@@ -513,6 +521,8 @@ type DataTableProps<DataProps = {}> = {
|
|
513
521
|
of?: string;
|
514
522
|
total?: string;
|
515
523
|
goTo?: string;
|
524
|
+
selectedRows?: string;
|
525
|
+
bulkAction?: string;
|
516
526
|
};
|
517
527
|
};
|
518
528
|
declare module "@tanstack/table-core" {
|
@@ -523,7 +533,7 @@ declare module "@tanstack/table-core" {
|
|
523
533
|
i18nKey?: string;
|
524
534
|
}
|
525
535
|
}
|
526
|
-
declare const DataTable: <DataProps extends {}>({ columns, data, paginationPosition, translateFn, enableHideColumns, enableSearch, enableGoTo, ...props }: DataTableProps<DataProps>) => React$1.JSX.Element;
|
536
|
+
declare const DataTable: <DataProps extends {}>({ columns, data, paginationPosition, translateFn, enableHideColumns, enableSelection, enableSearch, enableGoTo, ...props }: DataTableProps<DataProps>) => React$1.JSX.Element;
|
527
537
|
|
528
538
|
type BackToTopTypes = {
|
529
539
|
/** Horizontal padding relative to the attached corner */
|