@functionalui/functionalui 0.2.1 → 0.2.3
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/Avatar-BK9MFMsZ.cjs +1 -0
- package/dist/Avatar-CQA0mEVW.js +118 -0
- package/dist/Button-CpTXDsI7.js +215 -0
- package/dist/Button-rg5gSHcQ.cjs +1 -0
- package/dist/Checkbox-BHpT6PHl.cjs +1 -0
- package/dist/Checkbox-C29jP71p.js +96 -0
- package/dist/GlobalEventContext-D9ug9s1O.cjs +1 -0
- package/dist/GlobalEventContext-DUmT3Vay.js +49 -0
- package/dist/GlobalEventPortal-BIdCGd-m.cjs +1 -0
- package/dist/GlobalEventPortal-GjfUDr2B.js +17 -0
- package/dist/LabelText-BUslE9cx.cjs +1 -0
- package/dist/LabelText-D7QIWtWj.js +35 -0
- package/dist/Modal-BRIYhcOg.cjs +3 -0
- package/dist/Modal-DXLyt-j4.js +1290 -0
- package/dist/SpringEnterOffsetBy-BVN6rm57.cjs +1 -0
- package/dist/SpringEnterOffsetBy-DMSIQgV3.js +56 -0
- package/dist/TableHeader-BAdYoCbb.cjs +1 -0
- package/dist/TableHeader-Da0XxILB.js +103 -0
- package/dist/TableRow-BlJSvake.js +90 -0
- package/dist/TableRow-Bq58CTbU.cjs +1 -0
- package/dist/TagColor-BYKxfOU6.js +957 -0
- package/dist/TagColor-QGINp77p.cjs +1 -0
- package/dist/UIcon-B5rpDmHC.cjs +1 -0
- package/dist/UIcon-BHzbeYWw.js +245 -0
- package/dist/_commonjsHelpers-C6fGbg64.js +6 -0
- package/dist/_commonjsHelpers-DwGv2jUC.cjs +1 -0
- package/dist/admonition/index.cjs +1 -0
- package/dist/admonition/index.d.ts +27 -0
- package/dist/admonition/index.mjs +88 -0
- package/dist/avatar/index.cjs +1 -0
- package/dist/avatar/index.d.ts +115 -0
- package/dist/avatar/index.mjs +4 -0
- package/dist/avatar-group/index.cjs +1 -0
- package/dist/avatar-group/index.d.ts +120 -0
- package/dist/avatar-group/index.mjs +52 -0
- package/dist/button/index.cjs +1 -0
- package/dist/button/index.d.ts +249 -0
- package/dist/button/index.mjs +4 -0
- package/dist/checkbox/index.cjs +1 -0
- package/dist/checkbox/index.d.ts +32 -0
- package/dist/checkbox/index.mjs +4 -0
- package/dist/checkboxes/index.cjs +1 -0
- package/dist/checkboxes/index.d.ts +38 -0
- package/dist/checkboxes/index.mjs +80 -0
- package/dist/chip/index.cjs +1 -0
- package/dist/chip/index.d.ts +159 -0
- package/dist/chip/index.mjs +132 -0
- package/dist/classes-CBD1K4L1.js +779 -0
- package/dist/classes-CVxy1f4M.js +137 -0
- package/dist/classes-CtwIjJdw.cjs +1 -0
- package/dist/classes-HsjFV5aN.cjs +1 -0
- package/dist/color-picker/index.cjs +1 -0
- package/dist/color-picker/index.d.ts +14 -0
- package/dist/color-picker/index.mjs +234 -0
- package/dist/component-B1mkowwk.cjs +1 -0
- package/dist/component-B6F6g6i4.cjs +1 -0
- package/dist/component-BbvCmqLI.cjs +1 -0
- package/dist/component-Bh3EPTN0.cjs +1 -0
- package/dist/component-BvHdlcdE.js +9 -0
- package/dist/component-C1Gs4nVu.js +55 -0
- package/dist/component-CBIQe7z5.js +29 -0
- package/dist/component-CW2JPBAq.js +59 -0
- package/dist/component-D-EEi7NI.cjs +1 -0
- package/dist/component-D0wwK4KY.js +9 -0
- package/dist/component-D5nxKQnT.js +55 -0
- package/dist/component-D92LT0Mq.cjs +1 -0
- package/dist/component-DCHO9d6d.js +55 -0
- package/dist/component-DRXQXr2G.js +36 -0
- package/dist/component-D_igOAz3.cjs +1 -0
- package/dist/component-DdQu0mLI.js +31 -0
- package/dist/component-FS_2VwVz.cjs +1 -0
- package/dist/component-JigdcRMd.cjs +1 -0
- package/dist/container/index.cjs +1 -0
- package/dist/container/index.d.ts +238 -0
- package/dist/container/index.mjs +4 -0
- package/dist/contexts/notifications/index.cjs +1 -0
- package/dist/contexts/notifications/index.d.ts +2 -0
- package/dist/contexts/notifications/index.mjs +6 -0
- package/dist/contexts/ui/index.cjs +1 -0
- package/dist/contexts/ui/index.d.ts +2 -0
- package/dist/contexts/ui/index.mjs +35 -0
- package/dist/createTextElement-Cgrvdwvh.js +32 -0
- package/dist/createTextElement-DITFvK9p.cjs +1 -0
- package/dist/css/index.cjs +1 -0
- package/dist/css/index.css +1 -0
- package/dist/css/index.d.ts +1 -0
- package/dist/css/index.mjs +1 -0
- package/dist/div-measure/index.cjs +1 -0
- package/dist/div-measure/index.d.ts +13 -0
- package/dist/div-measure/index.mjs +26 -0
- package/dist/feather-sprite.svg +1 -0
- package/dist/gallery-modal/index.cjs +1 -0
- package/dist/gallery-modal/index.d.ts +11 -0
- package/dist/gallery-modal/index.mjs +464 -0
- package/dist/generics-9F1CmKPb.cjs +1 -0
- package/dist/generics-BrMr2-Gs.js +5 -0
- package/dist/generics-C-WSPclF.js +19 -0
- package/dist/generics-D33J7ILI.js +5 -0
- package/dist/generics-DE1oV0MV.cjs +1 -0
- package/dist/generics-nyvJhwQE.cjs +1 -0
- package/dist/global-event-portal/index.cjs +1 -0
- package/dist/global-event-portal/index.d.ts +8 -0
- package/dist/global-event-portal/index.mjs +4 -0
- package/dist/icons/index.cjs +1 -0
- package/dist/icons/index.d.ts +457 -0
- package/dist/icons/index.mjs +5 -0
- package/dist/icons-B8R1UT86.js +147 -0
- package/dist/icons-DSpaHhtT.cjs +1 -0
- package/dist/input-image/index.cjs +1 -0
- package/dist/input-image/index.d.ts +18 -0
- package/dist/input-image/index.mjs +106 -0
- package/dist/input-text/index.cjs +1 -0
- package/dist/input-text/index.d.ts +199 -0
- package/dist/input-text/index.mjs +246 -0
- package/dist/inset-group/index.cjs +1 -0
- package/dist/inset-group/index.d.ts +33 -0
- package/dist/inset-group/index.mjs +105 -0
- package/dist/label-text/index.cjs +1 -0
- package/dist/label-text/index.d.ts +11 -0
- package/dist/label-text/index.mjs +4 -0
- package/dist/layout/index.cjs +1 -0
- package/dist/layout/index.d.ts +163 -0
- package/dist/layout/index.mjs +4 -0
- package/dist/loading-spinner/index.cjs +1 -0
- package/dist/loading-spinner/index.d.ts +33 -0
- package/dist/loading-spinner/index.mjs +101 -0
- package/dist/modal/index.cjs +1 -0
- package/dist/modal/index.d.ts +105 -0
- package/dist/modal/index.mjs +4 -0
- package/dist/notification-system/index.cjs +1 -0
- package/dist/notification-system/index.d.ts +5 -0
- package/dist/notification-system/index.mjs +158 -0
- package/dist/portals/index.cjs +1 -0
- package/dist/portals/index.d.ts +10 -0
- package/dist/portals/index.mjs +4 -0
- package/dist/radio/index.cjs +1 -0
- package/dist/radio/index.d.ts +36 -0
- package/dist/radio/index.mjs +121 -0
- package/dist/react-spring_web.modern-DgQDaJ06.js +2304 -0
- package/dist/react-spring_web.modern-W3Nkoq_6.cjs +1 -0
- package/dist/select-spring/index.cjs +1 -0
- package/dist/select-spring/index.d.ts +70 -0
- package/dist/select-spring/index.mjs +471 -0
- package/dist/spring-enter/index.cjs +1 -0
- package/dist/spring-enter/index.d.ts +16 -0
- package/dist/spring-enter/index.mjs +45 -0
- package/dist/spring-enter-offset-by/index.cjs +1 -0
- package/dist/spring-enter-offset-by/index.d.ts +17 -0
- package/dist/spring-enter-offset-by/index.mjs +5 -0
- package/dist/spring-menu-transition/index.cjs +1 -0
- package/dist/spring-menu-transition/index.d.ts +15 -0
- package/dist/spring-menu-transition/index.mjs +43 -0
- package/dist/spring-open-close-height/index.cjs +1 -0
- package/dist/spring-open-close-height/index.d.ts +9 -0
- package/dist/spring-open-close-height/index.mjs +19 -0
- package/dist/styled/button/index.cjs +1 -0
- package/dist/styled/button/index.d.ts +2 -0
- package/dist/styled/button/index.mjs +4 -0
- package/dist/styled/inputs/text/index.cjs +1 -0
- package/dist/styled/inputs/text/index.d.ts +2 -0
- package/dist/styled/inputs/text/index.mjs +4 -0
- package/dist/styled/inputs/text-area/index.cjs +1 -0
- package/dist/styled/inputs/text-area/index.d.ts +2 -0
- package/dist/styled/inputs/text-area/index.mjs +4 -0
- package/dist/styled/li/index.cjs +1 -0
- package/dist/styled/li/index.d.ts +2 -0
- package/dist/styled/li/index.mjs +4 -0
- package/dist/styled/ul/index.cjs +1 -0
- package/dist/styled/ul/index.d.ts +2 -0
- package/dist/styled/ul/index.mjs +4 -0
- package/dist/table-grid/index.cjs +1 -0
- package/dist/table-grid/index.d.ts +70 -0
- package/dist/table-grid/index.mjs +49 -0
- package/dist/table-header/index.cjs +1 -0
- package/dist/table-header/index.d.ts +53 -0
- package/dist/table-header/index.mjs +4 -0
- package/dist/table-row/index.cjs +1 -0
- package/dist/table-row/index.d.ts +54 -0
- package/dist/table-row/index.mjs +4 -0
- package/dist/tabs/index.cjs +1 -0
- package/dist/tabs/index.d.ts +21 -0
- package/dist/tabs/index.mjs +134 -0
- package/dist/tag-color/index.cjs +1 -0
- package/dist/tag-color/index.d.ts +104 -0
- package/dist/tag-color/index.mjs +4 -0
- package/dist/text-area/index.cjs +1 -0
- package/dist/text-area/index.d.ts +212 -0
- package/dist/text-area/index.mjs +160 -0
- package/dist/texts/header/index.cjs +1 -0
- package/dist/texts/header/index.d.ts +2 -0
- package/dist/texts/header/index.mjs +28 -0
- package/dist/texts/p/index.cjs +1 -0
- package/dist/texts/p/index.d.ts +2 -0
- package/dist/texts/p/index.mjs +4 -0
- package/dist/texts/span/index.cjs +1 -0
- package/dist/texts/span/index.d.ts +2 -0
- package/dist/texts/span/index.mjs +4 -0
- package/dist/toggle-switch/index.cjs +1 -0
- package/dist/toggle-switch/index.d.ts +35 -0
- package/dist/toggle-switch/index.mjs +100 -0
- package/dist/types-34thzuQ5.js +134 -0
- package/dist/types-B3Ew5Ber.cjs +1 -0
- package/dist/types-B6XaG3V2.js +65 -0
- package/dist/types-BL1gBa8J.cjs +1 -0
- package/dist/types-BNUi2DUD.js +234 -0
- package/dist/types-BWsKfOhf.js +76 -0
- package/dist/types-BXyuQRbv.js +52 -0
- package/dist/types-BciByhvn.cjs +1 -0
- package/dist/types-BhBb436R.cjs +1 -0
- package/dist/types-Bh_j-nXM.js +168 -0
- package/dist/types-BnEsY_pc.cjs +1 -0
- package/dist/types-BuixDDod.js +12 -0
- package/dist/types-BzOxElrp.cjs +1 -0
- package/dist/types-CQP0_A_u.cjs +1 -0
- package/dist/types-Cev70RJC.cjs +1 -0
- package/dist/types-Cj8dOa0j.cjs +1 -0
- package/dist/types-CyVpnRmY.cjs +1 -0
- package/dist/types-DDcRx4Wz.cjs +1 -0
- package/dist/types-DNLw5jE2.js +151 -0
- package/dist/types-DZ_qlO_d.cjs +1 -0
- package/dist/types-DamZRbFt.js +4 -0
- package/dist/types-DevrYOgX.cjs +1 -0
- package/dist/types-DgSz2H9f.js +14 -0
- package/dist/types-DmnAtXuW.js +17 -0
- package/dist/types-Dyu7oUOO.js +4 -0
- package/dist/types-OOX58qQg.js +17 -0
- package/dist/types.cjs +1 -0
- package/dist/types.d.ts +2062 -0
- package/dist/types.mjs +177 -0
- package/dist/useClickOutsideDOM-CBmttEFU.js +16 -0
- package/dist/useClickOutsideDOM-Dd6ewH8B.cjs +1 -0
- package/dist/useCombinedRef-COuiqHjO.js +14 -0
- package/dist/useCombinedRef-DZxHQ7PL.cjs +1 -0
- package/dist/values-B5r2bYNJ.js +75 -0
- package/dist/values-C40_Fyfk.cjs +1 -0
- package/dist/values-CSE3dLnv.js +200 -0
- package/dist/values-D-Y_dNaF.cjs +1 -0
- package/dist/web-B_p0FWHf.js +132 -0
- package/dist/web-yC_cLoAC.cjs +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,457 @@
|
|
|
1
|
+
import { AnimatedProps } from '@react-spring/web';
|
|
2
|
+
import { FC } from 'react';
|
|
3
|
+
import { HTMLAttributes } from 'react';
|
|
4
|
+
|
|
5
|
+
declare enum ColorPalettes {
|
|
6
|
+
Transparent = 1,// (0, 1)
|
|
7
|
+
Grey1 = 2,
|
|
8
|
+
Grey2 = 3,
|
|
9
|
+
Grey3 = 4,
|
|
10
|
+
Grey4 = 5,
|
|
11
|
+
Grey5 = 6,
|
|
12
|
+
Grey6 = 7,
|
|
13
|
+
Grey7 = 8,
|
|
14
|
+
Grey8 = 9,
|
|
15
|
+
Grey9 = 10,
|
|
16
|
+
Grey10 = 11,// (2, 11)
|
|
17
|
+
Primary1 = 12,
|
|
18
|
+
Primary2 = 13,
|
|
19
|
+
Primary3 = 14,
|
|
20
|
+
Primary4 = 15,
|
|
21
|
+
Primary5 = 16,
|
|
22
|
+
Primary6 = 17,
|
|
23
|
+
Primary7 = 18,
|
|
24
|
+
Primary8 = 19,
|
|
25
|
+
Primary9 = 20,// (12, 20)
|
|
26
|
+
Secondary1 = 21,
|
|
27
|
+
Secondary2 = 22,
|
|
28
|
+
Secondary3 = 23,
|
|
29
|
+
Secondary4 = 24,
|
|
30
|
+
Secondary5 = 25,
|
|
31
|
+
Secondary6 = 26,
|
|
32
|
+
Secondary7 = 27,
|
|
33
|
+
Secondary8 = 28,
|
|
34
|
+
Secondary9 = 29,// (21, 29)
|
|
35
|
+
Red1 = 30,
|
|
36
|
+
Red2 = 31,
|
|
37
|
+
Red3 = 32,
|
|
38
|
+
Red4 = 33,
|
|
39
|
+
Red5 = 34,
|
|
40
|
+
Red6 = 35,
|
|
41
|
+
Red7 = 36,
|
|
42
|
+
Red8 = 37,
|
|
43
|
+
Red9 = 38,// (30, 38)
|
|
44
|
+
Green1 = 39,
|
|
45
|
+
Green2 = 40,
|
|
46
|
+
Green3 = 41,
|
|
47
|
+
Green4 = 42,
|
|
48
|
+
Green5 = 43,
|
|
49
|
+
Green6 = 44,
|
|
50
|
+
Green7 = 45,
|
|
51
|
+
Green8 = 46,
|
|
52
|
+
Green9 = 47,// (39, 47)
|
|
53
|
+
Blue1 = 48,
|
|
54
|
+
Blue2 = 49,
|
|
55
|
+
Blue3 = 50,
|
|
56
|
+
Blue4 = 51,
|
|
57
|
+
Blue5 = 52,
|
|
58
|
+
Blue6 = 53,
|
|
59
|
+
Blue7 = 54,
|
|
60
|
+
Blue8 = 55,
|
|
61
|
+
Blue9 = 56,// (48, 56)
|
|
62
|
+
Yellow1 = 57,
|
|
63
|
+
Yellow2 = 58,
|
|
64
|
+
Yellow3 = 59,
|
|
65
|
+
Yellow4 = 60,
|
|
66
|
+
Yellow5 = 61,
|
|
67
|
+
Yellow6 = 62,
|
|
68
|
+
Yellow7 = 63,
|
|
69
|
+
Yellow8 = 64,
|
|
70
|
+
Yellow9 = 65,// (57, 65)
|
|
71
|
+
Accent1_1 = 66,
|
|
72
|
+
Accent1_2 = 67,
|
|
73
|
+
Accent1_3 = 68,
|
|
74
|
+
Accent1_4 = 69,
|
|
75
|
+
Accent1_5 = 70,
|
|
76
|
+
Accent1_6 = 71,
|
|
77
|
+
Accent1_7 = 72,
|
|
78
|
+
Accent1_8 = 73,
|
|
79
|
+
Accent1_9 = 74,// (57, 65)
|
|
80
|
+
Accent2_1 = 75,
|
|
81
|
+
Accent2_2 = 76,
|
|
82
|
+
Accent2_3 = 77,
|
|
83
|
+
Accent2_4 = 78,
|
|
84
|
+
Accent2_5 = 79,
|
|
85
|
+
Accent2_6 = 80,
|
|
86
|
+
Accent2_7 = 81,
|
|
87
|
+
Accent2_8 = 82,
|
|
88
|
+
Accent2_9 = 83
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
declare enum Cursors {
|
|
92
|
+
Auto = 1,
|
|
93
|
+
Default = 2,
|
|
94
|
+
Pointer = 3,
|
|
95
|
+
ContextMenu = 4,
|
|
96
|
+
Help = 5,
|
|
97
|
+
Progress = 6,
|
|
98
|
+
Wait = 7,
|
|
99
|
+
Cell = 8,
|
|
100
|
+
Crosshair = 9,
|
|
101
|
+
Text = 10,
|
|
102
|
+
VerticalText = 11,
|
|
103
|
+
Alias = 12,
|
|
104
|
+
Copy = 13,
|
|
105
|
+
Move = 14,
|
|
106
|
+
NoDrop = 15,
|
|
107
|
+
NotAllowed = 16,
|
|
108
|
+
Grab = 17,
|
|
109
|
+
Grabbing = 18,
|
|
110
|
+
ZoomIn = 19,
|
|
111
|
+
ZoomOut = 20
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
declare enum Icons {
|
|
115
|
+
Activity = "activity",
|
|
116
|
+
Airplay = "airplay",
|
|
117
|
+
AlertCircle = "alert-circle",
|
|
118
|
+
AlertOctagon = "alert-octagon",
|
|
119
|
+
AlertTriangle = "alert-triangle",
|
|
120
|
+
AlignCenter = "align-center",
|
|
121
|
+
AlignJustify = "align-justify",
|
|
122
|
+
AlignLeft = "align-left",
|
|
123
|
+
AlignRight = "align-right",
|
|
124
|
+
Anchor = "anchor",
|
|
125
|
+
Aperture = "aperture",
|
|
126
|
+
Apps = "apps",
|
|
127
|
+
Archive = "archive",
|
|
128
|
+
ArrowDownCircle = "arrow-down-circle",
|
|
129
|
+
ArrowDownLeft = "arrow-down-left",
|
|
130
|
+
ArrowDownRight = "arrow-down-right",
|
|
131
|
+
ArrowDown = "arrow-down",
|
|
132
|
+
ArrowLeftCircle = "arrow-left-circle",
|
|
133
|
+
ArrowLeft = "arrow-left",
|
|
134
|
+
ArrowRightCircle = "arrow-right-circle",
|
|
135
|
+
ArrowRight = "arrow-right",
|
|
136
|
+
ArrowUpCircle = "arrow-up-circle",
|
|
137
|
+
ArrowUpLeft = "arrow-up-left",
|
|
138
|
+
ArrowUpRight = "arrow-up-right",
|
|
139
|
+
ArrowUp = "arrow-up",
|
|
140
|
+
AtSign = "at-sign",
|
|
141
|
+
Award = "award",
|
|
142
|
+
BarChart2 = "bar-chart-2",
|
|
143
|
+
BarChart = "bar-chart",
|
|
144
|
+
BatteryCharging = "battery-charging",
|
|
145
|
+
Battery = "battery",
|
|
146
|
+
BellOff = "bell-off",
|
|
147
|
+
Bell = "bell",
|
|
148
|
+
Bluetooth = "bluetooth",
|
|
149
|
+
Bold = "bold",
|
|
150
|
+
BookOpen = "book-open",
|
|
151
|
+
Book = "book",
|
|
152
|
+
Bookmark = "bookmark",
|
|
153
|
+
Box = "box",
|
|
154
|
+
Briefcase = "briefcase",
|
|
155
|
+
Calendar = "calendar",
|
|
156
|
+
CameraOff = "camera-off",
|
|
157
|
+
Camera = "camera",
|
|
158
|
+
Cast = "cast",
|
|
159
|
+
CheckCircle = "check-circle",
|
|
160
|
+
CheckSquare = "check-square",
|
|
161
|
+
Check = "check",
|
|
162
|
+
ChevronDown = "chevron-down",
|
|
163
|
+
ChevronLeft = "chevron-left",
|
|
164
|
+
ChevronRight = "chevron-right",
|
|
165
|
+
ChevronUp = "chevron-up",
|
|
166
|
+
ChevronsDown = "chevrons-down",
|
|
167
|
+
ChevronsLeft = "chevrons-left",
|
|
168
|
+
ChevronsRight = "chevrons-right",
|
|
169
|
+
ChevronsUp = "chevrons-up",
|
|
170
|
+
Chrome = "chrome",
|
|
171
|
+
Circle = "circle",
|
|
172
|
+
Clipboard = "clipboard",
|
|
173
|
+
Clock = "clock",
|
|
174
|
+
CloudDrizzle = "cloud-drizzle",
|
|
175
|
+
CloudLightning = "cloud-lightning",
|
|
176
|
+
CloudOff = "cloud-off",
|
|
177
|
+
CloudRain = "cloud-rain",
|
|
178
|
+
CloudSnow = "cloud-snow",
|
|
179
|
+
Cloud = "cloud",
|
|
180
|
+
Code = "code",
|
|
181
|
+
Codepen = "codepen",
|
|
182
|
+
Codesandbox = "codesandbox",
|
|
183
|
+
Coffee = "coffee",
|
|
184
|
+
Columns = "columns",
|
|
185
|
+
Command = "command",
|
|
186
|
+
Compass = "compass",
|
|
187
|
+
Copy = "copy",
|
|
188
|
+
CornerDownLeft = "corner-down-left",
|
|
189
|
+
CornerDownRight = "corner-down-right",
|
|
190
|
+
CornerLeftDown = "corner-left-down",
|
|
191
|
+
CornerLeftUp = "corner-left-up",
|
|
192
|
+
CornerRightDown = "corner-right-down",
|
|
193
|
+
CornerRightUp = "corner-right-up",
|
|
194
|
+
CornerUpLeft = "corner-up-left",
|
|
195
|
+
CornerUpRight = "corner-up-right",
|
|
196
|
+
Cpu = "cpu",
|
|
197
|
+
CreditCard = "credit-card",
|
|
198
|
+
Crop = "crop",
|
|
199
|
+
Crosshair = "crosshair",
|
|
200
|
+
Database = "database",
|
|
201
|
+
Delete = "delete",
|
|
202
|
+
Disc = "disc",
|
|
203
|
+
DivideCircle = "divide-circle",
|
|
204
|
+
DivideSquare = "divide-square",
|
|
205
|
+
Divide = "divide",
|
|
206
|
+
DollarSign = "dollar-sign",
|
|
207
|
+
DownloadCloud = "download-cloud",
|
|
208
|
+
Download = "download",
|
|
209
|
+
Dribbble = "dribbble",
|
|
210
|
+
Droplet = "droplet",
|
|
211
|
+
Edit2 = "edit-2",
|
|
212
|
+
Edit3 = "edit-3",
|
|
213
|
+
Edit = "edit",
|
|
214
|
+
ExternalLink = "external-link",
|
|
215
|
+
EyeOff = "eye-off",
|
|
216
|
+
Eye = "eye",
|
|
217
|
+
Facebook = "facebook",
|
|
218
|
+
FastForward = "fast-forward",
|
|
219
|
+
FeatherSprite = "feather-sprite",
|
|
220
|
+
Feather = "feather",
|
|
221
|
+
Figma = "figma",
|
|
222
|
+
FileMinus = "file-minus",
|
|
223
|
+
FilePlus = "file-plus",
|
|
224
|
+
FileText = "file-text",
|
|
225
|
+
File = "file",
|
|
226
|
+
Film = "film",
|
|
227
|
+
Filter = "filter",
|
|
228
|
+
Flag = "flag",
|
|
229
|
+
FolderMinus = "folder-minus",
|
|
230
|
+
FolderPlus = "folder-plus",
|
|
231
|
+
Folder = "folder",
|
|
232
|
+
Framer = "framer",
|
|
233
|
+
Frown = "frown",
|
|
234
|
+
Gift = "gift",
|
|
235
|
+
GitBranch = "git-branch",
|
|
236
|
+
GitCommit = "git-commit",
|
|
237
|
+
GitMerge = "git-merge",
|
|
238
|
+
GitPullRequest = "git-pull-request",
|
|
239
|
+
Github = "github",
|
|
240
|
+
Gitlab = "gitlab",
|
|
241
|
+
Globe = "globe",
|
|
242
|
+
Grid = "grid",
|
|
243
|
+
HardDrive = "hard-drive",
|
|
244
|
+
Hash = "hash",
|
|
245
|
+
Headphones = "headphones",
|
|
246
|
+
Heart = "heart",
|
|
247
|
+
HelpCircle = "help-circle",
|
|
248
|
+
Hexagon = "hexagon",
|
|
249
|
+
Home = "home",
|
|
250
|
+
Image = "image",
|
|
251
|
+
Inbox = "inbox",
|
|
252
|
+
Info = "info",
|
|
253
|
+
Instagram = "instagram",
|
|
254
|
+
Italic = "italic",
|
|
255
|
+
Key = "key",
|
|
256
|
+
Layers = "layers",
|
|
257
|
+
Layout = "layout",
|
|
258
|
+
LifeBuoy = "life-buoy",
|
|
259
|
+
Link2 = "link-2",
|
|
260
|
+
Link = "link",
|
|
261
|
+
Linkedin = "linkedin",
|
|
262
|
+
List = "list",
|
|
263
|
+
Loader = "loader",
|
|
264
|
+
Lock = "lock",
|
|
265
|
+
LogIn = "log-in",
|
|
266
|
+
LogOut = "log-out",
|
|
267
|
+
Mail = "mail",
|
|
268
|
+
MapPin = "map-pin",
|
|
269
|
+
Map = "map",
|
|
270
|
+
Maximize2 = "maximize-2",
|
|
271
|
+
Maximize = "maximize",
|
|
272
|
+
Meh = "meh",
|
|
273
|
+
Menu = "menu",
|
|
274
|
+
MessageCircle = "message-circle",
|
|
275
|
+
MessageSquare = "message-square",
|
|
276
|
+
MicOff = "mic-off",
|
|
277
|
+
Mic = "mic",
|
|
278
|
+
Minimize2 = "minimize-2",
|
|
279
|
+
Minimize = "minimize",
|
|
280
|
+
MinusCircle = "minus-circle",
|
|
281
|
+
MinusSquare = "minus-square",
|
|
282
|
+
Minus = "minus",
|
|
283
|
+
Monitor = "monitor",
|
|
284
|
+
Moon = "moon",
|
|
285
|
+
MoreHorizontal = "more-horizontal",
|
|
286
|
+
MoreVertical = "more-vertical",
|
|
287
|
+
MousePointer = "mouse-pointer",
|
|
288
|
+
Move = "move",
|
|
289
|
+
Music = "music",
|
|
290
|
+
Navigation2 = "navigation-2",
|
|
291
|
+
Navigation = "navigation",
|
|
292
|
+
Octagon = "octagon",
|
|
293
|
+
Package = "package",
|
|
294
|
+
Paperclip = "paperclip",
|
|
295
|
+
PauseCircle = "pause-circle",
|
|
296
|
+
Pause = "pause",
|
|
297
|
+
PenTool = "pen-tool",
|
|
298
|
+
Percent = "percent",
|
|
299
|
+
PhoneCall = "phone-call",
|
|
300
|
+
PhoneForwarded = "phone-forwarded",
|
|
301
|
+
PhoneIncoming = "phone-incoming",
|
|
302
|
+
PhoneMissed = "phone-missed",
|
|
303
|
+
PhoneOff = "phone-off",
|
|
304
|
+
PhoneOutgoing = "phone-outgoing",
|
|
305
|
+
Phone = "phone",
|
|
306
|
+
PieChart = "pie-chart",
|
|
307
|
+
PlayCircle = "play-circle",
|
|
308
|
+
Play = "play",
|
|
309
|
+
PlusCircle = "plus-circle",
|
|
310
|
+
PlusSquare = "plus-square",
|
|
311
|
+
Plus = "plus",
|
|
312
|
+
Pocket = "pocket",
|
|
313
|
+
Power = "power",
|
|
314
|
+
Printer = "printer",
|
|
315
|
+
Radio = "radio",
|
|
316
|
+
RefreshCcw = "refresh-ccw",
|
|
317
|
+
RefreshCw = "refresh-cw",
|
|
318
|
+
Repeat = "repeat",
|
|
319
|
+
Rewind = "rewind",
|
|
320
|
+
RotateCcw = "rotate-ccw",
|
|
321
|
+
RotateCw = "rotate-cw",
|
|
322
|
+
Rss = "rss",
|
|
323
|
+
Save = "save",
|
|
324
|
+
Scissors = "scissors",
|
|
325
|
+
Search = "search",
|
|
326
|
+
Send = "send",
|
|
327
|
+
Server = "server",
|
|
328
|
+
Settings = "settings",
|
|
329
|
+
Share2 = "share-2",
|
|
330
|
+
Share = "share",
|
|
331
|
+
ShieldOff = "shield-off",
|
|
332
|
+
Shield = "shield",
|
|
333
|
+
ShoppingBag = "shopping-bag",
|
|
334
|
+
ShoppingCart = "shopping-cart",
|
|
335
|
+
Shuffle = "shuffle",
|
|
336
|
+
Sidebar = "sidebar",
|
|
337
|
+
SkipBack = "skip-back",
|
|
338
|
+
SkipForward = "skip-forward",
|
|
339
|
+
Slack = "slack",
|
|
340
|
+
Slash = "slash",
|
|
341
|
+
Sliders = "sliders",
|
|
342
|
+
Smartphone = "smartphone",
|
|
343
|
+
Smile = "smile",
|
|
344
|
+
Speaker = "speaker",
|
|
345
|
+
Spinner = "spinner",
|
|
346
|
+
Square = "square",
|
|
347
|
+
Star = "star",
|
|
348
|
+
StopCircle = "stop-circle",
|
|
349
|
+
Sun = "sun",
|
|
350
|
+
Sunrise = "sunrise",
|
|
351
|
+
Sunset = "sunset",
|
|
352
|
+
Table = "table",
|
|
353
|
+
Tablet = "tablet",
|
|
354
|
+
Tag = "tag",
|
|
355
|
+
Target = "target",
|
|
356
|
+
Terminal = "terminal",
|
|
357
|
+
Thermometer = "thermometer",
|
|
358
|
+
ThumbsDown = "thumbs-down",
|
|
359
|
+
ThumbsUp = "thumbs-up",
|
|
360
|
+
ToggleLeft = "toggle-left",
|
|
361
|
+
ToggleRight = "toggle-right",
|
|
362
|
+
Tool = "tool",
|
|
363
|
+
Trash2 = "trash-2",
|
|
364
|
+
Trash = "trash",
|
|
365
|
+
Trello = "trello",
|
|
366
|
+
TrendingDown = "trending-down",
|
|
367
|
+
TrendingUp = "trending-up",
|
|
368
|
+
Triangle = "triangle",
|
|
369
|
+
Truck = "truck",
|
|
370
|
+
Tv = "tv",
|
|
371
|
+
Twitch = "twitch",
|
|
372
|
+
Twitter = "twitter",
|
|
373
|
+
Type = "type",
|
|
374
|
+
Umbrella = "umbrella",
|
|
375
|
+
Underline = "underline",
|
|
376
|
+
Unlock = "unlock",
|
|
377
|
+
UploadCloud = "upload-cloud",
|
|
378
|
+
Upload = "upload",
|
|
379
|
+
UserCheck = "user-check",
|
|
380
|
+
UserMinus = "user-minus",
|
|
381
|
+
UserPlus = "user-plus",
|
|
382
|
+
UserX = "user-x",
|
|
383
|
+
User = "user",
|
|
384
|
+
Users = "users",
|
|
385
|
+
VideoOff = "video-off",
|
|
386
|
+
Video = "video",
|
|
387
|
+
Voicemail = "voicemail",
|
|
388
|
+
Volume1 = "volume-1",
|
|
389
|
+
Volume2 = "volume-2",
|
|
390
|
+
VolumeX = "volume-x",
|
|
391
|
+
Volume = "volume",
|
|
392
|
+
Watch = "watch",
|
|
393
|
+
WifiOff = "wifi-off",
|
|
394
|
+
Wifi = "wifi",
|
|
395
|
+
Wind = "wind",
|
|
396
|
+
XCircle = "x-circle",
|
|
397
|
+
XOctagon = "x-octagon",
|
|
398
|
+
XSquare = "x-square",
|
|
399
|
+
X = "x",
|
|
400
|
+
Youtube = "youtube",
|
|
401
|
+
ZapOff = "zap-off",
|
|
402
|
+
Zap = "zap",
|
|
403
|
+
ZoomIn = "zoom-in",
|
|
404
|
+
ZoomOut = "zoom-out"
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
declare interface P extends AnimatedProps<HTMLAttributes<HTMLDivElement>> {
|
|
408
|
+
name: Icons | string;
|
|
409
|
+
withMargin?: boolean;
|
|
410
|
+
size?: Sizings;
|
|
411
|
+
width?: number;
|
|
412
|
+
height?: number;
|
|
413
|
+
lazy?: boolean;
|
|
414
|
+
colorLight?: ColorPalettes;
|
|
415
|
+
colorDark?: ColorPalettes;
|
|
416
|
+
iconAction?: (v?: any) => void;
|
|
417
|
+
animated?: boolean;
|
|
418
|
+
cursor?: Cursors;
|
|
419
|
+
overflow?: string;
|
|
420
|
+
borderRadius?: Radiuses | string;
|
|
421
|
+
bgColor?: ColorPalettes;
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
declare enum Radiuses {
|
|
425
|
+
Size0 = 1,
|
|
426
|
+
Size1 = 2,
|
|
427
|
+
Size2 = 3,
|
|
428
|
+
Size3 = 4,
|
|
429
|
+
Size4 = 5,
|
|
430
|
+
Size5 = 6,
|
|
431
|
+
Size6 = 7,
|
|
432
|
+
Size7 = 8,
|
|
433
|
+
Size8 = 9,
|
|
434
|
+
Size9 = 10
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
declare enum Sizings {
|
|
438
|
+
Size1 = 8,
|
|
439
|
+
Size2 = 12,
|
|
440
|
+
Size3 = 16,
|
|
441
|
+
Size4 = 20,
|
|
442
|
+
Size5 = 24,
|
|
443
|
+
Size6 = 28,
|
|
444
|
+
Size7 = 32,
|
|
445
|
+
Size8 = 36,
|
|
446
|
+
Size9 = 44,
|
|
447
|
+
Size10 = 52,
|
|
448
|
+
Size11 = 60,
|
|
449
|
+
Size12 = 68,
|
|
450
|
+
Size13 = 76,
|
|
451
|
+
Size14 = 84,
|
|
452
|
+
Size15 = 92
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
export declare const UIcon: FC<P>;
|
|
456
|
+
|
|
457
|
+
export { }
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
import { C as r, a } from "./generics-D33J7ILI.js";
|
|
2
|
+
import { f as d, d as o, S as i, B as l, R as h, a as t } from "./generics-C-WSPclF.js";
|
|
3
|
+
const S = {
|
|
4
|
+
[a.Transparents]: void 0,
|
|
5
|
+
[a.Greys]: {
|
|
6
|
+
borderColor: r.Grey5,
|
|
7
|
+
labelColor: r.Grey10,
|
|
8
|
+
fontColor: r.Grey5,
|
|
9
|
+
bgColor: r.Grey3
|
|
10
|
+
// @@ subject to theme
|
|
11
|
+
},
|
|
12
|
+
[a.Primarys]: {
|
|
13
|
+
borderColor: r.Primary5,
|
|
14
|
+
labelColor: r.Primary5,
|
|
15
|
+
fontColor: r.Grey10,
|
|
16
|
+
bgColor: r.Primary3
|
|
17
|
+
},
|
|
18
|
+
[a.Secondarys]: {
|
|
19
|
+
borderColor: r.Secondary5,
|
|
20
|
+
labelColor: r.Secondary5,
|
|
21
|
+
fontColor: r.Grey10,
|
|
22
|
+
bgColor: r.Secondary3
|
|
23
|
+
},
|
|
24
|
+
[a.Reds]: {
|
|
25
|
+
borderColor: r.Red5,
|
|
26
|
+
labelColor: r.Red5,
|
|
27
|
+
fontColor: r.Grey10,
|
|
28
|
+
bgColor: r.Red3
|
|
29
|
+
},
|
|
30
|
+
[a.Greens]: {
|
|
31
|
+
borderColor: r.Green5,
|
|
32
|
+
labelColor: r.Green5,
|
|
33
|
+
fontColor: r.Grey10,
|
|
34
|
+
bgColor: r.Green3
|
|
35
|
+
},
|
|
36
|
+
[a.Blues]: {
|
|
37
|
+
borderColor: r.Blue5,
|
|
38
|
+
labelColor: r.Blue5,
|
|
39
|
+
fontColor: r.Grey10,
|
|
40
|
+
bgColor: r.Blue3
|
|
41
|
+
},
|
|
42
|
+
[a.Yellows]: {
|
|
43
|
+
borderColor: r.Yellow5,
|
|
44
|
+
labelColor: r.Yellow5,
|
|
45
|
+
fontColor: r.Grey10,
|
|
46
|
+
bgColor: r.Yellow3
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
var g = /* @__PURE__ */ ((e) => (e[e.Small = 1] = "Small", e[e.Default = 2] = "Default", e[e.Big = 3] = "Big", e[e.Huge = 4] = "Huge", e))(g || {});
|
|
50
|
+
const v = {
|
|
51
|
+
1: {
|
|
52
|
+
paddings: {
|
|
53
|
+
top: i.Size1,
|
|
54
|
+
bottom: i.Size1,
|
|
55
|
+
left: i.Size2,
|
|
56
|
+
right: i.Size2
|
|
57
|
+
},
|
|
58
|
+
font: {
|
|
59
|
+
size: o.Size1,
|
|
60
|
+
weight: d.Size2
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
2: {
|
|
64
|
+
paddings: {
|
|
65
|
+
top: i.Size1,
|
|
66
|
+
bottom: i.Size1,
|
|
67
|
+
left: i.Size2,
|
|
68
|
+
right: i.Size2
|
|
69
|
+
},
|
|
70
|
+
font: {
|
|
71
|
+
size: o.Size3,
|
|
72
|
+
weight: d.Size2
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
3: {
|
|
76
|
+
paddings: {
|
|
77
|
+
top: i.Size1,
|
|
78
|
+
bottom: i.Size1,
|
|
79
|
+
left: i.Size2,
|
|
80
|
+
right: i.Size2
|
|
81
|
+
},
|
|
82
|
+
font: {
|
|
83
|
+
size: o.Size4,
|
|
84
|
+
weight: d.Size2
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
4: {
|
|
88
|
+
paddings: {
|
|
89
|
+
top: i.Size1,
|
|
90
|
+
bottom: i.Size1,
|
|
91
|
+
left: i.Size2,
|
|
92
|
+
right: i.Size2
|
|
93
|
+
},
|
|
94
|
+
font: {
|
|
95
|
+
size: o.Size5,
|
|
96
|
+
weight: d.Size2
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
};
|
|
100
|
+
var u = /* @__PURE__ */ ((e) => (e[e.Default = 1] = "Default", e[e.Outlined = 2] = "Outlined", e[e.Filled = 3] = "Filled", e))(u || {});
|
|
101
|
+
const k = {
|
|
102
|
+
1: {
|
|
103
|
+
borders: {
|
|
104
|
+
width: t.Size1,
|
|
105
|
+
radius: void 0,
|
|
106
|
+
style: l.Solid,
|
|
107
|
+
bottom: {
|
|
108
|
+
style: l.Solid,
|
|
109
|
+
width: t.Size1
|
|
110
|
+
},
|
|
111
|
+
top: void 0,
|
|
112
|
+
left: void 0,
|
|
113
|
+
right: void 0
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
2: {
|
|
117
|
+
borders: {
|
|
118
|
+
width: t.Size1,
|
|
119
|
+
radius: h.Size3,
|
|
120
|
+
style: l.Solid,
|
|
121
|
+
borders: {
|
|
122
|
+
style: l.Solid,
|
|
123
|
+
width: t.Size1
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
3: {
|
|
128
|
+
borders: {
|
|
129
|
+
width: t.Size1,
|
|
130
|
+
radius: h.Size5,
|
|
131
|
+
style: l.Solid,
|
|
132
|
+
borders: void 0
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
};
|
|
136
|
+
var f = /* @__PURE__ */ ((e) => (e[e.Default = 1] = "Default", e[e.Error = 2] = "Error", e[e.Disabled = 3] = "Disabled", e[e.ReadOnly = 4] = "ReadOnly", e))(f || {}), m = /* @__PURE__ */ ((e) => (e.Text = "text", e.Number = "number", e.Password = "password", e))(m || {}), p = /* @__PURE__ */ ((e) => (e[e.Top = 1] = "Top", e[e.Material = 2] = "Material", e))(p || {}), C = /* @__PURE__ */ ((e) => (e.Activity = "activity", e.Airplay = "airplay", e.AlertCircle = "alert-circle", e.AlertOctagon = "alert-octagon", e.AlertTriangle = "alert-triangle", e.AlignCenter = "align-center", e.AlignJustify = "align-justify", e.AlignLeft = "align-left", e.AlignRight = "align-right", e.Anchor = "anchor", e.Aperture = "aperture", e.Apps = "apps", e.Archive = "archive", e.ArrowDownCircle = "arrow-down-circle", e.ArrowDownLeft = "arrow-down-left", e.ArrowDownRight = "arrow-down-right", e.ArrowDown = "arrow-down", e.ArrowLeftCircle = "arrow-left-circle", e.ArrowLeft = "arrow-left", e.ArrowRightCircle = "arrow-right-circle", e.ArrowRight = "arrow-right", e.ArrowUpCircle = "arrow-up-circle", e.ArrowUpLeft = "arrow-up-left", e.ArrowUpRight = "arrow-up-right", e.ArrowUp = "arrow-up", e.AtSign = "at-sign", e.Award = "award", e.BarChart2 = "bar-chart-2", e.BarChart = "bar-chart", e.BatteryCharging = "battery-charging", e.Battery = "battery", e.BellOff = "bell-off", e.Bell = "bell", e.Bluetooth = "bluetooth", e.Bold = "bold", e.BookOpen = "book-open", e.Book = "book", e.Bookmark = "bookmark", e.Box = "box", e.Briefcase = "briefcase", e.Calendar = "calendar", e.CameraOff = "camera-off", e.Camera = "camera", e.Cast = "cast", e.CheckCircle = "check-circle", e.CheckSquare = "check-square", e.Check = "check", e.ChevronDown = "chevron-down", e.ChevronLeft = "chevron-left", e.ChevronRight = "chevron-right", e.ChevronUp = "chevron-up", e.ChevronsDown = "chevrons-down", e.ChevronsLeft = "chevrons-left", e.ChevronsRight = "chevrons-right", e.ChevronsUp = "chevrons-up", e.Chrome = "chrome", e.Circle = "circle", e.Clipboard = "clipboard", e.Clock = "clock", e.CloudDrizzle = "cloud-drizzle", e.CloudLightning = "cloud-lightning", e.CloudOff = "cloud-off", e.CloudRain = "cloud-rain", e.CloudSnow = "cloud-snow", e.Cloud = "cloud", e.Code = "code", e.Codepen = "codepen", e.Codesandbox = "codesandbox", e.Coffee = "coffee", e.Columns = "columns", e.Command = "command", e.Compass = "compass", e.Copy = "copy", e.CornerDownLeft = "corner-down-left", e.CornerDownRight = "corner-down-right", e.CornerLeftDown = "corner-left-down", e.CornerLeftUp = "corner-left-up", e.CornerRightDown = "corner-right-down", e.CornerRightUp = "corner-right-up", e.CornerUpLeft = "corner-up-left", e.CornerUpRight = "corner-up-right", e.Cpu = "cpu", e.CreditCard = "credit-card", e.Crop = "crop", e.Crosshair = "crosshair", e.Database = "database", e.Delete = "delete", e.Disc = "disc", e.DivideCircle = "divide-circle", e.DivideSquare = "divide-square", e.Divide = "divide", e.DollarSign = "dollar-sign", e.DownloadCloud = "download-cloud", e.Download = "download", e.Dribbble = "dribbble", e.Droplet = "droplet", e.Edit2 = "edit-2", e.Edit3 = "edit-3", e.Edit = "edit", e.ExternalLink = "external-link", e.EyeOff = "eye-off", e.Eye = "eye", e.Facebook = "facebook", e.FastForward = "fast-forward", e.FeatherSprite = "feather-sprite", e.Feather = "feather", e.Figma = "figma", e.FileMinus = "file-minus", e.FilePlus = "file-plus", e.FileText = "file-text", e.File = "file", e.Film = "film", e.Filter = "filter", e.Flag = "flag", e.FolderMinus = "folder-minus", e.FolderPlus = "folder-plus", e.Folder = "folder", e.Framer = "framer", e.Frown = "frown", e.Gift = "gift", e.GitBranch = "git-branch", e.GitCommit = "git-commit", e.GitMerge = "git-merge", e.GitPullRequest = "git-pull-request", e.Github = "github", e.Gitlab = "gitlab", e.Globe = "globe", e.Grid = "grid", e.HardDrive = "hard-drive", e.Hash = "hash", e.Headphones = "headphones", e.Heart = "heart", e.HelpCircle = "help-circle", e.Hexagon = "hexagon", e.Home = "home", e.Image = "image", e.Inbox = "inbox", e.Info = "info", e.Instagram = "instagram", e.Italic = "italic", e.Key = "key", e.Layers = "layers", e.Layout = "layout", e.LifeBuoy = "life-buoy", e.Link2 = "link-2", e.Link = "link", e.Linkedin = "linkedin", e.List = "list", e.Loader = "loader", e.Lock = "lock", e.LogIn = "log-in", e.LogOut = "log-out", e.Mail = "mail", e.MapPin = "map-pin", e.Map = "map", e.Maximize2 = "maximize-2", e.Maximize = "maximize", e.Meh = "meh", e.Menu = "menu", e.MessageCircle = "message-circle", e.MessageSquare = "message-square", e.MicOff = "mic-off", e.Mic = "mic", e.Minimize2 = "minimize-2", e.Minimize = "minimize", e.MinusCircle = "minus-circle", e.MinusSquare = "minus-square", e.Minus = "minus", e.Monitor = "monitor", e.Moon = "moon", e.MoreHorizontal = "more-horizontal", e.MoreVertical = "more-vertical", e.MousePointer = "mouse-pointer", e.Move = "move", e.Music = "music", e.Navigation2 = "navigation-2", e.Navigation = "navigation", e.Octagon = "octagon", e.Package = "package", e.Paperclip = "paperclip", e.PauseCircle = "pause-circle", e.Pause = "pause", e.PenTool = "pen-tool", e.Percent = "percent", e.PhoneCall = "phone-call", e.PhoneForwarded = "phone-forwarded", e.PhoneIncoming = "phone-incoming", e.PhoneMissed = "phone-missed", e.PhoneOff = "phone-off", e.PhoneOutgoing = "phone-outgoing", e.Phone = "phone", e.PieChart = "pie-chart", e.PlayCircle = "play-circle", e.Play = "play", e.PlusCircle = "plus-circle", e.PlusSquare = "plus-square", e.Plus = "plus", e.Pocket = "pocket", e.Power = "power", e.Printer = "printer", e.Radio = "radio", e.RefreshCcw = "refresh-ccw", e.RefreshCw = "refresh-cw", e.Repeat = "repeat", e.Rewind = "rewind", e.RotateCcw = "rotate-ccw", e.RotateCw = "rotate-cw", e.Rss = "rss", e.Save = "save", e.Scissors = "scissors", e.Search = "search", e.Send = "send", e.Server = "server", e.Settings = "settings", e.Share2 = "share-2", e.Share = "share", e.ShieldOff = "shield-off", e.Shield = "shield", e.ShoppingBag = "shopping-bag", e.ShoppingCart = "shopping-cart", e.Shuffle = "shuffle", e.Sidebar = "sidebar", e.SkipBack = "skip-back", e.SkipForward = "skip-forward", e.Slack = "slack", e.Slash = "slash", e.Sliders = "sliders", e.Smartphone = "smartphone", e.Smile = "smile", e.Speaker = "speaker", e.Spinner = "spinner", e.Square = "square", e.Star = "star", e.StopCircle = "stop-circle", e.Sun = "sun", e.Sunrise = "sunrise", e.Sunset = "sunset", e.Table = "table", e.Tablet = "tablet", e.Tag = "tag", e.Target = "target", e.Terminal = "terminal", e.Thermometer = "thermometer", e.ThumbsDown = "thumbs-down", e.ThumbsUp = "thumbs-up", e.ToggleLeft = "toggle-left", e.ToggleRight = "toggle-right", e.Tool = "tool", e.Trash2 = "trash-2", e.Trash = "trash", e.Trello = "trello", e.TrendingDown = "trending-down", e.TrendingUp = "trending-up", e.Triangle = "triangle", e.Truck = "truck", e.Tv = "tv", e.Twitch = "twitch", e.Twitter = "twitter", e.Type = "type", e.Umbrella = "umbrella", e.Underline = "underline", e.Unlock = "unlock", e.UploadCloud = "upload-cloud", e.Upload = "upload", e.UserCheck = "user-check", e.UserMinus = "user-minus", e.UserPlus = "user-plus", e.UserX = "user-x", e.User = "user", e.Users = "users", e.VideoOff = "video-off", e.Video = "video", e.Voicemail = "voicemail", e.Volume1 = "volume-1", e.Volume2 = "volume-2", e.VolumeX = "volume-x", e.Volume = "volume", e.Watch = "watch", e.WifiOff = "wifi-off", e.Wifi = "wifi", e.Wind = "wind", e.XCircle = "x-circle", e.XOctagon = "x-octagon", e.XSquare = "x-square", e.X = "x", e.Youtube = "youtube", e.ZapOff = "zap-off", e.Zap = "zap", e.ZoomIn = "zoom-in", e.ZoomOut = "zoom-out", e))(C || {});
|
|
137
|
+
export {
|
|
138
|
+
S as I,
|
|
139
|
+
v as a,
|
|
140
|
+
k as b,
|
|
141
|
+
C as c,
|
|
142
|
+
p as d,
|
|
143
|
+
f as e,
|
|
144
|
+
g as f,
|
|
145
|
+
u as g,
|
|
146
|
+
m as h
|
|
147
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const r=require("./generics-DE1oV0MV.cjs"),i=require("./generics-9F1CmKPb.cjs"),h={[r.ColorSets.Transparents]:void 0,[r.ColorSets.Greys]:{borderColor:r.ColorPalettes.Grey5,labelColor:r.ColorPalettes.Grey10,fontColor:r.ColorPalettes.Grey5,bgColor:r.ColorPalettes.Grey3},[r.ColorSets.Primarys]:{borderColor:r.ColorPalettes.Primary5,labelColor:r.ColorPalettes.Primary5,fontColor:r.ColorPalettes.Grey10,bgColor:r.ColorPalettes.Primary3},[r.ColorSets.Secondarys]:{borderColor:r.ColorPalettes.Secondary5,labelColor:r.ColorPalettes.Secondary5,fontColor:r.ColorPalettes.Grey10,bgColor:r.ColorPalettes.Secondary3},[r.ColorSets.Reds]:{borderColor:r.ColorPalettes.Red5,labelColor:r.ColorPalettes.Red5,fontColor:r.ColorPalettes.Grey10,bgColor:r.ColorPalettes.Red3},[r.ColorSets.Greens]:{borderColor:r.ColorPalettes.Green5,labelColor:r.ColorPalettes.Green5,fontColor:r.ColorPalettes.Grey10,bgColor:r.ColorPalettes.Green3},[r.ColorSets.Blues]:{borderColor:r.ColorPalettes.Blue5,labelColor:r.ColorPalettes.Blue5,fontColor:r.ColorPalettes.Grey10,bgColor:r.ColorPalettes.Blue3},[r.ColorSets.Yellows]:{borderColor:r.ColorPalettes.Yellow5,labelColor:r.ColorPalettes.Yellow5,fontColor:r.ColorPalettes.Grey10,bgColor:r.ColorPalettes.Yellow3}};var l=(e=>(e[e.Small=1]="Small",e[e.Default=2]="Default",e[e.Big=3]="Big",e[e.Huge=4]="Huge",e))(l||{});const u={1:{paddings:{top:i.Spacings.Size1,bottom:i.Spacings.Size1,left:i.Spacings.Size2,right:i.Spacings.Size2},font:{size:i.FontSizes.Size1,weight:i.FontWeights.Size2}},2:{paddings:{top:i.Spacings.Size1,bottom:i.Spacings.Size1,left:i.Spacings.Size2,right:i.Spacings.Size2},font:{size:i.FontSizes.Size3,weight:i.FontWeights.Size2}},3:{paddings:{top:i.Spacings.Size1,bottom:i.Spacings.Size1,left:i.Spacings.Size2,right:i.Spacings.Size2},font:{size:i.FontSizes.Size4,weight:i.FontWeights.Size2}},4:{paddings:{top:i.Spacings.Size1,bottom:i.Spacings.Size1,left:i.Spacings.Size2,right:i.Spacings.Size2},font:{size:i.FontSizes.Size5,weight:i.FontWeights.Size2}}};var a=(e=>(e[e.Default=1]="Default",e[e.Outlined=2]="Outlined",e[e.Filled=3]="Filled",e))(a||{});const C={1:{borders:{width:i.BorderWidths.Size1,radius:void 0,style:i.BorderStyles.Solid,bottom:{style:i.BorderStyles.Solid,width:i.BorderWidths.Size1},top:void 0,left:void 0,right:void 0}},2:{borders:{width:i.BorderWidths.Size1,radius:i.Radiuses.Size3,style:i.BorderStyles.Solid,borders:{style:i.BorderStyles.Solid,width:i.BorderWidths.Size1}}},3:{borders:{width:i.BorderWidths.Size1,radius:i.Radiuses.Size5,style:i.BorderStyles.Solid,borders:void 0}}};var t=(e=>(e[e.Default=1]="Default",e[e.Error=2]="Error",e[e.Disabled=3]="Disabled",e[e.ReadOnly=4]="ReadOnly",e))(t||{}),o=(e=>(e.Text="text",e.Number="number",e.Password="password",e))(o||{}),d=(e=>(e[e.Top=1]="Top",e[e.Material=2]="Material",e))(d||{}),g=(e=>(e.Activity="activity",e.Airplay="airplay",e.AlertCircle="alert-circle",e.AlertOctagon="alert-octagon",e.AlertTriangle="alert-triangle",e.AlignCenter="align-center",e.AlignJustify="align-justify",e.AlignLeft="align-left",e.AlignRight="align-right",e.Anchor="anchor",e.Aperture="aperture",e.Apps="apps",e.Archive="archive",e.ArrowDownCircle="arrow-down-circle",e.ArrowDownLeft="arrow-down-left",e.ArrowDownRight="arrow-down-right",e.ArrowDown="arrow-down",e.ArrowLeftCircle="arrow-left-circle",e.ArrowLeft="arrow-left",e.ArrowRightCircle="arrow-right-circle",e.ArrowRight="arrow-right",e.ArrowUpCircle="arrow-up-circle",e.ArrowUpLeft="arrow-up-left",e.ArrowUpRight="arrow-up-right",e.ArrowUp="arrow-up",e.AtSign="at-sign",e.Award="award",e.BarChart2="bar-chart-2",e.BarChart="bar-chart",e.BatteryCharging="battery-charging",e.Battery="battery",e.BellOff="bell-off",e.Bell="bell",e.Bluetooth="bluetooth",e.Bold="bold",e.BookOpen="book-open",e.Book="book",e.Bookmark="bookmark",e.Box="box",e.Briefcase="briefcase",e.Calendar="calendar",e.CameraOff="camera-off",e.Camera="camera",e.Cast="cast",e.CheckCircle="check-circle",e.CheckSquare="check-square",e.Check="check",e.ChevronDown="chevron-down",e.ChevronLeft="chevron-left",e.ChevronRight="chevron-right",e.ChevronUp="chevron-up",e.ChevronsDown="chevrons-down",e.ChevronsLeft="chevrons-left",e.ChevronsRight="chevrons-right",e.ChevronsUp="chevrons-up",e.Chrome="chrome",e.Circle="circle",e.Clipboard="clipboard",e.Clock="clock",e.CloudDrizzle="cloud-drizzle",e.CloudLightning="cloud-lightning",e.CloudOff="cloud-off",e.CloudRain="cloud-rain",e.CloudSnow="cloud-snow",e.Cloud="cloud",e.Code="code",e.Codepen="codepen",e.Codesandbox="codesandbox",e.Coffee="coffee",e.Columns="columns",e.Command="command",e.Compass="compass",e.Copy="copy",e.CornerDownLeft="corner-down-left",e.CornerDownRight="corner-down-right",e.CornerLeftDown="corner-left-down",e.CornerLeftUp="corner-left-up",e.CornerRightDown="corner-right-down",e.CornerRightUp="corner-right-up",e.CornerUpLeft="corner-up-left",e.CornerUpRight="corner-up-right",e.Cpu="cpu",e.CreditCard="credit-card",e.Crop="crop",e.Crosshair="crosshair",e.Database="database",e.Delete="delete",e.Disc="disc",e.DivideCircle="divide-circle",e.DivideSquare="divide-square",e.Divide="divide",e.DollarSign="dollar-sign",e.DownloadCloud="download-cloud",e.Download="download",e.Dribbble="dribbble",e.Droplet="droplet",e.Edit2="edit-2",e.Edit3="edit-3",e.Edit="edit",e.ExternalLink="external-link",e.EyeOff="eye-off",e.Eye="eye",e.Facebook="facebook",e.FastForward="fast-forward",e.FeatherSprite="feather-sprite",e.Feather="feather",e.Figma="figma",e.FileMinus="file-minus",e.FilePlus="file-plus",e.FileText="file-text",e.File="file",e.Film="film",e.Filter="filter",e.Flag="flag",e.FolderMinus="folder-minus",e.FolderPlus="folder-plus",e.Folder="folder",e.Framer="framer",e.Frown="frown",e.Gift="gift",e.GitBranch="git-branch",e.GitCommit="git-commit",e.GitMerge="git-merge",e.GitPullRequest="git-pull-request",e.Github="github",e.Gitlab="gitlab",e.Globe="globe",e.Grid="grid",e.HardDrive="hard-drive",e.Hash="hash",e.Headphones="headphones",e.Heart="heart",e.HelpCircle="help-circle",e.Hexagon="hexagon",e.Home="home",e.Image="image",e.Inbox="inbox",e.Info="info",e.Instagram="instagram",e.Italic="italic",e.Key="key",e.Layers="layers",e.Layout="layout",e.LifeBuoy="life-buoy",e.Link2="link-2",e.Link="link",e.Linkedin="linkedin",e.List="list",e.Loader="loader",e.Lock="lock",e.LogIn="log-in",e.LogOut="log-out",e.Mail="mail",e.MapPin="map-pin",e.Map="map",e.Maximize2="maximize-2",e.Maximize="maximize",e.Meh="meh",e.Menu="menu",e.MessageCircle="message-circle",e.MessageSquare="message-square",e.MicOff="mic-off",e.Mic="mic",e.Minimize2="minimize-2",e.Minimize="minimize",e.MinusCircle="minus-circle",e.MinusSquare="minus-square",e.Minus="minus",e.Monitor="monitor",e.Moon="moon",e.MoreHorizontal="more-horizontal",e.MoreVertical="more-vertical",e.MousePointer="mouse-pointer",e.Move="move",e.Music="music",e.Navigation2="navigation-2",e.Navigation="navigation",e.Octagon="octagon",e.Package="package",e.Paperclip="paperclip",e.PauseCircle="pause-circle",e.Pause="pause",e.PenTool="pen-tool",e.Percent="percent",e.PhoneCall="phone-call",e.PhoneForwarded="phone-forwarded",e.PhoneIncoming="phone-incoming",e.PhoneMissed="phone-missed",e.PhoneOff="phone-off",e.PhoneOutgoing="phone-outgoing",e.Phone="phone",e.PieChart="pie-chart",e.PlayCircle="play-circle",e.Play="play",e.PlusCircle="plus-circle",e.PlusSquare="plus-square",e.Plus="plus",e.Pocket="pocket",e.Power="power",e.Printer="printer",e.Radio="radio",e.RefreshCcw="refresh-ccw",e.RefreshCw="refresh-cw",e.Repeat="repeat",e.Rewind="rewind",e.RotateCcw="rotate-ccw",e.RotateCw="rotate-cw",e.Rss="rss",e.Save="save",e.Scissors="scissors",e.Search="search",e.Send="send",e.Server="server",e.Settings="settings",e.Share2="share-2",e.Share="share",e.ShieldOff="shield-off",e.Shield="shield",e.ShoppingBag="shopping-bag",e.ShoppingCart="shopping-cart",e.Shuffle="shuffle",e.Sidebar="sidebar",e.SkipBack="skip-back",e.SkipForward="skip-forward",e.Slack="slack",e.Slash="slash",e.Sliders="sliders",e.Smartphone="smartphone",e.Smile="smile",e.Speaker="speaker",e.Spinner="spinner",e.Square="square",e.Star="star",e.StopCircle="stop-circle",e.Sun="sun",e.Sunrise="sunrise",e.Sunset="sunset",e.Table="table",e.Tablet="tablet",e.Tag="tag",e.Target="target",e.Terminal="terminal",e.Thermometer="thermometer",e.ThumbsDown="thumbs-down",e.ThumbsUp="thumbs-up",e.ToggleLeft="toggle-left",e.ToggleRight="toggle-right",e.Tool="tool",e.Trash2="trash-2",e.Trash="trash",e.Trello="trello",e.TrendingDown="trending-down",e.TrendingUp="trending-up",e.Triangle="triangle",e.Truck="truck",e.Tv="tv",e.Twitch="twitch",e.Twitter="twitter",e.Type="type",e.Umbrella="umbrella",e.Underline="underline",e.Unlock="unlock",e.UploadCloud="upload-cloud",e.Upload="upload",e.UserCheck="user-check",e.UserMinus="user-minus",e.UserPlus="user-plus",e.UserX="user-x",e.User="user",e.Users="users",e.VideoOff="video-off",e.Video="video",e.Voicemail="voicemail",e.Volume1="volume-1",e.Volume2="volume-2",e.VolumeX="volume-x",e.Volume="volume",e.Watch="watch",e.WifiOff="wifi-off",e.Wifi="wifi",e.Wind="wind",e.XCircle="x-circle",e.XOctagon="x-octagon",e.XSquare="x-square",e.X="x",e.Youtube="youtube",e.ZapOff="zap-off",e.Zap="zap",e.ZoomIn="zoom-in",e.ZoomOut="zoom-out",e))(g||{});exports.INPUT_TEXT_COLOR=h;exports.INPUT_TEXT_SIZE=u;exports.INPUT_TEXT_STYLE=C;exports.Icons=g;exports.InputTextLabelStyles=d;exports.InputTextModes=t;exports.InputTextSizes=l;exports.InputTextStyles=a;exports.InputTextTypes=o;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),i=require("../component-D-EEi7NI.cjs"),v=require("../component-B1mkowwk.cjs"),L=require("../component-Bh3EPTN0.cjs"),u=require("../UIcon-B5rpDmHC.cjs"),S=require("../generics-9F1CmKPb.cjs"),C=require("../classes-HsjFV5aN.cjs"),j=require("react"),q="_iconContainerDesktop_1wxn3_25",I="_iconContainerMobile_1wxn3_34",b={iconContainerDesktop:q,iconContainerMobile:I},R=({id:s,name:p,handleImageChange:t,labelname:x,defaultValue:o,width:g="100%",height:y,ref:U,...d})=>{const[c,m]=j.useState(),[a,l]=j.useState(o);j.useEffect(()=>{if(o&&o!==""){l(o);return}else if(!c)return;const n=URL.createObjectURL(c);return l(n),()=>{var r;if(n!=="")r=n;else if(c&&a)r=a;else return;try{URL.revokeObjectURL(r)}catch{}}},[o,c]);const h=async n=>{if(!n.target.files||n.target.files.length===0)return;m(n.target.files[0]);const r=URL.createObjectURL(n.target.files[0]);l(r),t&&t(n.target.files[0])},f=()=>{m(void 0),l(void 0),t&&t(void 0)};return e.jsxs(i.Container,{children:[e.jsx("input",{id:s,ref:U,type:"file",name:p,onChange:h,accept:"image/png, image/jpeg, image/webp, image/jpg",style:{opacity:0,pointerEvents:"none",width:0,height:0,position:"absolute"},...d}),e.jsx("label",{htmlFor:s,onMouseEnter:()=>{},onMouseLeave:()=>{},style:{width:g,height:y,cursor:"pointer"},children:a?e.jsx(_,{src:a,width:g,handleCancel:f}):e.jsxs(v.Layout,{display:C.Displays.Flex,flexAlignItem:C.FlexAlignItems.Center,children:[e.jsx(i.Container,{marginRight:S.Spacings.Size1,children:e.jsx(L.Text_Span,{children:x||"Upload image"})}),e.jsx(i.Container,{className:`${b.iconContainerDesktop}`,children:e.jsx(u.UIcon,{name:"image"})}),e.jsx(i.Container,{className:`${b.iconContainerMobile}`,children:e.jsx(u.UIcon,{name:"camera"})})]})})]})},_=({src:s,width:p,handleCancel:t})=>e.jsxs(v.Layout,{children:[e.jsx(i.Container,{children:e.jsx("img",{alt:"preview",src:s,width:p})}),e.jsx(i.Container,{children:e.jsx(u.UIcon,{name:"x",iconAction:()=>t()})})]});exports.InputImage=R;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'react';
|
|
2
|
+
import { JSX } from 'react/jsx-runtime';
|
|
3
|
+
import { Ref } from 'react';
|
|
4
|
+
|
|
5
|
+
export declare const InputImage: ({ id, name, handleImageChange, labelname, defaultValue, width, height, ref, ...props }: P) => JSX.Element;
|
|
6
|
+
|
|
7
|
+
declare interface P extends HTMLAttributes<HTMLInputElement> {
|
|
8
|
+
id: string;
|
|
9
|
+
name: string;
|
|
10
|
+
handleImageChange?: (v: File | undefined) => void;
|
|
11
|
+
labelname?: string;
|
|
12
|
+
defaultValue?: string;
|
|
13
|
+
width?: number | string;
|
|
14
|
+
height?: number | string;
|
|
15
|
+
ref?: Ref<HTMLInputElement> | undefined;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export { }
|