@sia.soul/sia-react-ui 0.1.14 → 0.1.17
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-25BU7YTB.js → chunk-G47MREYI.js} +1 -1
- package/dist/{chunk-K3XRTEIO.js → chunk-KJYKC5IV.js} +3 -2
- package/dist/{chunk-R3TYVU53.js → chunk-VXSG4EAO.js} +384 -6
- package/dist/{core-BK8AXc12.d.cts → core-AeKYVPDZ.d.cts} +4 -2
- package/dist/{core-CJK3_KTQ.d.ts → core-DcSXqSRs.d.ts} +4 -2
- package/dist/core.cjs +434 -57
- package/dist/core.css +143 -1
- package/dist/core.d.cts +1 -1
- package/dist/core.d.ts +1 -1
- package/dist/core.js +2 -2
- package/dist/index.cjs +10900 -9802
- package/dist/index.css +143 -1
- package/dist/index.d.cts +59 -5
- package/dist/index.d.ts +59 -5
- package/dist/index.js +1456 -734
- package/dist/select-date-range.cjs +400 -24
- package/dist/select-date-range.js +2 -2
- package/package.json +1 -1
package/dist/core.css
CHANGED
|
@@ -1788,7 +1788,7 @@ fieldset:disabled .sia-input-number__floating-placeholder {
|
|
|
1788
1788
|
display: flex;
|
|
1789
1789
|
flex-direction: column;
|
|
1790
1790
|
width: max-content;
|
|
1791
|
-
min-width: 90px;
|
|
1791
|
+
min-width: min(max(90px, var(--sia-popup-anchor-width, 0px)), calc(100vw - 16px));
|
|
1792
1792
|
padding: 4px;
|
|
1793
1793
|
background: var(--sia-color-surface);
|
|
1794
1794
|
border: 1px solid var(--sia-color-border);
|
|
@@ -4729,6 +4729,148 @@ fieldset:disabled .sia-input-number__floating-placeholder {
|
|
|
4729
4729
|
transition: none;
|
|
4730
4730
|
}
|
|
4731
4731
|
}
|
|
4732
|
+
.sia-query-form {
|
|
4733
|
+
min-width: 0;
|
|
4734
|
+
width: 100%;
|
|
4735
|
+
}
|
|
4736
|
+
.sia-query-form__fields {
|
|
4737
|
+
display: flex;
|
|
4738
|
+
flex-wrap: wrap;
|
|
4739
|
+
align-items: center;
|
|
4740
|
+
gap: 12px;
|
|
4741
|
+
padding-top: 8px;
|
|
4742
|
+
}
|
|
4743
|
+
.sia-query-form__field {
|
|
4744
|
+
flex: 0 1 var(--sia-query-field-width, 220px);
|
|
4745
|
+
width: var(--sia-query-field-width, 220px);
|
|
4746
|
+
min-width: 0;
|
|
4747
|
+
max-width: 100%;
|
|
4748
|
+
}
|
|
4749
|
+
.sia-query-form__field[hidden] {
|
|
4750
|
+
display: none;
|
|
4751
|
+
}
|
|
4752
|
+
.sia-query-form__field > .sia-input-control,
|
|
4753
|
+
.sia-query-form__field > .sia-select,
|
|
4754
|
+
.sia-query-form__field > .sia-picker,
|
|
4755
|
+
.sia-query-form__field > .sia-input-number,
|
|
4756
|
+
.sia-query-form__field > .sia-cascader,
|
|
4757
|
+
.sia-query-form__field > .sia-tree-select,
|
|
4758
|
+
.sia-query-form__field > .sia-select-date-range {
|
|
4759
|
+
width: 100%;
|
|
4760
|
+
}
|
|
4761
|
+
.sia-query-form__field > .sia-space-compact {
|
|
4762
|
+
width: 100%;
|
|
4763
|
+
}
|
|
4764
|
+
.sia-query-form__field > .sia-space-compact > .sia-select {
|
|
4765
|
+
flex: 1;
|
|
4766
|
+
min-width: 0;
|
|
4767
|
+
width: 0;
|
|
4768
|
+
}
|
|
4769
|
+
.sia-query-form__actions {
|
|
4770
|
+
display: flex;
|
|
4771
|
+
align-items: center;
|
|
4772
|
+
flex-wrap: wrap;
|
|
4773
|
+
gap: 6px;
|
|
4774
|
+
}
|
|
4775
|
+
.sia-query-form__quick,
|
|
4776
|
+
.sia-query-form__saved {
|
|
4777
|
+
display: flex;
|
|
4778
|
+
flex-wrap: wrap;
|
|
4779
|
+
align-items: center;
|
|
4780
|
+
gap: 8px;
|
|
4781
|
+
}
|
|
4782
|
+
.sia-query-form__quick {
|
|
4783
|
+
margin-bottom: 8px;
|
|
4784
|
+
}
|
|
4785
|
+
.sia-query-form__saved {
|
|
4786
|
+
margin-top: 10px;
|
|
4787
|
+
}
|
|
4788
|
+
.sia-query-form__saved > .sia-tag {
|
|
4789
|
+
cursor: pointer;
|
|
4790
|
+
}
|
|
4791
|
+
.sia-query-form__saved > .sia-tag.is-active {
|
|
4792
|
+
outline: 1px solid currentColor;
|
|
4793
|
+
}
|
|
4794
|
+
.sia-query-form__saved > .sia-tag:focus-visible {
|
|
4795
|
+
outline: 2px solid var(--sia-color-primary);
|
|
4796
|
+
outline-offset: 2px;
|
|
4797
|
+
}
|
|
4798
|
+
.sia-query-form__saved > .sia-tag--disabled {
|
|
4799
|
+
cursor: not-allowed;
|
|
4800
|
+
}
|
|
4801
|
+
.sia-query-form__error {
|
|
4802
|
+
margin: 8px 0 0;
|
|
4803
|
+
color: var(--sia-color-error);
|
|
4804
|
+
font-size: 13px;
|
|
4805
|
+
}
|
|
4806
|
+
@media (max-width: 600px) {
|
|
4807
|
+
.sia-query-form__field {
|
|
4808
|
+
flex-basis: 100% !important;
|
|
4809
|
+
width: 100% !important;
|
|
4810
|
+
}
|
|
4811
|
+
.sia-query-form__actions {
|
|
4812
|
+
width: 100%;
|
|
4813
|
+
}
|
|
4814
|
+
}
|
|
4815
|
+
.sia-query-form__fields.is-collapsed {
|
|
4816
|
+
flex-wrap: nowrap;
|
|
4817
|
+
overflow-x: auto;
|
|
4818
|
+
padding-bottom: 2px;
|
|
4819
|
+
}
|
|
4820
|
+
.sia-query-form__fields.is-collapsed > .sia-query-form__field {
|
|
4821
|
+
flex: 0 0 auto;
|
|
4822
|
+
}
|
|
4823
|
+
.sia-query-form__fields.is-collapsed > .sia-query-form__actions {
|
|
4824
|
+
flex: 0 0 auto;
|
|
4825
|
+
flex-wrap: nowrap;
|
|
4826
|
+
width: max-content;
|
|
4827
|
+
}
|
|
4828
|
+
@media (max-width: 600px) {
|
|
4829
|
+
.sia-query-form__fields.is-collapsed > .sia-query-form__field {
|
|
4830
|
+
flex-basis: auto !important;
|
|
4831
|
+
width: var(--sia-query-field-width, 220px) !important;
|
|
4832
|
+
}
|
|
4833
|
+
}
|
|
4834
|
+
.sia-query-form__quick > .sia-badge:has(.sia-badge__count) {
|
|
4835
|
+
margin: 5px 12px 2px 0;
|
|
4836
|
+
}
|
|
4837
|
+
.sia-tag--close-on-hover > .sia-tag__close {
|
|
4838
|
+
flex-shrink: 0;
|
|
4839
|
+
width: 0;
|
|
4840
|
+
margin-left: -4px;
|
|
4841
|
+
margin-right: 0;
|
|
4842
|
+
overflow: hidden;
|
|
4843
|
+
opacity: 0;
|
|
4844
|
+
pointer-events: none;
|
|
4845
|
+
transition:
|
|
4846
|
+
width 180ms ease,
|
|
4847
|
+
margin 180ms ease,
|
|
4848
|
+
opacity 180ms ease;
|
|
4849
|
+
}
|
|
4850
|
+
.sia-tag--close-on-hover:not(.sia-tag--disabled):is(:hover, :focus-within) > .sia-tag__close {
|
|
4851
|
+
width: 16px;
|
|
4852
|
+
margin-left: 0;
|
|
4853
|
+
margin-right: -4px;
|
|
4854
|
+
opacity: 1;
|
|
4855
|
+
pointer-events: auto;
|
|
4856
|
+
}
|
|
4857
|
+
@media (hover: none) {
|
|
4858
|
+
.sia-tag--close-on-hover:not(.sia-tag--disabled) > .sia-tag__close {
|
|
4859
|
+
width: 16px;
|
|
4860
|
+
margin-left: 0;
|
|
4861
|
+
margin-right: -4px;
|
|
4862
|
+
opacity: 1;
|
|
4863
|
+
pointer-events: auto;
|
|
4864
|
+
}
|
|
4865
|
+
}
|
|
4866
|
+
@media (prefers-reduced-motion: reduce) {
|
|
4867
|
+
.sia-tag--close-on-hover > .sia-tag__close {
|
|
4868
|
+
transition: none;
|
|
4869
|
+
}
|
|
4870
|
+
}
|
|
4871
|
+
.sia-table-settings__loading {
|
|
4872
|
+
min-height: 160px;
|
|
4873
|
+
}
|
|
4732
4874
|
|
|
4733
4875
|
/* src/components-extra.css */
|
|
4734
4876
|
.sia-flex {
|
package/dist/core.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { g as Breadcrumb, h as BreadcrumbItem, i as BreadcrumbProps, j as Button, B as ButtonProps, b as ButtonSize, k as ButtonVariant, m as Card, n as CardAccent, o as CardProps, s as Collapse, t as CollapseItem, u as CollapseKey, v as CollapseProps, G as FilledIconName, H as FloatButton, I as FloatButtonBackTopProps, J as FloatButtonGroupProps, K as FloatButtonProps, L as FloatButtonShape, Q as Icon, R as IconName, S as IconProps, U as IconVariant, _ as Input, $ as InputProps, a6 as MessageConfig, a7 as MessageHandle, a8 as MessageKey, a9 as MessageType, aa as Modal, ab as ModalActionResult, ac as ModalOpenConfig, ad as ModalProps, ae as ModalType, a as OverlayApiHandle, am as Progress, an as ProgressProps, ao as ProgressStatus, ar as Segmented, as as SegmentedOption, at as SegmentedProps, au as SegmentedValue, aB as TabItem, aC as Tabs, aE as TabsOrientation, aF as TabsPosition, aG as TabsProps, aH as TabsType, aI as Tag, aJ as TagProps, T as TagStatus, aK as TagVariant, aY as Typography, aZ as TypographyLinkProps, a_ as TypographyProps, a$ as TypographyTitleProps, b0 as TypographyType, b1 as Upload, b2 as UploadChangeInfo, b3 as UploadDraggerProps, b4 as UploadFile, b5 as UploadFileStatus, b6 as UploadProps, b7 as UploadRequestOptions, bb as message } from './core-AeKYVPDZ.cjs';
|
|
2
2
|
export { S as Select, c as SelectOption, d as SelectProps, e as SelectValue } from './Select-CVvF4mcy.cjs';
|
|
3
3
|
import 'react';
|
|
4
4
|
import './shared-DAYZvZVu.cjs';
|
package/dist/core.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { g as Breadcrumb, h as BreadcrumbItem, i as BreadcrumbProps, j as Button, B as ButtonProps, b as ButtonSize, k as ButtonVariant, m as Card, n as CardAccent, o as CardProps, s as Collapse, t as CollapseItem, u as CollapseKey, v as CollapseProps, G as FilledIconName, H as FloatButton, I as FloatButtonBackTopProps, J as FloatButtonGroupProps, K as FloatButtonProps, L as FloatButtonShape, Q as Icon, R as IconName, S as IconProps, U as IconVariant, _ as Input, $ as InputProps, a6 as MessageConfig, a7 as MessageHandle, a8 as MessageKey, a9 as MessageType, aa as Modal, ab as ModalActionResult, ac as ModalOpenConfig, ad as ModalProps, ae as ModalType, a as OverlayApiHandle, am as Progress, an as ProgressProps, ao as ProgressStatus, ar as Segmented, as as SegmentedOption, at as SegmentedProps, au as SegmentedValue, aB as TabItem, aC as Tabs, aE as TabsOrientation, aF as TabsPosition, aG as TabsProps, aH as TabsType, aI as Tag, aJ as TagProps, T as TagStatus, aK as TagVariant, aY as Typography, aZ as TypographyLinkProps, a_ as TypographyProps, a$ as TypographyTitleProps, b0 as TypographyType, b1 as Upload, b2 as UploadChangeInfo, b3 as UploadDraggerProps, b4 as UploadFile, b5 as UploadFileStatus, b6 as UploadProps, b7 as UploadRequestOptions, bb as message } from './core-DcSXqSRs.js';
|
|
2
2
|
export { S as Select, c as SelectOption, d as SelectProps, e as SelectValue } from './Select-Ce2Irbpt.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import './shared-DAYZvZVu.js';
|
package/dist/core.js
CHANGED
|
@@ -9,12 +9,12 @@ import {
|
|
|
9
9
|
Typography,
|
|
10
10
|
Upload,
|
|
11
11
|
message
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-KJYKC5IV.js";
|
|
13
13
|
import "./chunk-YT6E3X2K.js";
|
|
14
14
|
import {
|
|
15
15
|
Modal,
|
|
16
16
|
Select
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-VXSG4EAO.js";
|
|
18
18
|
import {
|
|
19
19
|
Icon,
|
|
20
20
|
Input,
|