@sia.soul/sia-react-ui 0.1.35 → 0.1.37
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-BR2SD6RD.js → chunk-6TLANQVX.js} +2 -2
- package/dist/{chunk-Z63VYNCR.js → chunk-DQ7WGTKA.js} +306 -141
- package/dist/{chunk-HOU5JLNJ.js → chunk-XCVAVCIO.js} +11 -0
- package/dist/{chunk-MHUYOGCG.js → chunk-ZDC7PMZN.js} +1 -1
- package/dist/{chunk-QAVQEBIS.js → chunk-ZTJUFVJO.js} +1 -1
- package/dist/{core-_Qemc1Z1.d.cts → core-BzBVS9md.d.cts} +23 -8
- package/dist/{core-BHKtSaTU.d.ts → core-CBURAp9W.d.ts} +23 -8
- package/dist/core.cjs +314 -138
- package/dist/core.css +125 -28
- package/dist/core.d.cts +1 -1
- package/dist/core.d.ts +1 -1
- package/dist/core.js +3 -3
- package/dist/index.cjs +400 -224
- package/dist/index.css +125 -28
- package/dist/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +7 -7
- package/dist/rich-text-editor.cjs +11 -0
- package/dist/rich-text-editor.js +2 -2
- package/dist/select-date-range.cjs +11 -0
- package/dist/select-date-range.js +3 -3
- package/package.json +1 -1
package/dist/core.css
CHANGED
|
@@ -7119,16 +7119,24 @@ fieldset:disabled .sia-input-number__floating-placeholder {
|
|
|
7119
7119
|
grid-column: 2 / -1;
|
|
7120
7120
|
font-size: 12px;
|
|
7121
7121
|
}
|
|
7122
|
-
.sia-
|
|
7122
|
+
.sia-upload__actions {
|
|
7123
|
+
display: inline-flex;
|
|
7123
7124
|
grid-column: 3;
|
|
7124
7125
|
grid-row: 1;
|
|
7125
|
-
|
|
7126
|
-
|
|
7126
|
+
align-items: center;
|
|
7127
|
+
gap: 2px;
|
|
7128
|
+
flex: 0 0 auto;
|
|
7129
|
+
}
|
|
7130
|
+
.sia-upload__actions > .sia-button {
|
|
7131
|
+
width: 26px;
|
|
7132
|
+
height: 26px;
|
|
7133
|
+
min-width: 0;
|
|
7134
|
+
padding: 0;
|
|
7127
7135
|
}
|
|
7128
7136
|
.sia-upload__item--error {
|
|
7129
7137
|
border-color: var(--sia-color-error);
|
|
7130
7138
|
}
|
|
7131
|
-
.sia-upload__item--error
|
|
7139
|
+
.sia-upload__item--error .sia-upload__remove {
|
|
7132
7140
|
color: var(--sia-color-error);
|
|
7133
7141
|
}
|
|
7134
7142
|
.sia-upload__thumbnail.sia-button {
|
|
@@ -7177,8 +7185,8 @@ fieldset:disabled .sia-input-number__floating-placeholder {
|
|
|
7177
7185
|
.sia-upload--picture-card .sia-upload__item,
|
|
7178
7186
|
.sia-upload--picture-card .sia-upload__choose {
|
|
7179
7187
|
box-sizing: border-box;
|
|
7180
|
-
width: 112px;
|
|
7181
|
-
height: 112px;
|
|
7188
|
+
width: var(--sia-upload-card-width, 112px);
|
|
7189
|
+
height: var(--sia-upload-card-height, 112px);
|
|
7182
7190
|
border: 1px solid var(--sia-color-border);
|
|
7183
7191
|
border-radius: 9px;
|
|
7184
7192
|
}
|
|
@@ -7188,7 +7196,7 @@ fieldset:disabled .sia-input-number__floating-placeholder {
|
|
|
7188
7196
|
justify-content: center;
|
|
7189
7197
|
padding: 8px;
|
|
7190
7198
|
gap: 4px;
|
|
7191
|
-
overflow:
|
|
7199
|
+
overflow: visible;
|
|
7192
7200
|
}
|
|
7193
7201
|
.sia-upload--picture-card .sia-upload__choose {
|
|
7194
7202
|
display: flex;
|
|
@@ -7208,6 +7216,7 @@ fieldset:disabled .sia-input-number__floating-placeholder {
|
|
|
7208
7216
|
height: 70px;
|
|
7209
7217
|
min-height: 0;
|
|
7210
7218
|
flex: 1 1 auto;
|
|
7219
|
+
overflow: hidden;
|
|
7211
7220
|
}
|
|
7212
7221
|
.sia-upload--picture-card .sia-upload__name {
|
|
7213
7222
|
display: block;
|
|
@@ -7216,18 +7225,50 @@ fieldset:disabled .sia-input-number__floating-placeholder {
|
|
|
7216
7225
|
font-size: 12px;
|
|
7217
7226
|
flex: 0 0 auto;
|
|
7218
7227
|
}
|
|
7219
|
-
.sia-upload--picture-card .sia-
|
|
7228
|
+
.sia-upload--picture-card .sia-upload__actions {
|
|
7220
7229
|
position: absolute;
|
|
7221
|
-
|
|
7222
|
-
top:
|
|
7230
|
+
z-index: 1;
|
|
7231
|
+
top: 50%;
|
|
7232
|
+
left: 50%;
|
|
7233
|
+
width: max-content;
|
|
7234
|
+
justify-content: center;
|
|
7235
|
+
padding: 3px;
|
|
7236
|
+
border-radius: 6px;
|
|
7223
7237
|
background: var(--sia-color-surface);
|
|
7224
|
-
|
|
7238
|
+
box-shadow: 0 2px 8px rgb(0 0 0 / 15%);
|
|
7225
7239
|
opacity: 0;
|
|
7226
|
-
|
|
7240
|
+
pointer-events: none;
|
|
7241
|
+
transform: translate(-50%, -50%);
|
|
7242
|
+
transition: opacity 150ms ease;
|
|
7227
7243
|
}
|
|
7228
|
-
.sia-upload--picture-card .sia-upload__item:hover .sia-
|
|
7229
|
-
.sia-upload--picture-card .sia-upload__item:focus-
|
|
7244
|
+
.sia-upload--picture-card .sia-upload__item:hover .sia-upload__actions,
|
|
7245
|
+
.sia-upload--picture-card .sia-upload__item:has(:focus-visible) .sia-upload__actions {
|
|
7230
7246
|
opacity: 1;
|
|
7247
|
+
pointer-events: auto;
|
|
7248
|
+
}
|
|
7249
|
+
.sia-upload--picture-card .sia-upload__item:hover,
|
|
7250
|
+
.sia-upload--picture-card .sia-upload__item:has(:focus-visible) {
|
|
7251
|
+
z-index: 2;
|
|
7252
|
+
}
|
|
7253
|
+
.sia-upload--compact-card .sia-upload__name,
|
|
7254
|
+
.sia-upload--compact-card .sia-upload__choose > span > span:not(.sia-icon) {
|
|
7255
|
+
display: none;
|
|
7256
|
+
}
|
|
7257
|
+
.sia-upload--compact-card .sia-upload__choose > span {
|
|
7258
|
+
gap: 0;
|
|
7259
|
+
}
|
|
7260
|
+
.sia-upload--compact-card .sia-upload__error {
|
|
7261
|
+
position: absolute;
|
|
7262
|
+
inset: auto 0 0;
|
|
7263
|
+
border-radius: 0 0 8px 8px;
|
|
7264
|
+
text-align: center;
|
|
7265
|
+
background: var(--sia-color-surface);
|
|
7266
|
+
}
|
|
7267
|
+
.sia-upload--compact-card .sia-upload__uploading {
|
|
7268
|
+
padding: 4px;
|
|
7269
|
+
gap: 4px;
|
|
7270
|
+
font-size: 10px;
|
|
7271
|
+
border-radius: inherit;
|
|
7231
7272
|
}
|
|
7232
7273
|
.sia-upload--picture-card .sia-upload__item--error {
|
|
7233
7274
|
border-color: var(--sia-color-error);
|
|
@@ -7272,8 +7313,14 @@ fieldset:disabled .sia-input-number__floating-placeholder {
|
|
|
7272
7313
|
cursor: not-allowed;
|
|
7273
7314
|
}
|
|
7274
7315
|
@media (hover: none) {
|
|
7275
|
-
.sia-upload--picture-card .sia-
|
|
7316
|
+
.sia-upload--picture-card .sia-upload__actions {
|
|
7276
7317
|
opacity: 1;
|
|
7318
|
+
pointer-events: auto;
|
|
7319
|
+
}
|
|
7320
|
+
}
|
|
7321
|
+
@media (prefers-reduced-motion: reduce) {
|
|
7322
|
+
.sia-upload--picture-card .sia-upload__actions {
|
|
7323
|
+
transition: none;
|
|
7277
7324
|
}
|
|
7278
7325
|
}
|
|
7279
7326
|
.sia-form > fieldset {
|
|
@@ -7295,7 +7342,7 @@ fieldset:disabled .sia-input-number__floating-placeholder {
|
|
|
7295
7342
|
text-align: right;
|
|
7296
7343
|
line-height: 1.45;
|
|
7297
7344
|
}
|
|
7298
|
-
.sia-form-
|
|
7345
|
+
.sia-form-item__required-mark {
|
|
7299
7346
|
margin-right: 4px;
|
|
7300
7347
|
color: var(--sia-color-error);
|
|
7301
7348
|
}
|
|
@@ -8845,31 +8892,81 @@ button.sia-pagination__total:disabled {
|
|
|
8845
8892
|
position: fixed;
|
|
8846
8893
|
z-index: 1500;
|
|
8847
8894
|
inset: 0;
|
|
8848
|
-
|
|
8849
|
-
place-items: center;
|
|
8850
|
-
padding: 56px;
|
|
8895
|
+
box-sizing: border-box;
|
|
8851
8896
|
background: rgb(0 0 0 / 78%);
|
|
8852
8897
|
animation: sia-fade-in 180ms ease;
|
|
8853
8898
|
}
|
|
8854
|
-
.sia-image-
|
|
8855
|
-
max-width: 100%;
|
|
8856
|
-
max-height: 100%;
|
|
8857
|
-
object-fit: contain;
|
|
8858
|
-
}
|
|
8859
|
-
.sia-image-preview > button {
|
|
8899
|
+
.sia-image-preview__stage {
|
|
8860
8900
|
position: absolute;
|
|
8861
|
-
|
|
8862
|
-
right: 18px;
|
|
8901
|
+
inset: 64px 24px 92px;
|
|
8863
8902
|
display: grid;
|
|
8903
|
+
grid-template: minmax(0, 1fr) / minmax(0, 1fr);
|
|
8864
8904
|
place-items: center;
|
|
8905
|
+
overflow: hidden;
|
|
8906
|
+
}
|
|
8907
|
+
.sia-image-preview__stage > img {
|
|
8908
|
+
display: block;
|
|
8909
|
+
max-width: none;
|
|
8910
|
+
max-height: none;
|
|
8911
|
+
object-fit: contain;
|
|
8912
|
+
user-select: none;
|
|
8913
|
+
touch-action: none;
|
|
8914
|
+
cursor: grab;
|
|
8915
|
+
}
|
|
8916
|
+
.sia-image-preview__stage > img:active {
|
|
8917
|
+
cursor: grabbing;
|
|
8918
|
+
}
|
|
8919
|
+
.sia-image-preview .sia-image-preview__close {
|
|
8920
|
+
position: absolute;
|
|
8921
|
+
top: 16px;
|
|
8922
|
+
right: 16px;
|
|
8865
8923
|
width: 38px;
|
|
8866
8924
|
height: 38px;
|
|
8925
|
+
padding: 0;
|
|
8867
8926
|
color: #fff;
|
|
8868
|
-
cursor: pointer;
|
|
8869
8927
|
background: rgb(255 255 255 / 12%);
|
|
8870
8928
|
border: 0;
|
|
8871
8929
|
border-radius: 50%;
|
|
8872
8930
|
}
|
|
8931
|
+
.sia-image-preview__toolbar {
|
|
8932
|
+
position: absolute;
|
|
8933
|
+
bottom: 24px;
|
|
8934
|
+
left: 50%;
|
|
8935
|
+
display: flex;
|
|
8936
|
+
box-sizing: border-box;
|
|
8937
|
+
align-items: center;
|
|
8938
|
+
gap: 6px;
|
|
8939
|
+
max-width: calc(100% - 24px);
|
|
8940
|
+
padding: 6px 12px;
|
|
8941
|
+
border-radius: 28px;
|
|
8942
|
+
background: rgb(45 45 45 / 90%);
|
|
8943
|
+
transform: translateX(-50%);
|
|
8944
|
+
}
|
|
8945
|
+
.sia-image-preview__scale {
|
|
8946
|
+
flex: 0 0 48px;
|
|
8947
|
+
color: #fff;
|
|
8948
|
+
text-align: center;
|
|
8949
|
+
font-size: 14px;
|
|
8950
|
+
font-variant-numeric: tabular-nums;
|
|
8951
|
+
white-space: nowrap;
|
|
8952
|
+
}
|
|
8953
|
+
.sia-image-preview__toolbar > .sia-button {
|
|
8954
|
+
flex: 0 1 36px;
|
|
8955
|
+
width: 36px;
|
|
8956
|
+
min-width: 0;
|
|
8957
|
+
height: 36px;
|
|
8958
|
+
padding: 0;
|
|
8959
|
+
color: #fff;
|
|
8960
|
+
}
|
|
8961
|
+
.sia-image-preview__toolbar > .sia-button:hover:not(:disabled) {
|
|
8962
|
+
background: rgb(255 255 255 / 16%);
|
|
8963
|
+
}
|
|
8964
|
+
.sia-image-preview__toolbar > .sia-button:disabled {
|
|
8965
|
+
color: rgb(255 255 255 / 30%);
|
|
8966
|
+
}
|
|
8967
|
+
.sia-image-preview__error {
|
|
8968
|
+
color: #fff;
|
|
8969
|
+
}
|
|
8873
8970
|
body > .sia-popup-portal[data-sia-popup-layer] {
|
|
8874
8971
|
position: fixed;
|
|
8875
8972
|
z-index: 1080;
|
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-BzBVS9md.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-CBURAp9W.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,17 +10,17 @@ import {
|
|
|
10
10
|
Typography,
|
|
11
11
|
Upload,
|
|
12
12
|
message
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-DQ7WGTKA.js";
|
|
14
14
|
import "./chunk-SMCYEPBL.js";
|
|
15
15
|
import {
|
|
16
16
|
Modal,
|
|
17
17
|
Select
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-ZTJUFVJO.js";
|
|
19
19
|
import {
|
|
20
20
|
Icon,
|
|
21
21
|
Input,
|
|
22
22
|
Segmented
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-XCVAVCIO.js";
|
|
24
24
|
import {
|
|
25
25
|
Button
|
|
26
26
|
} from "./chunk-IKAMZNCK.js";
|