@sia.soul/sia-react-ui 0.1.147 → 0.1.149
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-TH7BNDV4.js → chunk-G5YXOCSY.js} +3 -3
- package/dist/{chunk-4PYHSNRA.js → chunk-HRC6TQTZ.js} +2 -2
- package/dist/{chunk-EZTF5TA2.js → chunk-J4R734AI.js} +1 -1
- package/dist/{chunk-YHVFLSZW.js → chunk-SCVUD2IJ.js} +297 -263
- package/dist/{chunk-QLS2IXU4.js → chunk-TKRCHZB7.js} +2 -2
- package/dist/{chunk-W4HDN7MD.js → chunk-VRUTRTLY.js} +2 -2
- package/dist/{core-BJa8K9R8.d.ts → core-BJ4CiGSl.d.ts} +1 -1
- package/dist/{core-DC4cb_KT.d.cts → core-IKk39Mp9.d.cts} +1 -1
- package/dist/core.cjs +297 -263
- package/dist/core.css +209 -0
- package/dist/core.d.cts +1 -1
- package/dist/core.d.ts +1 -1
- package/dist/core.js +4 -4
- package/dist/game.cjs +297 -263
- package/dist/game.css +5 -0
- package/dist/game.js +1 -1
- package/dist/index.cjs +2550 -2096
- package/dist/index.css +209 -0
- package/dist/index.d.cts +69 -4
- package/dist/index.d.ts +69 -4
- package/dist/index.js +888 -471
- package/dist/rich-text-editor.cjs +297 -263
- package/dist/rich-text-editor.js +3 -3
- package/dist/select-date-range.cjs +297 -263
- package/dist/select-date-range.js +4 -4
- package/package.json +1 -1
package/dist/core.css
CHANGED
|
@@ -5576,6 +5576,11 @@ fieldset:disabled .sia-input-number__floating-placeholder {
|
|
|
5576
5576
|
.sia-sortable-list--vertical {
|
|
5577
5577
|
flex-direction: column;
|
|
5578
5578
|
}
|
|
5579
|
+
.sia-sortable-list--wrap {
|
|
5580
|
+
flex-wrap: wrap;
|
|
5581
|
+
align-items: flex-start;
|
|
5582
|
+
align-content: flex-start;
|
|
5583
|
+
}
|
|
5579
5584
|
.sia-sortable-list__item {
|
|
5580
5585
|
position: relative;
|
|
5581
5586
|
flex-shrink: 0;
|
|
@@ -11272,6 +11277,210 @@ button.sia-treemap__tile:focus-visible,
|
|
|
11272
11277
|
transition: none;
|
|
11273
11278
|
}
|
|
11274
11279
|
}
|
|
11280
|
+
.sia-choose-box {
|
|
11281
|
+
position: relative;
|
|
11282
|
+
display: inline-flex;
|
|
11283
|
+
width: 100%;
|
|
11284
|
+
min-width: 0;
|
|
11285
|
+
}
|
|
11286
|
+
.sia-choose-box__trigger.sia-button {
|
|
11287
|
+
width: 100%;
|
|
11288
|
+
min-width: 0;
|
|
11289
|
+
justify-content: flex-start;
|
|
11290
|
+
padding-inline: 10px;
|
|
11291
|
+
gap: 8px;
|
|
11292
|
+
}
|
|
11293
|
+
.sia-choose-box__trigger.sia-button > span:not(.sia-button__icon) {
|
|
11294
|
+
flex: 1;
|
|
11295
|
+
min-width: 0;
|
|
11296
|
+
text-align: left;
|
|
11297
|
+
}
|
|
11298
|
+
.sia-choose-box__trigger.sia-button > .sia-button__icon {
|
|
11299
|
+
flex: 0 0 16px;
|
|
11300
|
+
width: 16px;
|
|
11301
|
+
color: var(--sia-color-text-secondary);
|
|
11302
|
+
}
|
|
11303
|
+
.sia-choose-box__value {
|
|
11304
|
+
display: block;
|
|
11305
|
+
overflow: hidden;
|
|
11306
|
+
text-overflow: ellipsis;
|
|
11307
|
+
white-space: nowrap;
|
|
11308
|
+
}
|
|
11309
|
+
.sia-choose-box--clearable .sia-choose-box__trigger.sia-button > span:not(.sia-button__icon) {
|
|
11310
|
+
padding-right: 26px;
|
|
11311
|
+
}
|
|
11312
|
+
.sia-choose-box__placeholder {
|
|
11313
|
+
color: var(--sia-color-text-secondary);
|
|
11314
|
+
}
|
|
11315
|
+
.sia-choose-box__clear.sia-button {
|
|
11316
|
+
position: absolute;
|
|
11317
|
+
right: 32px;
|
|
11318
|
+
top: 2px;
|
|
11319
|
+
width: 22px;
|
|
11320
|
+
min-width: 0;
|
|
11321
|
+
height: calc(100% - 4px);
|
|
11322
|
+
padding: 0;
|
|
11323
|
+
color: var(--sia-color-text-tertiary);
|
|
11324
|
+
border: 0;
|
|
11325
|
+
}
|
|
11326
|
+
.sia-choose-box__toolbar,
|
|
11327
|
+
.sia-choose-box__path,
|
|
11328
|
+
.sia-choose-box__bottom,
|
|
11329
|
+
.sia-choose-box__selection-tools {
|
|
11330
|
+
display: flex;
|
|
11331
|
+
align-items: center;
|
|
11332
|
+
gap: 8px;
|
|
11333
|
+
}
|
|
11334
|
+
.sia-choose-box__toolbar {
|
|
11335
|
+
flex-wrap: wrap;
|
|
11336
|
+
margin-bottom: 12px;
|
|
11337
|
+
}
|
|
11338
|
+
.sia-choose-box__toolbar > .sia-select {
|
|
11339
|
+
width: 118px;
|
|
11340
|
+
}
|
|
11341
|
+
.sia-choose-box__path {
|
|
11342
|
+
margin-bottom: 12px;
|
|
11343
|
+
}
|
|
11344
|
+
.sia-choose-box__path > :first-child {
|
|
11345
|
+
flex: 2;
|
|
11346
|
+
min-width: 0;
|
|
11347
|
+
}
|
|
11348
|
+
.sia-choose-box__path > :last-child {
|
|
11349
|
+
flex: 1;
|
|
11350
|
+
min-width: 0;
|
|
11351
|
+
}
|
|
11352
|
+
.sia-choose-box__body {
|
|
11353
|
+
display: grid;
|
|
11354
|
+
grid-template-columns: 230px minmax(0, 1fr);
|
|
11355
|
+
height: min(430px, 52vh);
|
|
11356
|
+
border: 1px solid var(--sia-color-border);
|
|
11357
|
+
border-radius: var(--sia-radius);
|
|
11358
|
+
overflow: hidden;
|
|
11359
|
+
}
|
|
11360
|
+
.sia-choose-box__tree {
|
|
11361
|
+
padding: 8px;
|
|
11362
|
+
overflow: auto;
|
|
11363
|
+
border-right: 1px solid var(--sia-color-border);
|
|
11364
|
+
background: color-mix(in srgb, var(--sia-color-control-hover) 55%, var(--sia-color-surface));
|
|
11365
|
+
color: var(--sia-color-text);
|
|
11366
|
+
}
|
|
11367
|
+
.sia-choose-box__content {
|
|
11368
|
+
min-width: 0;
|
|
11369
|
+
overflow: auto;
|
|
11370
|
+
padding: 12px;
|
|
11371
|
+
background: var(--sia-color-surface);
|
|
11372
|
+
color: var(--sia-color-text);
|
|
11373
|
+
}
|
|
11374
|
+
.sia-choose-box__selection-tools {
|
|
11375
|
+
min-height: 30px;
|
|
11376
|
+
margin-bottom: 10px;
|
|
11377
|
+
flex-wrap: wrap;
|
|
11378
|
+
}
|
|
11379
|
+
.sia-choose-box__entries {
|
|
11380
|
+
display: grid;
|
|
11381
|
+
gap: 8px;
|
|
11382
|
+
align-content: start;
|
|
11383
|
+
}
|
|
11384
|
+
.sia-choose-box__entries--grid {
|
|
11385
|
+
grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
|
|
11386
|
+
}
|
|
11387
|
+
.sia-choose-box__entry {
|
|
11388
|
+
position: relative;
|
|
11389
|
+
min-width: 0;
|
|
11390
|
+
padding: 5px;
|
|
11391
|
+
border: 1px solid transparent;
|
|
11392
|
+
border-radius: var(--sia-radius);
|
|
11393
|
+
}
|
|
11394
|
+
.sia-choose-box__entry.is-selected {
|
|
11395
|
+
background: var(--sia-color-primary-light);
|
|
11396
|
+
border-color: var(--sia-color-primary);
|
|
11397
|
+
}
|
|
11398
|
+
.sia-choose-box__entry.is-selected .sia-choose-box__item.sia-button {
|
|
11399
|
+
color: var(--sia-color-primary-text);
|
|
11400
|
+
background: transparent;
|
|
11401
|
+
}
|
|
11402
|
+
.sia-choose-box__entry > .sia-checkbox {
|
|
11403
|
+
position: absolute;
|
|
11404
|
+
top: 5px;
|
|
11405
|
+
left: 5px;
|
|
11406
|
+
z-index: 1;
|
|
11407
|
+
}
|
|
11408
|
+
.sia-choose-box__item.sia-button {
|
|
11409
|
+
width: 100%;
|
|
11410
|
+
height: auto;
|
|
11411
|
+
min-height: 90px;
|
|
11412
|
+
padding: 16px 6px 8px;
|
|
11413
|
+
}
|
|
11414
|
+
.sia-choose-box__item.sia-button > span {
|
|
11415
|
+
display: flex;
|
|
11416
|
+
flex-direction: column;
|
|
11417
|
+
gap: 8px;
|
|
11418
|
+
align-items: center;
|
|
11419
|
+
width: 100%;
|
|
11420
|
+
min-width: 0;
|
|
11421
|
+
}
|
|
11422
|
+
.sia-choose-box__item.sia-button > span > span {
|
|
11423
|
+
max-width: 100%;
|
|
11424
|
+
overflow: hidden;
|
|
11425
|
+
text-overflow: ellipsis;
|
|
11426
|
+
white-space: nowrap;
|
|
11427
|
+
}
|
|
11428
|
+
.sia-choose-box__item .is-directory {
|
|
11429
|
+
color: var(--sia-color-primary-text);
|
|
11430
|
+
}
|
|
11431
|
+
.sia-choose-box__entries--list {
|
|
11432
|
+
grid-template-columns: minmax(0, 1fr);
|
|
11433
|
+
}
|
|
11434
|
+
.sia-choose-box__entries--list .sia-choose-box__entry {
|
|
11435
|
+
display: flex;
|
|
11436
|
+
align-items: center;
|
|
11437
|
+
}
|
|
11438
|
+
.sia-choose-box__entries--list .sia-choose-box__entry > .sia-checkbox {
|
|
11439
|
+
position: static;
|
|
11440
|
+
margin-right: 8px;
|
|
11441
|
+
}
|
|
11442
|
+
.sia-choose-box__entries--list .sia-choose-box__item.sia-button {
|
|
11443
|
+
min-height: 32px;
|
|
11444
|
+
padding: 4px;
|
|
11445
|
+
}
|
|
11446
|
+
.sia-choose-box__entries--list .sia-choose-box__item.sia-button > span {
|
|
11447
|
+
flex-direction: row;
|
|
11448
|
+
}
|
|
11449
|
+
.sia-choose-box__bottom {
|
|
11450
|
+
margin-top: 12px;
|
|
11451
|
+
min-height: 30px;
|
|
11452
|
+
}
|
|
11453
|
+
.sia-choose-box__bottom > span {
|
|
11454
|
+
flex: 1;
|
|
11455
|
+
min-width: 0;
|
|
11456
|
+
overflow: hidden;
|
|
11457
|
+
text-overflow: ellipsis;
|
|
11458
|
+
white-space: nowrap;
|
|
11459
|
+
color: var(--sia-color-text-secondary);
|
|
11460
|
+
}
|
|
11461
|
+
.sia-choose-box__bottom > .sia-select {
|
|
11462
|
+
width: 200px;
|
|
11463
|
+
}
|
|
11464
|
+
.sia-choose-box__error {
|
|
11465
|
+
color: var(--sia-color-error);
|
|
11466
|
+
padding: 8px 0;
|
|
11467
|
+
}
|
|
11468
|
+
.sia-choose-box__empty {
|
|
11469
|
+
color: var(--sia-color-text-secondary);
|
|
11470
|
+
text-align: center;
|
|
11471
|
+
padding-block: 45px;
|
|
11472
|
+
}
|
|
11473
|
+
@media (max-width: 600px) {
|
|
11474
|
+
.sia-choose-box__body {
|
|
11475
|
+
grid-template-columns: 135px minmax(0, 1fr);
|
|
11476
|
+
}
|
|
11477
|
+
.sia-choose-box__path {
|
|
11478
|
+
flex-wrap: wrap;
|
|
11479
|
+
}
|
|
11480
|
+
.sia-choose-box__bottom {
|
|
11481
|
+
flex-wrap: wrap;
|
|
11482
|
+
}
|
|
11483
|
+
}
|
|
11275
11484
|
|
|
11276
11485
|
/* src/title-tooltip.css */
|
|
11277
11486
|
body > .sia-title-tooltip[data-sia-popup-layer] {
|
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, I as FloatingScrollbarProvider, J as FloatingScrollbarProviderProps, M as Icon, N as IconName, O as IconProps, P as IconVariant, Y as Input, Z as InputProps, a4 as MessageConfig, a5 as MessageHandle, a6 as MessageKey, a7 as MessageType, af as Progress, ag as ProgressProps, ah as ProgressStatus, ak as Result, al as ResultProps, am as ResultStatus, an as Segmented, ao as SegmentedOption, ap as SegmentedProps, aq as SegmentedValue, ar as Skeleton, as as SkeletonProps, az as TabItem, aA as Tabs, aC as TabsOrientation, aD as TabsPosition, aE as TabsProps, aF as TabsType, aG as Tag, aH as TagProps, aI as TagSize, T as TagStatus, aJ as TagVariant, aN as Toolbar, aO as ToolbarItem, aP as ToolbarProps, a_ as Typography, a$ as TypographyLinkProps, b0 as TypographyProps, b1 as TypographyTitleProps, b2 as TypographyType, b3 as Upload, b4 as UploadChangeInfo, b5 as UploadDraggerProps, b6 as UploadFile, b7 as UploadFileStatus, ba as UploadProps, be as UploadRequestOptions, bi 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, I as FloatingScrollbarProvider, J as FloatingScrollbarProviderProps, M as Icon, N as IconName, O as IconProps, P as IconVariant, Y as Input, Z as InputProps, a4 as MessageConfig, a5 as MessageHandle, a6 as MessageKey, a7 as MessageType, af as Progress, ag as ProgressProps, ah as ProgressStatus, ak as Result, al as ResultProps, am as ResultStatus, an as Segmented, ao as SegmentedOption, ap as SegmentedProps, aq as SegmentedValue, ar as Skeleton, as as SkeletonProps, az as TabItem, aA as Tabs, aC as TabsOrientation, aD as TabsPosition, aE as TabsProps, aF as TabsType, aG as Tag, aH as TagProps, aI as TagSize, T as TagStatus, aJ as TagVariant, aN as Toolbar, aO as ToolbarItem, aP as ToolbarProps, a_ as Typography, a$ as TypographyLinkProps, b0 as TypographyProps, b1 as TypographyTitleProps, b2 as TypographyType, b3 as Upload, b4 as UploadChangeInfo, b5 as UploadDraggerProps, b6 as UploadFile, b7 as UploadFileStatus, ba as UploadProps, be as UploadRequestOptions, bi as message } from './core-IKk39Mp9.cjs';
|
|
2
2
|
export { b as Button, B as ButtonProps, a as ButtonSize, c as ButtonVariant } from './Button-xLR4Yt57.cjs';
|
|
3
3
|
export { e as Modal, d as ModalActionResult, M as ModalOpenConfig, f as ModalProps, g as ModalType, a as OverlayApiHandle, h as Select, S as SelectOption, c as SelectProps, j as SelectValue } from './Select-DKfT3fJR.cjs';
|
|
4
4
|
import 'react';
|
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, I as FloatingScrollbarProvider, J as FloatingScrollbarProviderProps, M as Icon, N as IconName, O as IconProps, P as IconVariant, Y as Input, Z as InputProps, a4 as MessageConfig, a5 as MessageHandle, a6 as MessageKey, a7 as MessageType, af as Progress, ag as ProgressProps, ah as ProgressStatus, ak as Result, al as ResultProps, am as ResultStatus, an as Segmented, ao as SegmentedOption, ap as SegmentedProps, aq as SegmentedValue, ar as Skeleton, as as SkeletonProps, az as TabItem, aA as Tabs, aC as TabsOrientation, aD as TabsPosition, aE as TabsProps, aF as TabsType, aG as Tag, aH as TagProps, aI as TagSize, T as TagStatus, aJ as TagVariant, aN as Toolbar, aO as ToolbarItem, aP as ToolbarProps, a_ as Typography, a$ as TypographyLinkProps, b0 as TypographyProps, b1 as TypographyTitleProps, b2 as TypographyType, b3 as Upload, b4 as UploadChangeInfo, b5 as UploadDraggerProps, b6 as UploadFile, b7 as UploadFileStatus, ba as UploadProps, be as UploadRequestOptions, bi 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, I as FloatingScrollbarProvider, J as FloatingScrollbarProviderProps, M as Icon, N as IconName, O as IconProps, P as IconVariant, Y as Input, Z as InputProps, a4 as MessageConfig, a5 as MessageHandle, a6 as MessageKey, a7 as MessageType, af as Progress, ag as ProgressProps, ah as ProgressStatus, ak as Result, al as ResultProps, am as ResultStatus, an as Segmented, ao as SegmentedOption, ap as SegmentedProps, aq as SegmentedValue, ar as Skeleton, as as SkeletonProps, az as TabItem, aA as Tabs, aC as TabsOrientation, aD as TabsPosition, aE as TabsProps, aF as TabsType, aG as Tag, aH as TagProps, aI as TagSize, T as TagStatus, aJ as TagVariant, aN as Toolbar, aO as ToolbarItem, aP as ToolbarProps, a_ as Typography, a$ as TypographyLinkProps, b0 as TypographyProps, b1 as TypographyTitleProps, b2 as TypographyType, b3 as Upload, b4 as UploadChangeInfo, b5 as UploadDraggerProps, b6 as UploadFile, b7 as UploadFileStatus, ba as UploadProps, be as UploadRequestOptions, bi as message } from './core-BJ4CiGSl.js';
|
|
2
2
|
export { b as Button, B as ButtonProps, a as ButtonSize, c as ButtonVariant } from './Button-B59TIes7.js';
|
|
3
3
|
export { e as Modal, d as ModalActionResult, M as ModalOpenConfig, f as ModalProps, g as ModalType, a as OverlayApiHandle, h as Select, S as SelectOption, c as SelectProps, j as SelectValue } from './Select-Wolx4zNc.js';
|
|
4
4
|
import 'react';
|
package/dist/core.js
CHANGED
|
@@ -11,21 +11,21 @@ import {
|
|
|
11
11
|
Typography,
|
|
12
12
|
Upload,
|
|
13
13
|
message
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-G5YXOCSY.js";
|
|
15
15
|
import "./chunk-RX242MUO.js";
|
|
16
16
|
import {
|
|
17
17
|
Select
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-HRC6TQTZ.js";
|
|
19
19
|
import {
|
|
20
20
|
Input,
|
|
21
21
|
Segmented
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-J4R734AI.js";
|
|
23
23
|
import "./chunk-NRLIOMXY.js";
|
|
24
24
|
import {
|
|
25
25
|
Icon,
|
|
26
26
|
Modal,
|
|
27
27
|
Skeleton
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-SCVUD2IJ.js";
|
|
29
29
|
import {
|
|
30
30
|
Button
|
|
31
31
|
} from "./chunk-PU2V3VB5.js";
|