@sia.soul/sia-react-ui 0.1.62 → 0.1.64
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/{chunk-F4XMRO6G.js → chunk-B42RCR7O.js} +1300 -1198
- package/dist/{chunk-QJH7H3CB.js → chunk-NKSPPR2A.js} +11 -5
- package/dist/{chunk-7CAQPLKC.js → chunk-VGIGEDUP.js} +1 -1
- package/dist/{core-BrQetGru.d.ts → core-DrNZuMER.d.ts} +31 -10
- package/dist/{core-MTKdBVk3.d.cts → core-hpkUd4EO.d.cts} +31 -10
- package/dist/core.cjs +1239 -1235
- package/dist/core.css +158 -2
- package/dist/core.d.cts +1 -1
- package/dist/core.d.ts +1 -1
- package/dist/core.js +2 -2
- package/dist/index.cjs +959 -848
- package/dist/index.css +158 -2
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +4 -3
- package/dist/select-date-range.js +2 -2
- package/package.json +1 -1
package/dist/core.css
CHANGED
|
@@ -2496,7 +2496,7 @@ fieldset:disabled .sia-input-number__floating-placeholder {
|
|
|
2496
2496
|
align-items: center;
|
|
2497
2497
|
justify-content: space-between;
|
|
2498
2498
|
gap: 16px;
|
|
2499
|
-
min-height:
|
|
2499
|
+
min-height: 40px;
|
|
2500
2500
|
margin-inline: 16px;
|
|
2501
2501
|
border-bottom: 1px solid var(--sia-color-border);
|
|
2502
2502
|
}
|
|
@@ -2538,7 +2538,7 @@ fieldset:disabled .sia-input-number__floating-placeholder {
|
|
|
2538
2538
|
line-height: 1.55;
|
|
2539
2539
|
}
|
|
2540
2540
|
.sia-card__body {
|
|
2541
|
-
padding: var(--sia-spacing);
|
|
2541
|
+
padding: 6px var(--sia-spacing);
|
|
2542
2542
|
}
|
|
2543
2543
|
.sia-card__collapse-trigger {
|
|
2544
2544
|
display: flex;
|
|
@@ -2593,6 +2593,18 @@ fieldset:disabled .sia-input-number__floating-placeholder {
|
|
|
2593
2593
|
border-color: var(--sia-color-primary);
|
|
2594
2594
|
box-shadow: inset 0 0 0 1px var(--sia-color-primary);
|
|
2595
2595
|
}
|
|
2596
|
+
.sia-card.sia-card--borderless {
|
|
2597
|
+
border: 0;
|
|
2598
|
+
box-shadow: none;
|
|
2599
|
+
}
|
|
2600
|
+
.sia-card--borderless > .sia-card__header {
|
|
2601
|
+
margin-inline: 0;
|
|
2602
|
+
}
|
|
2603
|
+
.sia-card--borderless > .sia-card__description,
|
|
2604
|
+
.sia-card--borderless > .sia-card__body,
|
|
2605
|
+
.sia-card--borderless > .sia-card__hover-actions {
|
|
2606
|
+
padding: 0;
|
|
2607
|
+
}
|
|
2596
2608
|
.sia-card--selectable:focus-visible {
|
|
2597
2609
|
outline: 2px solid var(--sia-color-primary);
|
|
2598
2610
|
outline-offset: 2px;
|
|
@@ -7336,6 +7348,91 @@ fieldset:disabled .sia-input-number__floating-placeholder {
|
|
|
7336
7348
|
.sia-upload__item--error .sia-upload__remove {
|
|
7337
7349
|
color: var(--sia-color-error);
|
|
7338
7350
|
}
|
|
7351
|
+
.sia-upload__list-heading {
|
|
7352
|
+
display: flex;
|
|
7353
|
+
align-items: center;
|
|
7354
|
+
gap: 8px;
|
|
7355
|
+
margin-top: 4px;
|
|
7356
|
+
font-size: 14px;
|
|
7357
|
+
font-weight: 600;
|
|
7358
|
+
}
|
|
7359
|
+
.sia-upload__count {
|
|
7360
|
+
display: inline-grid;
|
|
7361
|
+
place-items: center;
|
|
7362
|
+
min-width: 24px;
|
|
7363
|
+
height: 24px;
|
|
7364
|
+
padding: 0 6px;
|
|
7365
|
+
box-sizing: border-box;
|
|
7366
|
+
color: var(--sia-color-primary-text);
|
|
7367
|
+
background: var(--sia-color-control-hover);
|
|
7368
|
+
border-radius: 12px;
|
|
7369
|
+
font-size: 12px;
|
|
7370
|
+
}
|
|
7371
|
+
.sia-upload--text .sia-upload__list {
|
|
7372
|
+
gap: 8px;
|
|
7373
|
+
}
|
|
7374
|
+
.sia-upload--text .sia-upload__item {
|
|
7375
|
+
box-sizing: border-box;
|
|
7376
|
+
min-height: 72px;
|
|
7377
|
+
padding: 12px;
|
|
7378
|
+
column-gap: 12px;
|
|
7379
|
+
row-gap: 4px;
|
|
7380
|
+
border: 1px solid var(--sia-color-border);
|
|
7381
|
+
border-radius: 8px;
|
|
7382
|
+
background: var(--sia-color-control-hover);
|
|
7383
|
+
}
|
|
7384
|
+
.sia-upload--text .sia-upload__name {
|
|
7385
|
+
font-size: 14px;
|
|
7386
|
+
font-weight: 500;
|
|
7387
|
+
}
|
|
7388
|
+
.sia-upload__file-icon {
|
|
7389
|
+
display: grid;
|
|
7390
|
+
place-items: center;
|
|
7391
|
+
grid-column: 1;
|
|
7392
|
+
grid-row: 1 / 3;
|
|
7393
|
+
width: 40px;
|
|
7394
|
+
height: 40px;
|
|
7395
|
+
color: var(--sia-color-primary-text);
|
|
7396
|
+
background: var(--sia-color-surface);
|
|
7397
|
+
border-radius: 8px;
|
|
7398
|
+
}
|
|
7399
|
+
.sia-upload__status {
|
|
7400
|
+
grid-column: 2;
|
|
7401
|
+
font-size: 12px;
|
|
7402
|
+
color: var(--sia-color-text-secondary);
|
|
7403
|
+
}
|
|
7404
|
+
.sia-upload--text .sia-upload__actions {
|
|
7405
|
+
grid-row: 1 / 3;
|
|
7406
|
+
gap: 4px;
|
|
7407
|
+
}
|
|
7408
|
+
.sia-upload--text .sia-upload__actions > .sia-button {
|
|
7409
|
+
width: 30px;
|
|
7410
|
+
height: 30px;
|
|
7411
|
+
}
|
|
7412
|
+
.sia-upload--text .sia-upload__uploading,
|
|
7413
|
+
.sia-upload--text .sia-upload__error {
|
|
7414
|
+
grid-column: 2;
|
|
7415
|
+
}
|
|
7416
|
+
.sia-upload--text .sia-upload__item--done .sia-upload__file-icon,
|
|
7417
|
+
.sia-upload--text .sia-upload__item--done .sia-upload__status {
|
|
7418
|
+
color: var(--sia-color-success);
|
|
7419
|
+
}
|
|
7420
|
+
.sia-upload--text .sia-upload__item--error {
|
|
7421
|
+
border-color: var(--sia-color-error);
|
|
7422
|
+
}
|
|
7423
|
+
.sia-upload--text .sia-upload__item--error .sia-upload__file-icon {
|
|
7424
|
+
color: var(--sia-color-error);
|
|
7425
|
+
}
|
|
7426
|
+
@media (max-width: 480px) {
|
|
7427
|
+
.sia-upload--text .sia-upload__item {
|
|
7428
|
+
grid-template-columns: auto minmax(0, 1fr);
|
|
7429
|
+
}
|
|
7430
|
+
.sia-upload--text .sia-upload__actions {
|
|
7431
|
+
grid-column: 2;
|
|
7432
|
+
grid-row: 3;
|
|
7433
|
+
justify-self: end;
|
|
7434
|
+
}
|
|
7435
|
+
}
|
|
7339
7436
|
.sia-upload__thumbnail.sia-button {
|
|
7340
7437
|
display: grid;
|
|
7341
7438
|
place-items: center;
|
|
@@ -7502,6 +7599,16 @@ fieldset:disabled .sia-input-number__floating-placeholder {
|
|
|
7502
7599
|
.sia-upload-dragger__content > .sia-icon {
|
|
7503
7600
|
color: var(--sia-color-primary);
|
|
7504
7601
|
}
|
|
7602
|
+
.sia-upload-dragger:not(.sia-upload--picture-card):has(.sia-upload__list:not(:empty)) .sia-upload-dragger__content {
|
|
7603
|
+
min-height: 104px;
|
|
7604
|
+
padding: 16px;
|
|
7605
|
+
gap: 6px;
|
|
7606
|
+
}
|
|
7607
|
+
.sia-upload-dragger:not(.sia-upload--picture-card):has(.sia-upload__list:not(:empty)) .sia-upload-dragger__content > .sia-icon {
|
|
7608
|
+
width: 24px;
|
|
7609
|
+
height: 24px;
|
|
7610
|
+
font-size: 24px;
|
|
7611
|
+
}
|
|
7505
7612
|
.sia-upload.is-dragging .sia-upload__choose {
|
|
7506
7613
|
outline: 2px solid var(--sia-color-primary);
|
|
7507
7614
|
outline-offset: 2px;
|
|
@@ -9367,6 +9474,55 @@ body > .sia-popup-portal[data-sia-popup-layer] {
|
|
|
9367
9474
|
display: grid;
|
|
9368
9475
|
color: var(--sia-color-text);
|
|
9369
9476
|
}
|
|
9477
|
+
.sia-tree--virtual {
|
|
9478
|
+
position: relative;
|
|
9479
|
+
display: block;
|
|
9480
|
+
}
|
|
9481
|
+
.sia-tree__virtual-space {
|
|
9482
|
+
position: relative;
|
|
9483
|
+
min-width: 100%;
|
|
9484
|
+
}
|
|
9485
|
+
.sia-tree__virtual-node,
|
|
9486
|
+
.sia-tree__virtual-sticky-node {
|
|
9487
|
+
position: absolute;
|
|
9488
|
+
right: 0;
|
|
9489
|
+
left: 0;
|
|
9490
|
+
box-sizing: border-box;
|
|
9491
|
+
contain: layout style;
|
|
9492
|
+
}
|
|
9493
|
+
.sia-tree__virtual-node {
|
|
9494
|
+
top: 0;
|
|
9495
|
+
will-change: transform;
|
|
9496
|
+
}
|
|
9497
|
+
.sia-tree__virtual-node > .sia-tree__row,
|
|
9498
|
+
.sia-tree__virtual-sticky-node > .sia-tree__row {
|
|
9499
|
+
position: relative;
|
|
9500
|
+
z-index: 1;
|
|
9501
|
+
min-height: 0;
|
|
9502
|
+
}
|
|
9503
|
+
.sia-tree__virtual-sticky-layer {
|
|
9504
|
+
position: sticky;
|
|
9505
|
+
z-index: 120;
|
|
9506
|
+
top: 0;
|
|
9507
|
+
height: 0;
|
|
9508
|
+
overflow: visible;
|
|
9509
|
+
}
|
|
9510
|
+
.sia-tree__virtual-sticky-node > .sia-tree__row {
|
|
9511
|
+
background: var(--sia-color-surface);
|
|
9512
|
+
}
|
|
9513
|
+
.sia-tree__virtual-guides {
|
|
9514
|
+
position: absolute;
|
|
9515
|
+
z-index: 0;
|
|
9516
|
+
inset: 0;
|
|
9517
|
+
pointer-events: none;
|
|
9518
|
+
}
|
|
9519
|
+
.sia-tree__virtual-guide {
|
|
9520
|
+
position: absolute;
|
|
9521
|
+
top: 0;
|
|
9522
|
+
bottom: 0;
|
|
9523
|
+
width: 1px;
|
|
9524
|
+
background: var(--sia-color-border);
|
|
9525
|
+
}
|
|
9370
9526
|
.sia-tree__row {
|
|
9371
9527
|
display: flex;
|
|
9372
9528
|
align-items: center;
|
package/dist/core.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { d as Breadcrumb, e as BreadcrumbItem, f as BreadcrumbProps, h as Card, i as CardAccent, j as CardProps, n as Collapse, o as CollapseItem, p as CollapseKey, q as CollapseProps, x as FilledIconName, y as FloatButton, z as FloatButtonBackTopProps, A as FloatButtonGroupProps, E as FloatButtonProps, G as FloatButtonShape, K as Icon, L as IconName, M as IconProps, N as IconVariant, U as Input, V as InputProps, a0 as MessageConfig, a1 as MessageHandle, a2 as MessageKey, a3 as MessageType, ab as Progress, ac as ProgressProps, ad as ProgressStatus, ag as Segmented, ah as SegmentedOption, ai as SegmentedProps, aj as SegmentedValue, aq as TabItem, ar as Tabs, at as TabsOrientation, au as TabsPosition, av as TabsProps, aw as TabsType, ax as Tag, ay as TagProps, az as TagSize, T as TagStatus, aA as TagVariant, aE as Toolbar, aF as ToolbarItem, aG as ToolbarProps, aR as Typography, aS as TypographyLinkProps, aT as TypographyProps, aU as TypographyTitleProps, aV as TypographyType, aW as Upload, aX as UploadChangeInfo, aY as UploadDraggerProps, aZ as UploadFile, a_ as UploadFileStatus, b1 as UploadProps, b5 as UploadRequestOptions, b9 as message } from './core-
|
|
1
|
+
export { d as Breadcrumb, e as BreadcrumbItem, f as BreadcrumbProps, h as Card, i as CardAccent, j as CardProps, n as Collapse, o as CollapseItem, p as CollapseKey, q as CollapseProps, x as FilledIconName, y as FloatButton, z as FloatButtonBackTopProps, A as FloatButtonGroupProps, E as FloatButtonProps, G as FloatButtonShape, K as Icon, L as IconName, M as IconProps, N as IconVariant, U as Input, V as InputProps, a0 as MessageConfig, a1 as MessageHandle, a2 as MessageKey, a3 as MessageType, ab as Progress, ac as ProgressProps, ad as ProgressStatus, ag as Segmented, ah as SegmentedOption, ai as SegmentedProps, aj as SegmentedValue, aq as TabItem, ar as Tabs, at as TabsOrientation, au as TabsPosition, av as TabsProps, aw as TabsType, ax as Tag, ay as TagProps, az as TagSize, T as TagStatus, aA as TagVariant, aE as Toolbar, aF as ToolbarItem, aG as ToolbarProps, aR as Typography, aS as TypographyLinkProps, aT as TypographyProps, aU as TypographyTitleProps, aV as TypographyType, aW as Upload, aX as UploadChangeInfo, aY as UploadDraggerProps, aZ as UploadFile, a_ as UploadFileStatus, b1 as UploadProps, b5 as UploadRequestOptions, b9 as message } from './core-hpkUd4EO.cjs';
|
|
2
2
|
export { f as Button, B as ButtonProps, e as ButtonSize, g as ButtonVariant, h as Modal, d as ModalActionResult, M as ModalOpenConfig, i as ModalProps, j as ModalType, a as OverlayApiHandle, k as Select, S as SelectOption, c as SelectProps, m as SelectValue } from './Select-YJbT-MF1.cjs';
|
|
3
3
|
import 'react';
|
|
4
4
|
import './shared-Bx4B28Wh.cjs';
|
package/dist/core.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { d as Breadcrumb, e as BreadcrumbItem, f as BreadcrumbProps, h as Card, i as CardAccent, j as CardProps, n as Collapse, o as CollapseItem, p as CollapseKey, q as CollapseProps, x as FilledIconName, y as FloatButton, z as FloatButtonBackTopProps, A as FloatButtonGroupProps, E as FloatButtonProps, G as FloatButtonShape, K as Icon, L as IconName, M as IconProps, N as IconVariant, U as Input, V as InputProps, a0 as MessageConfig, a1 as MessageHandle, a2 as MessageKey, a3 as MessageType, ab as Progress, ac as ProgressProps, ad as ProgressStatus, ag as Segmented, ah as SegmentedOption, ai as SegmentedProps, aj as SegmentedValue, aq as TabItem, ar as Tabs, at as TabsOrientation, au as TabsPosition, av as TabsProps, aw as TabsType, ax as Tag, ay as TagProps, az as TagSize, T as TagStatus, aA as TagVariant, aE as Toolbar, aF as ToolbarItem, aG as ToolbarProps, aR as Typography, aS as TypographyLinkProps, aT as TypographyProps, aU as TypographyTitleProps, aV as TypographyType, aW as Upload, aX as UploadChangeInfo, aY as UploadDraggerProps, aZ as UploadFile, a_ as UploadFileStatus, b1 as UploadProps, b5 as UploadRequestOptions, b9 as message } from './core-
|
|
1
|
+
export { d as Breadcrumb, e as BreadcrumbItem, f as BreadcrumbProps, h as Card, i as CardAccent, j as CardProps, n as Collapse, o as CollapseItem, p as CollapseKey, q as CollapseProps, x as FilledIconName, y as FloatButton, z as FloatButtonBackTopProps, A as FloatButtonGroupProps, E as FloatButtonProps, G as FloatButtonShape, K as Icon, L as IconName, M as IconProps, N as IconVariant, U as Input, V as InputProps, a0 as MessageConfig, a1 as MessageHandle, a2 as MessageKey, a3 as MessageType, ab as Progress, ac as ProgressProps, ad as ProgressStatus, ag as Segmented, ah as SegmentedOption, ai as SegmentedProps, aj as SegmentedValue, aq as TabItem, ar as Tabs, at as TabsOrientation, au as TabsPosition, av as TabsProps, aw as TabsType, ax as Tag, ay as TagProps, az as TagSize, T as TagStatus, aA as TagVariant, aE as Toolbar, aF as ToolbarItem, aG as ToolbarProps, aR as Typography, aS as TypographyLinkProps, aT as TypographyProps, aU as TypographyTitleProps, aV as TypographyType, aW as Upload, aX as UploadChangeInfo, aY as UploadDraggerProps, aZ as UploadFile, a_ as UploadFileStatus, b1 as UploadProps, b5 as UploadRequestOptions, b9 as message } from './core-DrNZuMER.js';
|
|
2
2
|
export { f as Button, B as ButtonProps, e as ButtonSize, g as ButtonVariant, h as Modal, d as ModalActionResult, M as ModalOpenConfig, i as ModalProps, j as ModalType, a as OverlayApiHandle, k as Select, S as SelectOption, c as SelectProps, m as SelectValue } from './Select-CCrPqULn.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import './shared-Bx4B28Wh.js';
|
package/dist/core.js
CHANGED
|
@@ -10,12 +10,12 @@ import {
|
|
|
10
10
|
Typography,
|
|
11
11
|
Upload,
|
|
12
12
|
message
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-NKSPPR2A.js";
|
|
14
14
|
import "./chunk-SMCYEPBL.js";
|
|
15
15
|
import {
|
|
16
16
|
Modal,
|
|
17
17
|
Select
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-B42RCR7O.js";
|
|
19
19
|
import {
|
|
20
20
|
Icon,
|
|
21
21
|
Input,
|