@cfx-dev/ui-components 4.5.16 → 4.5.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/{Combination-2dfXEDc9.js → Combination-CcTTSYNP.js} +1 -1
- package/dist/{DropdownContent-CLtPVRZg.js → DropdownContent-MvHlrWi6.js} +4 -4
- package/dist/assets/all_css.css +2 -0
- package/dist/assets/css/DropdownSelect.css +1 -1
- package/dist/assets/css/Range.css +1 -0
- package/dist/assets/css/RangeInput.css +1 -0
- package/dist/assets/css/RichInput.css +1 -1
- package/dist/assets/css/Select.css +1 -1
- package/dist/assets/css/StyledInput.css +1 -1
- package/dist/components/Checkbox/Checkbox.js +23 -23
- package/dist/components/DropdownContent/DropdownContent.js +1 -1
- package/dist/components/DropdownContent/index.js +1 -1
- package/dist/components/DropdownMenu/DropdownMenu.js +1 -1
- package/dist/components/DropdownSelect/DropdownSelect.js +1 -1
- package/dist/components/Range/Range.d.ts +4 -0
- package/dist/components/Range/Range.js +90 -0
- package/dist/components/Range/Range.types.d.ts +9 -0
- package/dist/components/Range/Range.types.js +1 -0
- package/dist/components/Range/RangeInput.d.ts +13 -0
- package/dist/components/Range/RangeInput.js +78 -0
- package/dist/components/Range/RangeShowcase.d.ts +2 -0
- package/dist/components/Range/RangeShowcase.js +41 -0
- package/dist/components/Range/RangeWithInputs.d.ts +8 -0
- package/dist/components/Range/RangeWithInputs.js +81 -0
- package/dist/components/Range/index.d.ts +6 -0
- package/dist/components/Range/index.js +8 -0
- package/dist/components/Select/Select.js +3 -3
- package/dist/components/Slider/Slider.js +64 -472
- package/dist/components/Slider/SliderShowcase.js +6 -4
- package/dist/components/Switch/Switch.js +1 -1
- package/dist/{index-DWzyrn_L.js → index-3ctv5u9o.js} +1 -1
- package/dist/{index-BMU9X4M-.js → index-9LBuZ7x4.js} +7 -7
- package/dist/{index-DCuJlMqr.js → index-CfQtbUfi.js} +6 -6
- package/dist/index-D5SMGei3.js +427 -0
- package/dist/main.d.ts +2 -0
- package/dist/main.js +105 -99
- package/dist/styles-scss/_ui.scss +19 -17
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -2,101 +2,104 @@ import { mergeRefs as r } from "./utils/mergeRefs.js";
|
|
|
2
2
|
import { clsx as a } from "./utils/clsx.js";
|
|
3
3
|
import { getValue as m } from "./utils/getValue.js";
|
|
4
4
|
import { usePopoverController as x } from "./utils/hooks/usePopoverController.js";
|
|
5
|
-
import { useInstance as
|
|
5
|
+
import { useInstance as l } from "./utils/hooks/useInstance.js";
|
|
6
6
|
import { useDynamicRef as s } from "./utils/hooks/useDynamicRef.js";
|
|
7
7
|
import { useGlobalKeyboardEvent as d } from "./utils/hooks/useGlobalKeyboardEvent.js";
|
|
8
8
|
import { useKeyboardClose as T } from "./utils/hooks/useKeyboardClose.js";
|
|
9
|
-
import { useWindowResize as
|
|
10
|
-
import { useOutlet as
|
|
11
|
-
import { CLIPBOARD_TITLE_APPEARANCE as
|
|
9
|
+
import { useWindowResize as g } from "./utils/hooks/useWindowResize.js";
|
|
10
|
+
import { useOutlet as E } from "./utils/hooks/useOutlet.js";
|
|
11
|
+
import { CLIPBOARD_TITLE_APPEARANCE as L, useClipboardComponent as B } from "./utils/hooks/useClipboardComponent.js";
|
|
12
12
|
import { formatDate as y, formatLocaleDate as D, formatShortDate as P } from "./utils/formatDate.js";
|
|
13
13
|
import { CURRENCY_MAP as A, FREE_PRICE_TEXT as k, formatCurrency as _ } from "./utils/formatCurrency.js";
|
|
14
|
-
import { identity as O, invoke as
|
|
15
|
-
import { Linkify as z, defaultLinkReplacer as N, defaultLinkReplacerx as V, isExternalUrl as G, linkify as Y, linkifyx as H, matchLinkNodes as K, matchLinks as
|
|
14
|
+
import { identity as O, invoke as h, noop as v, returnFalse as U, returnTrue as M } from "./utils/functional.js";
|
|
15
|
+
import { Linkify as z, defaultLinkReplacer as N, defaultLinkReplacerx as V, isExternalUrl as G, linkify as Y, linkifyx as H, matchLinkNodes as K, matchLinks as W } from "./utils/links.js";
|
|
16
16
|
import { clamp as j, clamp01 as J, minmax as Q } from "./utils/math.js";
|
|
17
17
|
import { isFalseString as q, isTrueString as $, normalizeSlashes as oo, replaceRange as eo, splitByIndices as ro, unicodeCharAt as to } from "./utils/string.js";
|
|
18
18
|
import { debounce as fo, throttle as mo } from "./utils/execution.js";
|
|
19
19
|
import { getColor as xo } from "./utils/color.js";
|
|
20
|
-
import { ui as
|
|
21
|
-
import { BorderRadiusEnum as so, ColorEnum as io, MediaQueryEnum as co, OffsetEnum as To, TextSizeEnum as Io, ZIndexEnum as
|
|
22
|
-
import { isInEnum as
|
|
23
|
-
import { joaat32 as
|
|
20
|
+
import { ui as lo } from "./utils/ui/ui.js";
|
|
21
|
+
import { BorderRadiusEnum as so, ColorEnum as io, MediaQueryEnum as co, OffsetEnum as To, TextSizeEnum as Io, ZIndexEnum as go } from "./utils/ui/ui.types.js";
|
|
22
|
+
import { isInEnum as Eo } from "./utils/enum.js";
|
|
23
|
+
import { joaat32 as Lo } from "./utils/joaat32.js";
|
|
24
24
|
import { default as So } from "./components/IconButton/IconButton.js";
|
|
25
25
|
import { Accordion as Do, AccordionContent as Po, AccordionHeader as bo, AccordionItem as Ao, AccordionTrigger as ko } from "./components/Accordion/Accordion.js";
|
|
26
26
|
import { default as Fo } from "./components/ClipboardButton/ClipboardButton.js";
|
|
27
|
-
import { default as
|
|
27
|
+
import { default as ho } from "./components/Checkbox/Checkbox.js";
|
|
28
28
|
import { default as Uo, ButtonContent as Mo, getButtonClassName as wo } from "./components/Button/Button.js";
|
|
29
29
|
import { ButtonBar as No } from "./components/Button/ButtonBar.js";
|
|
30
30
|
import { LinkButton as Go } from "./components/Button/LinkButton.js";
|
|
31
31
|
import { BurgerMenuButton as Ho } from "./components/BurgerMenu/BurgerMenuButton.js";
|
|
32
|
-
import { BurgerMenu as
|
|
32
|
+
import { BurgerMenu as Wo } from "./components/BurgerMenu/BurgerMenu.js";
|
|
33
33
|
import { default as jo, getLinkClassName as Jo, getLinkStyles as Qo } from "./components/Link/Link.js";
|
|
34
34
|
import { default as qo } from "./components/Link/ButtonLink.js";
|
|
35
35
|
import { Avatar as oe } from "./components/Avatar/Avatar.js";
|
|
36
36
|
import { BACKDROP_OUTLET_ID as re, default as te } from "./components/BackdropPortal/BackdropPortal.js";
|
|
37
37
|
import { Badge as fe } from "./components/Badge/Badge.js";
|
|
38
38
|
import { default as pe } from "./components/ControlBox/ControlBox.js";
|
|
39
|
-
import { default as
|
|
39
|
+
import { default as ne } from "./components/CountryFlag/CountryFlag.js";
|
|
40
40
|
import { default as ue } from "./components/Decorate/Decorate.js";
|
|
41
41
|
import { Dot as ie } from "./components/Dot/Dot.js";
|
|
42
42
|
import { FLYOUT_OUTLET_ID as ce, Flyout as Te } from "./components/Flyout/Flyout.js";
|
|
43
|
-
import { Logos as
|
|
44
|
-
import { I as
|
|
45
|
-
import { I as
|
|
43
|
+
import { Logos as ge } from "./components/Logos/index.js";
|
|
44
|
+
import { I as Ee } from "./cfxIcons-B4SQ4Ljd.js";
|
|
45
|
+
import { I as Le } from "./cfxIconsBig-BLJjMT-Y.js";
|
|
46
46
|
import { Icon as Se } from "./components/Icon/Icon.js";
|
|
47
47
|
import { IconBig as De } from "./components/IconBig/IconBig.js";
|
|
48
48
|
import { Indicator as be } from "./components/Indicator/Indicator.js";
|
|
49
49
|
import { default as ke } from "./components/InfoPanel/InfoPanel.js";
|
|
50
50
|
import { default as Fe } from "./components/Input/Input.js";
|
|
51
|
-
import { default as
|
|
51
|
+
import { default as he } from "./components/Input/RichInput.js";
|
|
52
52
|
import { default as Ue } from "./components/StyledInput/StyledInput.js";
|
|
53
53
|
import { Interactive as we } from "./components/Interactive/Interactive.js";
|
|
54
54
|
import { Island as Ne, IslandCorner as Ve } from "./components/Island/Island.js";
|
|
55
55
|
import { default as Ye } from "./components/Box/Box.js";
|
|
56
56
|
import { stringPropFormater as Ke } from "./components/RSC/Box/Box.js";
|
|
57
|
-
import { Center as
|
|
57
|
+
import { Center as Xe } from "./components/Layout/Center/Center.js";
|
|
58
58
|
import { default as Je } from "./components/Flex/Flex.js";
|
|
59
59
|
import { FlexAlignItemsEnum as Ze, FlexDirectionEnum as qe, FlexJustifyContentEnum as $e, FlexWrapEnum as or } from "./components/RSC/Flex/Flex.types.js";
|
|
60
60
|
import { FlexRestricter as rr } from "./components/RSC/Flex/FlexRestricter.js";
|
|
61
61
|
import { Pad as ar } from "./components/Layout/Pad/Pad.js";
|
|
62
62
|
import { Page as mr } from "./components/Layout/Page/Page.js";
|
|
63
63
|
import { R as xr } from "./Rail-CHFAf3wJ.js";
|
|
64
|
-
import { Scrollable as
|
|
64
|
+
import { Scrollable as lr } from "./components/Scrollable/Scrollable.js";
|
|
65
65
|
import { VirtualScrollable as sr } from "./components/Scrollable/VirtualScrollable.js";
|
|
66
66
|
import { Loaf as dr } from "./components/Loaf/Loaf.js";
|
|
67
67
|
import { Modal as Tr } from "./components/Modal/Modal.js";
|
|
68
|
-
import { NavList as
|
|
69
|
-
import { OVERLAY_OUTLET_ID as
|
|
70
|
-
import { default as
|
|
68
|
+
import { NavList as gr } from "./components/NavList/NavList.js";
|
|
69
|
+
import { OVERLAY_OUTLET_ID as Er, Overlay as Rr } from "./components/Overlay/Overlay.js";
|
|
70
|
+
import { default as Br } from "./components/Pagination/Pagination.js";
|
|
71
71
|
import { Popover as yr } from "./components/Popover/Popover.js";
|
|
72
72
|
import { PremiumBadge as Pr } from "./components/PremiumBadge/PremiumBadge.js";
|
|
73
73
|
import { Prose as Ar } from "./components/Prose/Prose.js";
|
|
74
74
|
import { Radio as _r } from "./components/Radio/Radio.js";
|
|
75
75
|
import { Select as Or } from "./components/Select/Select.js";
|
|
76
|
-
import { DropdownSelect as
|
|
76
|
+
import { DropdownSelect as vr } from "./components/DropdownSelect/DropdownSelect.js";
|
|
77
77
|
import { default as Mr } from "./components/DropdownMenu/DropdownMenu.js";
|
|
78
78
|
import { Separator as zr } from "./components/Separator/Separator.js";
|
|
79
79
|
import { Shroud as Vr } from "./components/Shroud/Shroud.js";
|
|
80
80
|
import { Slider as Yr } from "./components/Slider/Slider.js";
|
|
81
|
-
import {
|
|
82
|
-
import {
|
|
83
|
-
import { default as
|
|
84
|
-
import {
|
|
85
|
-
import {
|
|
86
|
-
import {
|
|
87
|
-
import {
|
|
88
|
-
import {
|
|
89
|
-
import {
|
|
90
|
-
import {
|
|
91
|
-
import {
|
|
92
|
-
import {
|
|
93
|
-
import {
|
|
94
|
-
import {
|
|
95
|
-
import { default as
|
|
96
|
-
import {
|
|
97
|
-
import {
|
|
98
|
-
import {
|
|
99
|
-
import { default as zt } from "./components/
|
|
81
|
+
import { default as Kr } from "./components/Range/Range.js";
|
|
82
|
+
import { default as Xr } from "./components/Range/RangeInput.js";
|
|
83
|
+
import { default as Jr } from "./components/Range/RangeWithInputs.js";
|
|
84
|
+
import { Spacer as Zr } from "./components/Spacer/Spacer.js";
|
|
85
|
+
import { Style as $r, useContextualStyle as ot } from "./components/Style/Style.js";
|
|
86
|
+
import { default as rt } from "./components/Switch/Switch.js";
|
|
87
|
+
import { ToggleGroup as at } from "./components/ToggleGroup/ToggleGroup.js";
|
|
88
|
+
import { Tabular as mt } from "./components/Tabular/Tabular.js";
|
|
89
|
+
import { DataTable as xt, DataTableHeaderItem as nt, DataTableRow as lt } from "./components/DataTable/DataTable.js";
|
|
90
|
+
import { Table as st } from "./components/Table/index.js";
|
|
91
|
+
import { default as dt } from "./components/TableResponsiveText/TableResponsiveText.js";
|
|
92
|
+
import { DEFAULT_TEXT_COLOR as Tt, TEXT_OPACITY_MAP as It, Text as gt, TextBlock as Ct, getTextOpacity as Et, lineHeightResponsiveValueFormatter as Rt, textSizeResponsiveValueFormatter as Lt } from "./components/Text/Text.js";
|
|
93
|
+
import { default as St } from "./components/Label/Label.js";
|
|
94
|
+
import { Textarea as Dt } from "./components/Textarea/Textarea.js";
|
|
95
|
+
import { default as bt } from "./components/StyledTextarea/StyledTextarea.js";
|
|
96
|
+
import { TITLE_OUTLET_ID as kt, Title as _t, titleGetCoords as Ft, titleGetCssStyle as Ot } from "./components/Title/Title.js";
|
|
97
|
+
import { default as vt } from "./components/InputDropzone/InputDropzone.js";
|
|
98
|
+
import { default as Mt } from "./components/InputDropzone/ItemPreview.js";
|
|
99
|
+
import { default as zt } from "./components/Skeleton/Skeleton.js";
|
|
100
|
+
import { OnScreenSensor as Vt } from "./components/OnScreenSensor.js";
|
|
101
|
+
import { Symbols as Yt } from "./components/Symbols.js";
|
|
102
|
+
import { default as Kt } from "./components/Table/TableIconButton.js";
|
|
100
103
|
export {
|
|
101
104
|
Do as Accordion,
|
|
102
105
|
Po as AccordionContent,
|
|
@@ -109,29 +112,29 @@ export {
|
|
|
109
112
|
fe as Badge,
|
|
110
113
|
so as BorderRadiusEnum,
|
|
111
114
|
Ye as Box,
|
|
112
|
-
|
|
115
|
+
Wo as BurgerMenu,
|
|
113
116
|
Ho as BurgerMenuButton,
|
|
114
117
|
Uo as Button,
|
|
115
118
|
No as ButtonBar,
|
|
116
119
|
Mo as ButtonContent,
|
|
117
120
|
qo as ButtonLink,
|
|
118
|
-
|
|
121
|
+
L as CLIPBOARD_TITLE_APPEARANCE,
|
|
119
122
|
A as CURRENCY_MAP,
|
|
120
|
-
|
|
121
|
-
|
|
123
|
+
Xe as Center,
|
|
124
|
+
ho as Checkbox,
|
|
122
125
|
Fo as ClipboardButton,
|
|
123
126
|
io as ColorEnum,
|
|
124
127
|
pe as ControlBox,
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
128
|
+
ne as CountryFlag,
|
|
129
|
+
Tt as DEFAULT_TEXT_COLOR,
|
|
130
|
+
xt as DataTable,
|
|
131
|
+
nt as DataTableHeaderItem,
|
|
132
|
+
lt as DataTableRow,
|
|
130
133
|
ue as Decorate,
|
|
131
134
|
ie as Dot,
|
|
132
135
|
Mr as DropdownMenu,
|
|
133
|
-
|
|
134
|
-
|
|
136
|
+
vr as DropdownSelect,
|
|
137
|
+
Mt as DropzoneItemPreview,
|
|
135
138
|
ce as FLYOUT_OUTLET_ID,
|
|
136
139
|
k as FREE_PRICE_TEXT,
|
|
137
140
|
Je as Flex,
|
|
@@ -144,63 +147,66 @@ export {
|
|
|
144
147
|
Se as Icon,
|
|
145
148
|
De as IconBig,
|
|
146
149
|
So as IconButton,
|
|
147
|
-
|
|
148
|
-
|
|
150
|
+
Ee as Icons,
|
|
151
|
+
Le as IconsBig,
|
|
149
152
|
be as Indicator,
|
|
150
153
|
ke as InfoPanel,
|
|
151
154
|
Fe as Input,
|
|
152
|
-
|
|
155
|
+
vt as InputDropzone,
|
|
153
156
|
we as Interactive,
|
|
154
157
|
Ne as Island,
|
|
155
158
|
Ve as IslandCorner,
|
|
156
|
-
|
|
159
|
+
St as Label,
|
|
157
160
|
jo as Link,
|
|
158
161
|
Go as LinkButton,
|
|
159
162
|
z as Linkify,
|
|
160
163
|
dr as Loaf,
|
|
161
|
-
|
|
164
|
+
ge as Logos,
|
|
162
165
|
co as MediaQueryEnum,
|
|
163
166
|
Tr as Modal,
|
|
164
|
-
|
|
165
|
-
|
|
167
|
+
gr as NavList,
|
|
168
|
+
Er as OVERLAY_OUTLET_ID,
|
|
166
169
|
To as OffsetEnum,
|
|
167
|
-
|
|
168
|
-
|
|
170
|
+
Vt as OnScreenSensor,
|
|
171
|
+
Rr as Overlay,
|
|
169
172
|
ar as Pad,
|
|
170
173
|
mr as Page,
|
|
171
|
-
|
|
174
|
+
Br as Pagination,
|
|
172
175
|
yr as Popover,
|
|
173
176
|
Pr as PremiumBadge,
|
|
174
177
|
Ar as Prose,
|
|
175
178
|
_r as Radio,
|
|
176
179
|
xr as Rail,
|
|
177
|
-
|
|
178
|
-
|
|
180
|
+
Kr as Range,
|
|
181
|
+
Xr as RangeInput,
|
|
182
|
+
Jr as RangeWithInputs,
|
|
183
|
+
he as RichInput,
|
|
184
|
+
lr as Scrollable,
|
|
179
185
|
Or as Select,
|
|
180
186
|
zr as Separator,
|
|
181
187
|
Vr as Shroud,
|
|
182
|
-
|
|
188
|
+
zt as Skeleton,
|
|
183
189
|
Yr as Slider,
|
|
184
|
-
|
|
185
|
-
|
|
190
|
+
Zr as Spacer,
|
|
191
|
+
$r as Style,
|
|
186
192
|
Ue as StyledInput,
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
193
|
+
bt as StyledTextarea,
|
|
194
|
+
rt as Switch,
|
|
195
|
+
Yt as Symbols,
|
|
196
|
+
It as TEXT_OPACITY_MAP,
|
|
197
|
+
kt as TITLE_OUTLET_ID,
|
|
198
|
+
st as Table,
|
|
199
|
+
Kt as TableIconButton,
|
|
200
|
+
dt as TableResponsiveText,
|
|
201
|
+
mt as Tabular,
|
|
202
|
+
gt as Text,
|
|
203
|
+
Ct as TextBlock,
|
|
198
204
|
Io as TextSizeEnum,
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
205
|
+
Dt as Textarea,
|
|
206
|
+
_t as Title,
|
|
207
|
+
at as ToggleGroup,
|
|
202
208
|
sr as VirtualScrollable,
|
|
203
|
-
|
|
209
|
+
go as ZIndexEnum,
|
|
204
210
|
j as clamp,
|
|
205
211
|
J as clamp01,
|
|
206
212
|
a as clsx,
|
|
@@ -215,42 +221,42 @@ export {
|
|
|
215
221
|
xo as getColor,
|
|
216
222
|
Jo as getLinkClassName,
|
|
217
223
|
Qo as getLinkStyles,
|
|
218
|
-
|
|
224
|
+
Et as getTextOpacity,
|
|
219
225
|
m as getValue,
|
|
220
226
|
O as identity,
|
|
221
|
-
|
|
227
|
+
h as invoke,
|
|
222
228
|
G as isExternalUrl,
|
|
223
229
|
q as isFalseString,
|
|
224
|
-
|
|
230
|
+
Eo as isInEnum,
|
|
225
231
|
$ as isTrueString,
|
|
226
|
-
|
|
227
|
-
|
|
232
|
+
Lo as joaat32,
|
|
233
|
+
Rt as lineHeightResponsiveValueFormatter,
|
|
228
234
|
Y as linkify,
|
|
229
235
|
H as linkifyx,
|
|
230
236
|
K as matchLinkNodes,
|
|
231
|
-
|
|
237
|
+
W as matchLinks,
|
|
232
238
|
r as mergeRefs,
|
|
233
239
|
Q as minmax,
|
|
234
|
-
|
|
240
|
+
v as noop,
|
|
235
241
|
oo as normalizeSlashes,
|
|
236
242
|
eo as replaceRange,
|
|
237
243
|
U as returnFalse,
|
|
238
244
|
M as returnTrue,
|
|
239
245
|
ro as splitByIndices,
|
|
240
246
|
Ke as stringPropFormater,
|
|
241
|
-
|
|
247
|
+
Lt as textSizeResponsiveValueFormatter,
|
|
242
248
|
mo as throttle,
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
249
|
+
Ft as titleGetCoords,
|
|
250
|
+
Ot as titleGetCssStyle,
|
|
251
|
+
lo as ui,
|
|
246
252
|
to as unicodeCharAt,
|
|
247
|
-
|
|
248
|
-
|
|
253
|
+
B as useClipboardComponent,
|
|
254
|
+
ot as useContextualStyle,
|
|
249
255
|
s as useDynamicRef,
|
|
250
256
|
d as useGlobalKeyboardEvent,
|
|
251
|
-
|
|
257
|
+
l as useInstance,
|
|
252
258
|
T as useKeyboardClose,
|
|
253
|
-
|
|
259
|
+
E as useOutlet,
|
|
254
260
|
x as usePopoverController,
|
|
255
|
-
|
|
261
|
+
g as useWindowResize
|
|
256
262
|
};
|
|
@@ -37,6 +37,16 @@
|
|
|
37
37
|
@return calc(var(--quant) * #{$multiplier});
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
+
$controlHeightsMap: (
|
|
41
|
+
'xxsmall': q(1.5),
|
|
42
|
+
'xsmall': q(3),
|
|
43
|
+
'small': q(4),
|
|
44
|
+
'normal': q(6),
|
|
45
|
+
'large': q(7),
|
|
46
|
+
'xlarge': q(10),
|
|
47
|
+
'xxlarge': q(12.5),
|
|
48
|
+
);
|
|
49
|
+
|
|
40
50
|
@function control-height($size: 'normal') {
|
|
41
51
|
@return var(--control-height-#{$size});
|
|
42
52
|
}
|
|
@@ -77,6 +87,15 @@
|
|
|
77
87
|
line-height: var(--line-height-#{$size});
|
|
78
88
|
}
|
|
79
89
|
|
|
90
|
+
$borderRadiusMap: (
|
|
91
|
+
'none': 0px,
|
|
92
|
+
'xxsmall': q(0.25),
|
|
93
|
+
'xsmall': q(0.5),
|
|
94
|
+
'small': q(0.75),
|
|
95
|
+
'normal': q(1.5),
|
|
96
|
+
'pill': 9999px,
|
|
97
|
+
);
|
|
98
|
+
|
|
80
99
|
@function border-radius($size: 'normal') {
|
|
81
100
|
@return var(--border-radius-#{$size});
|
|
82
101
|
}
|
|
@@ -411,20 +430,3 @@ $mpMap: (
|
|
|
411
430
|
pb: padding-bottom,
|
|
412
431
|
pl: padding-left,
|
|
413
432
|
);
|
|
414
|
-
$controlHeightsMap: (
|
|
415
|
-
'xxsmall': q(1.5),
|
|
416
|
-
'xsmall': q(3),
|
|
417
|
-
'small': q(4),
|
|
418
|
-
'normal': q(6),
|
|
419
|
-
'large': q(7),
|
|
420
|
-
'xlarge': q(10),
|
|
421
|
-
'xxlarge': q(12.5),
|
|
422
|
-
);
|
|
423
|
-
$borderRadiusMap: (
|
|
424
|
-
'none': 0px,
|
|
425
|
-
'xxsmall': q(0.25),
|
|
426
|
-
'xsmall': q(0.5),
|
|
427
|
-
'small': q(0.75),
|
|
428
|
-
'normal': q(1.5),
|
|
429
|
-
'pill': 9999px,
|
|
430
|
-
);
|