@symbo.ls/uikit 2.11.55 → 2.11.65
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 +75 -0
- package/dist/index.cjs.js.map +3 -3
- package/index.js +1 -0
- package/package.json +3 -2
package/dist/index.cjs.js
CHANGED
|
@@ -11435,6 +11435,7 @@ __export(domql_exports, {
|
|
|
11435
11435
|
Dialog: () => Dialog,
|
|
11436
11436
|
DialogFooter: () => DialogFooter,
|
|
11437
11437
|
Direction: () => Direction,
|
|
11438
|
+
DragNdropUser: () => DragNdropUser,
|
|
11438
11439
|
DropdownList: () => DropdownList,
|
|
11439
11440
|
DropdownParent: () => DropdownParent,
|
|
11440
11441
|
Field: () => Field,
|
|
@@ -11498,6 +11499,7 @@ __export(domql_exports, {
|
|
|
11498
11499
|
TooltipParent: () => TooltipParent,
|
|
11499
11500
|
Transform: () => Transform,
|
|
11500
11501
|
Underline: () => Underline,
|
|
11502
|
+
Upload: () => Upload,
|
|
11501
11503
|
Video: () => Video,
|
|
11502
11504
|
XYZ: () => XYZ,
|
|
11503
11505
|
getSystemTheme: () => getSystemTheme,
|
|
@@ -15548,6 +15550,79 @@ var Textarea = {
|
|
|
15548
15550
|
tag: "textarea"
|
|
15549
15551
|
};
|
|
15550
15552
|
|
|
15553
|
+
// Upload/index.js
|
|
15554
|
+
var Upload = {
|
|
15555
|
+
extend: [Focusable, Flex],
|
|
15556
|
+
tag: "label",
|
|
15557
|
+
props: {
|
|
15558
|
+
position: "relative",
|
|
15559
|
+
flow: "column",
|
|
15560
|
+
align: "center center",
|
|
15561
|
+
round: "A",
|
|
15562
|
+
cursor: "pointer",
|
|
15563
|
+
border: "1.6px, dashed, white 0.1",
|
|
15564
|
+
padding: "B B2",
|
|
15565
|
+
input: {
|
|
15566
|
+
position: "absolute",
|
|
15567
|
+
inset: "0 0 0 0",
|
|
15568
|
+
opacity: "0",
|
|
15569
|
+
visibility: "hidden"
|
|
15570
|
+
}
|
|
15571
|
+
},
|
|
15572
|
+
input: { attr: { type: "file" } },
|
|
15573
|
+
icon: {
|
|
15574
|
+
extend: Icon,
|
|
15575
|
+
props: {
|
|
15576
|
+
name: "upload",
|
|
15577
|
+
fontSize: `${26 / 16}em`,
|
|
15578
|
+
opacity: ".2"
|
|
15579
|
+
}
|
|
15580
|
+
},
|
|
15581
|
+
p: {
|
|
15582
|
+
props: {
|
|
15583
|
+
text: " or click and upload from your computer",
|
|
15584
|
+
flexFlow: "column",
|
|
15585
|
+
flexAlign: "center center",
|
|
15586
|
+
opacity: ".22",
|
|
15587
|
+
margin: "0"
|
|
15588
|
+
},
|
|
15589
|
+
span: {
|
|
15590
|
+
text: "Drag and drop your font file",
|
|
15591
|
+
style: { display: "block" }
|
|
15592
|
+
}
|
|
15593
|
+
}
|
|
15594
|
+
};
|
|
15595
|
+
var DragNdropUser = {
|
|
15596
|
+
extend: Flex,
|
|
15597
|
+
props: ({ state }) => ({
|
|
15598
|
+
flow: "column",
|
|
15599
|
+
align: "center center",
|
|
15600
|
+
gap: "A",
|
|
15601
|
+
round: "A",
|
|
15602
|
+
img: { boxSize: "C C", src: state.src },
|
|
15603
|
+
buttons: {
|
|
15604
|
+
gap: "Y",
|
|
15605
|
+
childProps: {
|
|
15606
|
+
padding: "0",
|
|
15607
|
+
boxSize: "B B",
|
|
15608
|
+
background: "gray3",
|
|
15609
|
+
round: "Y1",
|
|
15610
|
+
color: "gray6",
|
|
15611
|
+
style: { "> svg": { fontSize: `${14 / 16}em` } }
|
|
15612
|
+
}
|
|
15613
|
+
}
|
|
15614
|
+
}),
|
|
15615
|
+
img: { extend: Avatar },
|
|
15616
|
+
buttons: {
|
|
15617
|
+
extend: Flex,
|
|
15618
|
+
childExtend: SquareButton,
|
|
15619
|
+
...[
|
|
15620
|
+
{ props: { icon: "reload" } },
|
|
15621
|
+
{ props: { icon: "trash" } }
|
|
15622
|
+
]
|
|
15623
|
+
}
|
|
15624
|
+
};
|
|
15625
|
+
|
|
15551
15626
|
// Label/index.js
|
|
15552
15627
|
var Label = {
|
|
15553
15628
|
extend: Button,
|