@fox-js/foxui 4.0.1-83 → 4.0.1-85
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/index.cjs.js +2 -2
- package/dist/index.esm.js +9400 -9213
- package/dist/index.umd.js +2 -2
- package/dist/style.css +21 -9
- package/dist/style.js +1 -1
- package/dist/types/index.d.ts +40 -4
- package/package.json +1 -1
package/dist/style.css
CHANGED
|
@@ -615,11 +615,11 @@
|
|
|
615
615
|
}
|
|
616
616
|
|
|
617
617
|
.fox-item {
|
|
618
|
-
width: var(--fox-input-item-width
|
|
618
|
+
width: var(--fox-input-item-width);
|
|
619
619
|
min-width: var(--fox-input-item-min-width, 0);
|
|
620
620
|
max-width: var(--fox-input-item-max-width);
|
|
621
|
-
padding: var(--fox-input-item-padding
|
|
622
|
-
margin: var(--fox-input-item-margin
|
|
621
|
+
padding: var(--fox-input-item-padding);
|
|
622
|
+
margin: var(--fox-input-item-margin);
|
|
623
623
|
background: var(--fox-input-item-background-color);
|
|
624
624
|
box-sizing: border-box;
|
|
625
625
|
float: left;
|
|
@@ -784,8 +784,8 @@
|
|
|
784
784
|
}
|
|
785
785
|
|
|
786
786
|
.fox-row-item {
|
|
787
|
-
padding: var(--fox-input-item-padding
|
|
788
|
-
margin: var(--fox-input-item-margin
|
|
787
|
+
padding: var(--fox-input-item-padding);
|
|
788
|
+
margin: var(--fox-input-item-margin);
|
|
789
789
|
border: none;
|
|
790
790
|
flex-flow: row;
|
|
791
791
|
align-items: center;
|
|
@@ -1623,6 +1623,8 @@
|
|
|
1623
1623
|
flex: none;
|
|
1624
1624
|
transition-property: color, border-color, background-color;
|
|
1625
1625
|
transition-duration: .3s;
|
|
1626
|
+
width: var(--fox-actionsheet-list-item-icon-size, 16px) !important;
|
|
1627
|
+
height: var(--fox-actionsheet-list-item-icon-size, 16px) !important;
|
|
1626
1628
|
}
|
|
1627
1629
|
|
|
1628
1630
|
.fox-actionsheet__list-item.is-checked .fox-actionsheet__list-item-icon {
|
|
@@ -1642,6 +1644,16 @@
|
|
|
1642
1644
|
display: flex;
|
|
1643
1645
|
}
|
|
1644
1646
|
|
|
1647
|
+
.fox-actionsheet__footer-confirm {
|
|
1648
|
+
height: var(--fox-actionsheet-footer-button-height, 36px);
|
|
1649
|
+
width: var(--fox-actionsheet-footer-button-min-width, 100%);
|
|
1650
|
+
color: var(--fox-white, #fff);
|
|
1651
|
+
text-align: center;
|
|
1652
|
+
line-height: var(--fox-actionsheet-footer-button-height, 36px);
|
|
1653
|
+
border-radius: 22px;
|
|
1654
|
+
margin: 10px 18px;
|
|
1655
|
+
}
|
|
1656
|
+
|
|
1645
1657
|
.fox-actionsheet-item {
|
|
1646
1658
|
width: 100%;
|
|
1647
1659
|
}
|
|
@@ -2163,6 +2175,10 @@
|
|
|
2163
2175
|
}
|
|
2164
2176
|
}
|
|
2165
2177
|
|
|
2178
|
+
.fox-tabs-pane.is-no-transition {
|
|
2179
|
+
width: 100%;
|
|
2180
|
+
}
|
|
2181
|
+
|
|
2166
2182
|
.fox-tabs-frame {
|
|
2167
2183
|
box-sizing: border-box;
|
|
2168
2184
|
display: grid;
|
|
@@ -5198,10 +5214,6 @@
|
|
|
5198
5214
|
line-height: 46px;
|
|
5199
5215
|
}
|
|
5200
5216
|
|
|
5201
|
-
.fox-theme-dark .fox-tab-pane {
|
|
5202
|
-
background: var(--fox-dark-background2, #1b1b1b);
|
|
5203
|
-
}
|
|
5204
|
-
|
|
5205
5217
|
.fox-tab-pane {
|
|
5206
5218
|
box-sizing: border-box;
|
|
5207
5219
|
word-break: break-all;
|
package/dist/style.js
CHANGED
package/dist/types/index.d.ts
CHANGED
|
@@ -155,6 +155,13 @@ export declare interface BroadcastCallback {
|
|
|
155
155
|
*/
|
|
156
156
|
export declare const BroadcastKey: unique symbol;
|
|
157
157
|
|
|
158
|
+
/**
|
|
159
|
+
* 浏览模式属性
|
|
160
|
+
* @param source
|
|
161
|
+
* @returns
|
|
162
|
+
*/
|
|
163
|
+
export declare function browseProperty(source: Ref): Ref<'on' | 'off'>;
|
|
164
|
+
|
|
158
165
|
export declare function cancelRaf(id: number): void;
|
|
159
166
|
|
|
160
167
|
/**
|
|
@@ -835,6 +842,21 @@ export declare function defineDataItem(domain: Domain, name: string, descriptor:
|
|
|
835
842
|
*/
|
|
836
843
|
export declare function defineDomain(name: string | null, props: Record<string, any>, ignores?: any[], exposes?: Record<string, BroadcastCallback>): Domain;
|
|
837
844
|
|
|
845
|
+
/**
|
|
846
|
+
* 定义domain item属性
|
|
847
|
+
*/
|
|
848
|
+
export declare function defineDomainItemProperty(props: {
|
|
849
|
+
disabled?: boolean | string;
|
|
850
|
+
readonly?: boolean | string;
|
|
851
|
+
browse?: 'off' | 'on';
|
|
852
|
+
}): {
|
|
853
|
+
innerDisabled: Ref<boolean, boolean>;
|
|
854
|
+
disabled: Ref<boolean, boolean>;
|
|
855
|
+
innerReadonly: Ref<boolean, boolean>;
|
|
856
|
+
readonly: Ref<boolean, boolean>;
|
|
857
|
+
browse: Ref<"on" | "off", "on" | "off">;
|
|
858
|
+
};
|
|
859
|
+
|
|
838
860
|
/**
|
|
839
861
|
* 定义domain item
|
|
840
862
|
* @returns
|
|
@@ -936,7 +958,7 @@ declare type Direction = '' | 'vertical' | 'horizontal';
|
|
|
936
958
|
* 禁用属性
|
|
937
959
|
* @param source
|
|
938
960
|
*/
|
|
939
|
-
export declare function disabledProperty(source: Ref): Ref
|
|
961
|
+
export declare function disabledProperty(source: Ref): Ref<boolean>;
|
|
940
962
|
|
|
941
963
|
export { divide }
|
|
942
964
|
|
|
@@ -1586,6 +1608,13 @@ export declare function isTouch(): boolean;
|
|
|
1586
1608
|
*/
|
|
1587
1609
|
export declare function isWindow(obj: any): boolean;
|
|
1588
1610
|
|
|
1611
|
+
/**
|
|
1612
|
+
* 中划线格式转换为大驼峰
|
|
1613
|
+
* @param str
|
|
1614
|
+
* @returns
|
|
1615
|
+
*/
|
|
1616
|
+
export declare function kebabToPascal(str: string): string;
|
|
1617
|
+
|
|
1589
1618
|
/**
|
|
1590
1619
|
* 获取对应元素的在数组中最后一个匹配的索引
|
|
1591
1620
|
* @param x
|
|
@@ -1807,6 +1836,13 @@ export declare interface PageState {
|
|
|
1807
1836
|
footerMounted?: boolean;
|
|
1808
1837
|
}
|
|
1809
1838
|
|
|
1839
|
+
/**
|
|
1840
|
+
* 大驼峰转换为中划线
|
|
1841
|
+
* @param str
|
|
1842
|
+
* @returns
|
|
1843
|
+
*/
|
|
1844
|
+
export declare function pascalToKebab<T extends string>(str: string): string;
|
|
1845
|
+
|
|
1810
1846
|
/**
|
|
1811
1847
|
* 持久消息
|
|
1812
1848
|
*/
|
|
@@ -1846,7 +1882,7 @@ export declare enum PriorityPolicy {
|
|
|
1846
1882
|
* @param policy
|
|
1847
1883
|
* @param filter
|
|
1848
1884
|
*/
|
|
1849
|
-
export declare function property(source: Ref, name: string, policy?: PriorityPolicy, filter?: AcceptFilter): Ref
|
|
1885
|
+
export declare function property<T>(source: Ref, name: string, policy?: PriorityPolicy, filter?: AcceptFilter): Ref<T>;
|
|
1850
1886
|
|
|
1851
1887
|
/**
|
|
1852
1888
|
* 设置虚拟页面范围
|
|
@@ -1875,7 +1911,7 @@ export declare const raf: any;
|
|
|
1875
1911
|
* 只读属性
|
|
1876
1912
|
* @param source
|
|
1877
1913
|
*/
|
|
1878
|
-
export declare function readonlyProperty(source: Ref): Ref
|
|
1914
|
+
export declare function readonlyProperty(source: Ref): Ref<boolean>;
|
|
1879
1915
|
|
|
1880
1916
|
export declare interface Rect {
|
|
1881
1917
|
top: number;
|
|
@@ -2372,7 +2408,7 @@ export declare class ValidateSchema {
|
|
|
2372
2408
|
export declare const ValidateSchemaKey: unique symbol;
|
|
2373
2409
|
|
|
2374
2410
|
/**
|
|
2375
|
-
* value
|
|
2411
|
+
* value 格式化
|
|
2376
2412
|
*/
|
|
2377
2413
|
export declare interface ValueFormat<T, K> {
|
|
2378
2414
|
(value: T): K;
|