@preply/ds-web-lib 1.2.0 → 1.2.1
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/assets/Avatar.css +79 -79
- package/dist/assets/AvatarWithStatus.css +12 -12
- package/dist/assets/Badge.css +24 -24
- package/dist/assets/Box.css +171 -171
- package/dist/assets/Button.css +7 -7
- package/dist/assets/ButtonBase.css +245 -245
- package/dist/assets/Chips.css +16 -16
- package/dist/assets/FieldAdditionalText.css +6 -6
- package/dist/assets/FieldButton.css +8 -8
- package/dist/assets/FieldLabel.css +8 -8
- package/dist/assets/FieldLayout.css +29 -29
- package/dist/assets/FieldLayoutBase.css +4 -4
- package/dist/assets/Heading.css +100 -100
- package/dist/assets/Icon.css +14 -14
- package/dist/assets/LayoutFlex.css +1 -1
- package/dist/assets/LayoutFlexItem.css +14 -14
- package/dist/assets/Link.css +32 -32
- package/dist/assets/Loader.css +4 -4
- package/dist/assets/PreplyLogo.css +9 -9
- package/dist/assets/SelectFieldLayout.css +18 -18
- package/dist/assets/Spinner.css +26 -26
- package/dist/assets/Text.css +227 -227
- package/dist/assets/TextHighlighted.css +14 -14
- package/dist/assets/TextInline.css +5 -5
- package/dist/assets/Toast.css +12 -12
- package/dist/assets/align-self.css +25 -25
- package/dist/assets/color.css +39 -39
- package/dist/assets/index.css +16 -16
- package/dist/assets/layout-gap.css +135 -135
- package/dist/assets/layout-grid.css +100 -100
- package/dist/assets/layout-hide.css +49 -49
- package/dist/assets/layout-padding.css +531 -531
- package/dist/assets/layout-relative.css +2 -2
- package/dist/assets/text-accent.css +18 -18
- package/dist/assets/text-centered.css +13 -13
- package/dist/assets/text-weight.css +8 -8
- package/dist/components/Avatar/Avatar.js +74 -74
- package/dist/components/AvatarWithStatus/AvatarWithStatus.js +10 -10
- package/dist/components/Badge/Badge.js +1 -1
- package/dist/components/Box/Box.js +150 -150
- package/dist/components/Button/Button.js +1 -1
- package/dist/components/Chips/Chips.js +4 -4
- package/dist/components/FieldAdditionalText/FieldAdditionalText.js +3 -3
- package/dist/components/FieldButton/FieldButton.js +1 -1
- package/dist/components/FieldLayout/FieldLayout.js +7 -7
- package/dist/components/Heading/Heading.js +97 -97
- package/dist/components/Icon/Icon.js +10 -10
- package/dist/components/LayoutFlex/LayoutFlex.d.ts.map +1 -1
- package/dist/components/LayoutFlex/LayoutFlex.js +7 -1
- package/dist/components/LayoutFlexItem/LayoutFlexItem.js +13 -13
- package/dist/components/Link/Link.js +18 -18
- package/dist/components/Loader/Loader.js +3 -3
- package/dist/components/PreplyLogo/PreplyLogo.js +2 -2
- package/dist/components/Text/Text.js +224 -224
- package/dist/components/TextHighlighted/TextHighlighted.js +11 -11
- package/dist/components/TextInline/TextInline.js +2 -2
- package/dist/components/Toast/Toast.js +5 -5
- package/dist/components/private/ButtonBase/ButtonBase.js +173 -173
- package/dist/components/private/FieldLabel/FieldLabel.js +5 -5
- package/dist/components/private/FieldLayoutBase/FieldLayoutBase.js +1 -1
- package/dist/components/private/Input/Checkbox.js +1 -1
- package/dist/components/private/Input/InputDate.js +1 -1
- package/dist/components/private/Input/InputNumber.js +1 -1
- package/dist/components/private/Input/InputPassword.js +1 -1
- package/dist/components/private/Input/InputText.js +1 -1
- package/dist/components/private/Input/InputTime.js +1 -1
- package/dist/components/private/Input/Radio.js +1 -1
- package/dist/components/private/Input/Select.js +1 -1
- package/dist/components/private/Input/Textarea.js +1 -1
- package/dist/components/private/SelectFieldLayout/SelectFieldLayout.js +8 -8
- package/dist/components/private/Spinner/Spinner.js +16 -16
- package/dist/index.module-DZP-XLyR.js +27 -0
- package/dist/layout-gap.module-CUq_Sxlu.js +139 -0
- package/dist/{layout-grid.module-CCDogt-5.js → layout-grid.module-Boq5jqfY.js} +97 -97
- package/dist/layout-hide.module-CULyU9vR.js +55 -0
- package/dist/layout-relative.module-CrL5-3Cn.js +8 -0
- package/dist/shared-styles/align-self/align-self.js +25 -25
- package/dist/shared-styles/color/color.js +38 -38
- package/dist/shared-styles/layout-gap/layout-gap.js +1 -136
- package/dist/shared-styles/layout-grid/layout-grid.js +1 -1
- package/dist/shared-styles/layout-grid-responsive-columns/layout-grid-responsive-columns.js +1 -1
- package/dist/shared-styles/layout-hide/layout-hide.js +1 -52
- package/dist/shared-styles/layout-padding/layout-padding.js +529 -529
- package/dist/shared-styles/layout-relative/layout-relative.js +1 -5
- package/dist/shared-styles/text-accent/text-accent.js +17 -17
- package/dist/shared-styles/text-centered/text-centered.js +13 -13
- package/dist/shared-styles/text-weight/text-weight.js +7 -7
- package/package.json +14 -14
- package/dist/index.module-DfmwkSFE.js +0 -27
|
@@ -3,158 +3,158 @@ import { BOX_RADIUS_DEFAULT, BOX_PADDING_DEFAULT, LAYOUT_TAG_DEFAULT } from "@pr
|
|
|
3
3
|
import { webComponentNames } from "@preply/ds-visual-coverage-component-names";
|
|
4
4
|
import { moduleClassNames, stringClassNames, getDatasetProps } from "@preply/ds-web-core";
|
|
5
5
|
import { getLayoutPaddingClassnames } from "../../shared-styles/layout-padding/layout-padding.js";
|
|
6
|
-
import '../../assets/Box.css';const Box$1 = "
|
|
6
|
+
import '../../assets/Box.css';const Box$1 = "_Box_1fbvc_4";
|
|
7
7
|
const styles = {
|
|
8
8
|
Box: Box$1,
|
|
9
|
-
"Box--box-radius-none": "_Box--box-radius-
|
|
10
|
-
"Box--box-radius-m": "_Box--box-radius-
|
|
11
|
-
"Box--box-radius-l": "_Box--box-radius-
|
|
12
|
-
"Box--box-radius-2": "_Box--box-radius-
|
|
13
|
-
"Box--box-radius-4": "_Box--box-radius-
|
|
14
|
-
"Box--box-radius-8": "_Box--box-radius-
|
|
15
|
-
"Box--box-radius-0": "_Box--box-radius-
|
|
16
|
-
"Box--box-radius-12": "_Box--box-radius-
|
|
17
|
-
"Box--box-radius-16": "_Box--box-radius-
|
|
18
|
-
"Box--box-radius-24": "_Box--box-radius-
|
|
19
|
-
"Box--box-radius-32": "_Box--box-radius-
|
|
20
|
-
"Box--box-radius-48": "_Box--box-radius-
|
|
21
|
-
"Box--box-radius-64": "_Box--box-radius-
|
|
22
|
-
"Box--box-radius-96": "_Box--box-radius-
|
|
23
|
-
"Box--box-radius-160": "_Box--box-radius-
|
|
24
|
-
"Box--narrow-l--box-radius-none": "_Box--narrow-l--box-radius-
|
|
25
|
-
"Box--narrow-l--box-radius-m": "_Box--narrow-l--box-radius-
|
|
26
|
-
"Box--narrow-l--box-radius-l": "_Box--narrow-l--box-radius-
|
|
27
|
-
"Box--narrow-l--box-radius-2": "_Box--narrow-l--box-radius-
|
|
28
|
-
"Box--narrow-l--box-radius-4": "_Box--narrow-l--box-radius-
|
|
29
|
-
"Box--narrow-l--box-radius-8": "_Box--narrow-l--box-radius-
|
|
30
|
-
"Box--narrow-l--box-radius-0": "_Box--narrow-l--box-radius-
|
|
31
|
-
"Box--narrow-l--box-radius-12": "_Box--narrow-l--box-radius-
|
|
32
|
-
"Box--narrow-l--box-radius-16": "_Box--narrow-l--box-radius-
|
|
33
|
-
"Box--narrow-l--box-radius-24": "_Box--narrow-l--box-radius-
|
|
34
|
-
"Box--narrow-l--box-radius-32": "_Box--narrow-l--box-radius-
|
|
35
|
-
"Box--narrow-l--box-radius-48": "_Box--narrow-l--box-radius-
|
|
36
|
-
"Box--narrow-l--box-radius-64": "_Box--narrow-l--box-radius-
|
|
37
|
-
"Box--narrow-l--box-radius-96": "_Box--narrow-l--box-radius-
|
|
38
|
-
"Box--narrow-l--box-radius-160": "_Box--narrow-l--box-radius-
|
|
39
|
-
"Box--medium-s--box-radius-none": "_Box--medium-s--box-radius-
|
|
40
|
-
"Box--medium-s--box-radius-m": "_Box--medium-s--box-radius-
|
|
41
|
-
"Box--medium-s--box-radius-l": "_Box--medium-s--box-radius-
|
|
42
|
-
"Box--medium-s--box-radius-2": "_Box--medium-s--box-radius-
|
|
43
|
-
"Box--medium-s--box-radius-4": "_Box--medium-s--box-radius-
|
|
44
|
-
"Box--medium-s--box-radius-8": "_Box--medium-s--box-radius-
|
|
45
|
-
"Box--medium-s--box-radius-0": "_Box--medium-s--box-radius-
|
|
46
|
-
"Box--medium-s--box-radius-12": "_Box--medium-s--box-radius-
|
|
47
|
-
"Box--medium-s--box-radius-16": "_Box--medium-s--box-radius-
|
|
48
|
-
"Box--medium-s--box-radius-24": "_Box--medium-s--box-radius-
|
|
49
|
-
"Box--medium-s--box-radius-32": "_Box--medium-s--box-radius-
|
|
50
|
-
"Box--medium-s--box-radius-48": "_Box--medium-s--box-radius-
|
|
51
|
-
"Box--medium-s--box-radius-64": "_Box--medium-s--box-radius-
|
|
52
|
-
"Box--medium-s--box-radius-96": "_Box--medium-s--box-radius-
|
|
53
|
-
"Box--medium-s--box-radius-160": "_Box--medium-s--box-radius-
|
|
54
|
-
"Box--medium-l--box-radius-none": "_Box--medium-l--box-radius-
|
|
55
|
-
"Box--medium-l--box-radius-m": "_Box--medium-l--box-radius-
|
|
56
|
-
"Box--medium-l--box-radius-l": "_Box--medium-l--box-radius-
|
|
57
|
-
"Box--medium-l--box-radius-2": "_Box--medium-l--box-radius-
|
|
58
|
-
"Box--medium-l--box-radius-4": "_Box--medium-l--box-radius-
|
|
59
|
-
"Box--medium-l--box-radius-8": "_Box--medium-l--box-radius-
|
|
60
|
-
"Box--medium-l--box-radius-0": "_Box--medium-l--box-radius-
|
|
61
|
-
"Box--medium-l--box-radius-12": "_Box--medium-l--box-radius-
|
|
62
|
-
"Box--medium-l--box-radius-16": "_Box--medium-l--box-radius-
|
|
63
|
-
"Box--medium-l--box-radius-24": "_Box--medium-l--box-radius-
|
|
64
|
-
"Box--medium-l--box-radius-32": "_Box--medium-l--box-radius-
|
|
65
|
-
"Box--medium-l--box-radius-48": "_Box--medium-l--box-radius-
|
|
66
|
-
"Box--medium-l--box-radius-64": "_Box--medium-l--box-radius-
|
|
67
|
-
"Box--medium-l--box-radius-96": "_Box--medium-l--box-radius-
|
|
68
|
-
"Box--medium-l--box-radius-160": "_Box--medium-l--box-radius-
|
|
69
|
-
"Box--wide-s--box-radius-none": "_Box--wide-s--box-radius-
|
|
70
|
-
"Box--wide-s--box-radius-m": "_Box--wide-s--box-radius-
|
|
71
|
-
"Box--wide-s--box-radius-l": "_Box--wide-s--box-radius-
|
|
72
|
-
"Box--wide-s--box-radius-2": "_Box--wide-s--box-radius-
|
|
73
|
-
"Box--wide-s--box-radius-4": "_Box--wide-s--box-radius-
|
|
74
|
-
"Box--wide-s--box-radius-8": "_Box--wide-s--box-radius-
|
|
75
|
-
"Box--wide-s--box-radius-0": "_Box--wide-s--box-radius-
|
|
76
|
-
"Box--wide-s--box-radius-12": "_Box--wide-s--box-radius-
|
|
77
|
-
"Box--wide-s--box-radius-16": "_Box--wide-s--box-radius-
|
|
78
|
-
"Box--wide-s--box-radius-24": "_Box--wide-s--box-radius-
|
|
79
|
-
"Box--wide-s--box-radius-32": "_Box--wide-s--box-radius-
|
|
80
|
-
"Box--wide-s--box-radius-48": "_Box--wide-s--box-radius-
|
|
81
|
-
"Box--wide-s--box-radius-64": "_Box--wide-s--box-radius-
|
|
82
|
-
"Box--wide-s--box-radius-96": "_Box--wide-s--box-radius-
|
|
83
|
-
"Box--wide-s--box-radius-160": "_Box--wide-s--box-radius-
|
|
84
|
-
"Box--wide-l--box-radius-none": "_Box--wide-l--box-radius-
|
|
85
|
-
"Box--wide-l--box-radius-m": "_Box--wide-l--box-radius-
|
|
86
|
-
"Box--wide-l--box-radius-l": "_Box--wide-l--box-radius-
|
|
87
|
-
"Box--wide-l--box-radius-2": "_Box--wide-l--box-radius-
|
|
88
|
-
"Box--wide-l--box-radius-4": "_Box--wide-l--box-radius-
|
|
89
|
-
"Box--wide-l--box-radius-8": "_Box--wide-l--box-radius-
|
|
90
|
-
"Box--wide-l--box-radius-0": "_Box--wide-l--box-radius-
|
|
91
|
-
"Box--wide-l--box-radius-12": "_Box--wide-l--box-radius-
|
|
92
|
-
"Box--wide-l--box-radius-16": "_Box--wide-l--box-radius-
|
|
93
|
-
"Box--wide-l--box-radius-24": "_Box--wide-l--box-radius-
|
|
94
|
-
"Box--wide-l--box-radius-32": "_Box--wide-l--box-radius-
|
|
95
|
-
"Box--wide-l--box-radius-48": "_Box--wide-l--box-radius-
|
|
96
|
-
"Box--wide-l--box-radius-64": "_Box--wide-l--box-radius-
|
|
97
|
-
"Box--wide-l--box-radius-96": "_Box--wide-l--box-radius-
|
|
98
|
-
"Box--wide-l--box-radius-160": "_Box--wide-l--box-radius-
|
|
99
|
-
"Box--background-white": "_Box--background-
|
|
100
|
-
"Box--background-gray-100": "_Box--background-gray-
|
|
101
|
-
"Box--background-gray-200": "_Box--background-gray-
|
|
102
|
-
"Box--background-gray-300": "_Box--background-gray-
|
|
103
|
-
"Box--background-gray-400": "_Box--background-gray-
|
|
104
|
-
"Box--background-gray-500": "_Box--background-gray-
|
|
105
|
-
"Box--background-gray-600": "_Box--background-gray-
|
|
106
|
-
"Box--background-teal-100": "_Box--background-teal-
|
|
107
|
-
"Box--background-teal-200": "_Box--background-teal-
|
|
108
|
-
"Box--background-teal-300": "_Box--background-teal-
|
|
109
|
-
"Box--background-teal-400": "_Box--background-teal-
|
|
110
|
-
"Box--background-teal-500": "_Box--background-teal-
|
|
111
|
-
"Box--background-green-100": "_Box--background-green-
|
|
112
|
-
"Box--background-green-200": "_Box--background-green-
|
|
113
|
-
"Box--background-green-300": "_Box--background-green-
|
|
114
|
-
"Box--background-green-400": "_Box--background-green-
|
|
115
|
-
"Box--background-green-500": "_Box--background-green-
|
|
116
|
-
"Box--background-yellow-100": "_Box--background-yellow-
|
|
117
|
-
"Box--background-yellow-200": "_Box--background-yellow-
|
|
118
|
-
"Box--background-yellow-300": "_Box--background-yellow-
|
|
119
|
-
"Box--background-yellow-400": "_Box--background-yellow-
|
|
120
|
-
"Box--background-yellow-500": "_Box--background-yellow-
|
|
121
|
-
"Box--background-red-100": "_Box--background-red-
|
|
122
|
-
"Box--background-red-200": "_Box--background-red-
|
|
123
|
-
"Box--background-red-300": "_Box--background-red-
|
|
124
|
-
"Box--background-red-400": "_Box--background-red-
|
|
125
|
-
"Box--background-red-500": "_Box--background-red-
|
|
126
|
-
"Box--background-blue-100": "_Box--background-blue-
|
|
127
|
-
"Box--background-blue-200": "_Box--background-blue-
|
|
128
|
-
"Box--background-blue-300": "_Box--background-blue-
|
|
129
|
-
"Box--background-blue-400": "_Box--background-blue-
|
|
130
|
-
"Box--background-blue-500": "_Box--background-blue-
|
|
131
|
-
"Box--background-magenta-100": "_Box--background-magenta-
|
|
132
|
-
"Box--background-magenta-200": "_Box--background-magenta-
|
|
133
|
-
"Box--background-magenta-300": "_Box--background-magenta-
|
|
134
|
-
"Box--background-magenta-400": "_Box--background-magenta-
|
|
135
|
-
"Box--background-magenta-500": "_Box--background-magenta-
|
|
136
|
-
"Box--background-primary": "_Box--background-
|
|
137
|
-
"Box--background-secondary": "_Box--background-
|
|
138
|
-
"Box--background-tertiary": "_Box--background-
|
|
139
|
-
"Box--background-overlay": "_Box--background-
|
|
140
|
-
"Box--background-disabled": "_Box--background-
|
|
141
|
-
"Box--background-brand": "_Box--background-
|
|
142
|
-
"Box--background-brandB2b": "_Box--background-
|
|
143
|
-
"Box--background-accentLight": "_Box--background-
|
|
144
|
-
"Box--background-accentDark": "_Box--background-
|
|
145
|
-
"Box--background-positiveLight": "_Box--background-
|
|
146
|
-
"Box--background-positiveDark": "_Box--background-
|
|
147
|
-
"Box--background-infoLight": "_Box--background-
|
|
148
|
-
"Box--background-infoDark": "_Box--background-
|
|
149
|
-
"Box--background-warningLight": "_Box--background-
|
|
150
|
-
"Box--background-warningDark": "_Box--background-
|
|
151
|
-
"Box--background-criticalLight": "_Box--background-
|
|
152
|
-
"Box--background-criticalDark": "_Box--background-
|
|
153
|
-
"Box--background-statusOnline": "_Box--background-
|
|
154
|
-
"Box--background-statusOffline": "_Box--background-
|
|
155
|
-
"Box--background-primaryInverted": "_Box--background-
|
|
156
|
-
"Box--background-secondaryInverted": "_Box--background-
|
|
157
|
-
"Box--background-tertiaryInverted": "_Box--background-
|
|
9
|
+
"Box--box-radius-none": "_Box--box-radius-none_1fbvc_16",
|
|
10
|
+
"Box--box-radius-m": "_Box--box-radius-m_1fbvc_19",
|
|
11
|
+
"Box--box-radius-l": "_Box--box-radius-l_1fbvc_22",
|
|
12
|
+
"Box--box-radius-2": "_Box--box-radius-2_1fbvc_25",
|
|
13
|
+
"Box--box-radius-4": "_Box--box-radius-4_1fbvc_28",
|
|
14
|
+
"Box--box-radius-8": "_Box--box-radius-8_1fbvc_31",
|
|
15
|
+
"Box--box-radius-0": "_Box--box-radius-0_1fbvc_34",
|
|
16
|
+
"Box--box-radius-12": "_Box--box-radius-12_1fbvc_46",
|
|
17
|
+
"Box--box-radius-16": "_Box--box-radius-16_1fbvc_49",
|
|
18
|
+
"Box--box-radius-24": "_Box--box-radius-24_1fbvc_52",
|
|
19
|
+
"Box--box-radius-32": "_Box--box-radius-32_1fbvc_55",
|
|
20
|
+
"Box--box-radius-48": "_Box--box-radius-48_1fbvc_58",
|
|
21
|
+
"Box--box-radius-64": "_Box--box-radius-64_1fbvc_61",
|
|
22
|
+
"Box--box-radius-96": "_Box--box-radius-96_1fbvc_64",
|
|
23
|
+
"Box--box-radius-160": "_Box--box-radius-160_1fbvc_67",
|
|
24
|
+
"Box--narrow-l--box-radius-none": "_Box--narrow-l--box-radius-none_1fbvc_71",
|
|
25
|
+
"Box--narrow-l--box-radius-m": "_Box--narrow-l--box-radius-m_1fbvc_74",
|
|
26
|
+
"Box--narrow-l--box-radius-l": "_Box--narrow-l--box-radius-l_1fbvc_77",
|
|
27
|
+
"Box--narrow-l--box-radius-2": "_Box--narrow-l--box-radius-2_1fbvc_80",
|
|
28
|
+
"Box--narrow-l--box-radius-4": "_Box--narrow-l--box-radius-4_1fbvc_83",
|
|
29
|
+
"Box--narrow-l--box-radius-8": "_Box--narrow-l--box-radius-8_1fbvc_86",
|
|
30
|
+
"Box--narrow-l--box-radius-0": "_Box--narrow-l--box-radius-0_1fbvc_89",
|
|
31
|
+
"Box--narrow-l--box-radius-12": "_Box--narrow-l--box-radius-12_1fbvc_101",
|
|
32
|
+
"Box--narrow-l--box-radius-16": "_Box--narrow-l--box-radius-16_1fbvc_104",
|
|
33
|
+
"Box--narrow-l--box-radius-24": "_Box--narrow-l--box-radius-24_1fbvc_107",
|
|
34
|
+
"Box--narrow-l--box-radius-32": "_Box--narrow-l--box-radius-32_1fbvc_110",
|
|
35
|
+
"Box--narrow-l--box-radius-48": "_Box--narrow-l--box-radius-48_1fbvc_113",
|
|
36
|
+
"Box--narrow-l--box-radius-64": "_Box--narrow-l--box-radius-64_1fbvc_116",
|
|
37
|
+
"Box--narrow-l--box-radius-96": "_Box--narrow-l--box-radius-96_1fbvc_119",
|
|
38
|
+
"Box--narrow-l--box-radius-160": "_Box--narrow-l--box-radius-160_1fbvc_122",
|
|
39
|
+
"Box--medium-s--box-radius-none": "_Box--medium-s--box-radius-none_1fbvc_127",
|
|
40
|
+
"Box--medium-s--box-radius-m": "_Box--medium-s--box-radius-m_1fbvc_130",
|
|
41
|
+
"Box--medium-s--box-radius-l": "_Box--medium-s--box-radius-l_1fbvc_133",
|
|
42
|
+
"Box--medium-s--box-radius-2": "_Box--medium-s--box-radius-2_1fbvc_136",
|
|
43
|
+
"Box--medium-s--box-radius-4": "_Box--medium-s--box-radius-4_1fbvc_139",
|
|
44
|
+
"Box--medium-s--box-radius-8": "_Box--medium-s--box-radius-8_1fbvc_142",
|
|
45
|
+
"Box--medium-s--box-radius-0": "_Box--medium-s--box-radius-0_1fbvc_145",
|
|
46
|
+
"Box--medium-s--box-radius-12": "_Box--medium-s--box-radius-12_1fbvc_157",
|
|
47
|
+
"Box--medium-s--box-radius-16": "_Box--medium-s--box-radius-16_1fbvc_160",
|
|
48
|
+
"Box--medium-s--box-radius-24": "_Box--medium-s--box-radius-24_1fbvc_163",
|
|
49
|
+
"Box--medium-s--box-radius-32": "_Box--medium-s--box-radius-32_1fbvc_166",
|
|
50
|
+
"Box--medium-s--box-radius-48": "_Box--medium-s--box-radius-48_1fbvc_169",
|
|
51
|
+
"Box--medium-s--box-radius-64": "_Box--medium-s--box-radius-64_1fbvc_172",
|
|
52
|
+
"Box--medium-s--box-radius-96": "_Box--medium-s--box-radius-96_1fbvc_175",
|
|
53
|
+
"Box--medium-s--box-radius-160": "_Box--medium-s--box-radius-160_1fbvc_178",
|
|
54
|
+
"Box--medium-l--box-radius-none": "_Box--medium-l--box-radius-none_1fbvc_183",
|
|
55
|
+
"Box--medium-l--box-radius-m": "_Box--medium-l--box-radius-m_1fbvc_186",
|
|
56
|
+
"Box--medium-l--box-radius-l": "_Box--medium-l--box-radius-l_1fbvc_189",
|
|
57
|
+
"Box--medium-l--box-radius-2": "_Box--medium-l--box-radius-2_1fbvc_192",
|
|
58
|
+
"Box--medium-l--box-radius-4": "_Box--medium-l--box-radius-4_1fbvc_195",
|
|
59
|
+
"Box--medium-l--box-radius-8": "_Box--medium-l--box-radius-8_1fbvc_198",
|
|
60
|
+
"Box--medium-l--box-radius-0": "_Box--medium-l--box-radius-0_1fbvc_201",
|
|
61
|
+
"Box--medium-l--box-radius-12": "_Box--medium-l--box-radius-12_1fbvc_213",
|
|
62
|
+
"Box--medium-l--box-radius-16": "_Box--medium-l--box-radius-16_1fbvc_216",
|
|
63
|
+
"Box--medium-l--box-radius-24": "_Box--medium-l--box-radius-24_1fbvc_219",
|
|
64
|
+
"Box--medium-l--box-radius-32": "_Box--medium-l--box-radius-32_1fbvc_222",
|
|
65
|
+
"Box--medium-l--box-radius-48": "_Box--medium-l--box-radius-48_1fbvc_225",
|
|
66
|
+
"Box--medium-l--box-radius-64": "_Box--medium-l--box-radius-64_1fbvc_228",
|
|
67
|
+
"Box--medium-l--box-radius-96": "_Box--medium-l--box-radius-96_1fbvc_231",
|
|
68
|
+
"Box--medium-l--box-radius-160": "_Box--medium-l--box-radius-160_1fbvc_234",
|
|
69
|
+
"Box--wide-s--box-radius-none": "_Box--wide-s--box-radius-none_1fbvc_239",
|
|
70
|
+
"Box--wide-s--box-radius-m": "_Box--wide-s--box-radius-m_1fbvc_242",
|
|
71
|
+
"Box--wide-s--box-radius-l": "_Box--wide-s--box-radius-l_1fbvc_245",
|
|
72
|
+
"Box--wide-s--box-radius-2": "_Box--wide-s--box-radius-2_1fbvc_248",
|
|
73
|
+
"Box--wide-s--box-radius-4": "_Box--wide-s--box-radius-4_1fbvc_251",
|
|
74
|
+
"Box--wide-s--box-radius-8": "_Box--wide-s--box-radius-8_1fbvc_254",
|
|
75
|
+
"Box--wide-s--box-radius-0": "_Box--wide-s--box-radius-0_1fbvc_257",
|
|
76
|
+
"Box--wide-s--box-radius-12": "_Box--wide-s--box-radius-12_1fbvc_269",
|
|
77
|
+
"Box--wide-s--box-radius-16": "_Box--wide-s--box-radius-16_1fbvc_272",
|
|
78
|
+
"Box--wide-s--box-radius-24": "_Box--wide-s--box-radius-24_1fbvc_275",
|
|
79
|
+
"Box--wide-s--box-radius-32": "_Box--wide-s--box-radius-32_1fbvc_278",
|
|
80
|
+
"Box--wide-s--box-radius-48": "_Box--wide-s--box-radius-48_1fbvc_281",
|
|
81
|
+
"Box--wide-s--box-radius-64": "_Box--wide-s--box-radius-64_1fbvc_284",
|
|
82
|
+
"Box--wide-s--box-radius-96": "_Box--wide-s--box-radius-96_1fbvc_287",
|
|
83
|
+
"Box--wide-s--box-radius-160": "_Box--wide-s--box-radius-160_1fbvc_290",
|
|
84
|
+
"Box--wide-l--box-radius-none": "_Box--wide-l--box-radius-none_1fbvc_295",
|
|
85
|
+
"Box--wide-l--box-radius-m": "_Box--wide-l--box-radius-m_1fbvc_298",
|
|
86
|
+
"Box--wide-l--box-radius-l": "_Box--wide-l--box-radius-l_1fbvc_301",
|
|
87
|
+
"Box--wide-l--box-radius-2": "_Box--wide-l--box-radius-2_1fbvc_304",
|
|
88
|
+
"Box--wide-l--box-radius-4": "_Box--wide-l--box-radius-4_1fbvc_307",
|
|
89
|
+
"Box--wide-l--box-radius-8": "_Box--wide-l--box-radius-8_1fbvc_310",
|
|
90
|
+
"Box--wide-l--box-radius-0": "_Box--wide-l--box-radius-0_1fbvc_313",
|
|
91
|
+
"Box--wide-l--box-radius-12": "_Box--wide-l--box-radius-12_1fbvc_325",
|
|
92
|
+
"Box--wide-l--box-radius-16": "_Box--wide-l--box-radius-16_1fbvc_328",
|
|
93
|
+
"Box--wide-l--box-radius-24": "_Box--wide-l--box-radius-24_1fbvc_331",
|
|
94
|
+
"Box--wide-l--box-radius-32": "_Box--wide-l--box-radius-32_1fbvc_334",
|
|
95
|
+
"Box--wide-l--box-radius-48": "_Box--wide-l--box-radius-48_1fbvc_337",
|
|
96
|
+
"Box--wide-l--box-radius-64": "_Box--wide-l--box-radius-64_1fbvc_340",
|
|
97
|
+
"Box--wide-l--box-radius-96": "_Box--wide-l--box-radius-96_1fbvc_343",
|
|
98
|
+
"Box--wide-l--box-radius-160": "_Box--wide-l--box-radius-160_1fbvc_346",
|
|
99
|
+
"Box--background-white": "_Box--background-white_1fbvc_350",
|
|
100
|
+
"Box--background-gray-100": "_Box--background-gray-100_1fbvc_353",
|
|
101
|
+
"Box--background-gray-200": "_Box--background-gray-200_1fbvc_356",
|
|
102
|
+
"Box--background-gray-300": "_Box--background-gray-300_1fbvc_359",
|
|
103
|
+
"Box--background-gray-400": "_Box--background-gray-400_1fbvc_362",
|
|
104
|
+
"Box--background-gray-500": "_Box--background-gray-500_1fbvc_365",
|
|
105
|
+
"Box--background-gray-600": "_Box--background-gray-600_1fbvc_368",
|
|
106
|
+
"Box--background-teal-100": "_Box--background-teal-100_1fbvc_371",
|
|
107
|
+
"Box--background-teal-200": "_Box--background-teal-200_1fbvc_374",
|
|
108
|
+
"Box--background-teal-300": "_Box--background-teal-300_1fbvc_377",
|
|
109
|
+
"Box--background-teal-400": "_Box--background-teal-400_1fbvc_380",
|
|
110
|
+
"Box--background-teal-500": "_Box--background-teal-500_1fbvc_383",
|
|
111
|
+
"Box--background-green-100": "_Box--background-green-100_1fbvc_386",
|
|
112
|
+
"Box--background-green-200": "_Box--background-green-200_1fbvc_389",
|
|
113
|
+
"Box--background-green-300": "_Box--background-green-300_1fbvc_392",
|
|
114
|
+
"Box--background-green-400": "_Box--background-green-400_1fbvc_395",
|
|
115
|
+
"Box--background-green-500": "_Box--background-green-500_1fbvc_398",
|
|
116
|
+
"Box--background-yellow-100": "_Box--background-yellow-100_1fbvc_401",
|
|
117
|
+
"Box--background-yellow-200": "_Box--background-yellow-200_1fbvc_404",
|
|
118
|
+
"Box--background-yellow-300": "_Box--background-yellow-300_1fbvc_407",
|
|
119
|
+
"Box--background-yellow-400": "_Box--background-yellow-400_1fbvc_410",
|
|
120
|
+
"Box--background-yellow-500": "_Box--background-yellow-500_1fbvc_413",
|
|
121
|
+
"Box--background-red-100": "_Box--background-red-100_1fbvc_416",
|
|
122
|
+
"Box--background-red-200": "_Box--background-red-200_1fbvc_419",
|
|
123
|
+
"Box--background-red-300": "_Box--background-red-300_1fbvc_422",
|
|
124
|
+
"Box--background-red-400": "_Box--background-red-400_1fbvc_425",
|
|
125
|
+
"Box--background-red-500": "_Box--background-red-500_1fbvc_428",
|
|
126
|
+
"Box--background-blue-100": "_Box--background-blue-100_1fbvc_431",
|
|
127
|
+
"Box--background-blue-200": "_Box--background-blue-200_1fbvc_434",
|
|
128
|
+
"Box--background-blue-300": "_Box--background-blue-300_1fbvc_437",
|
|
129
|
+
"Box--background-blue-400": "_Box--background-blue-400_1fbvc_440",
|
|
130
|
+
"Box--background-blue-500": "_Box--background-blue-500_1fbvc_443",
|
|
131
|
+
"Box--background-magenta-100": "_Box--background-magenta-100_1fbvc_446",
|
|
132
|
+
"Box--background-magenta-200": "_Box--background-magenta-200_1fbvc_449",
|
|
133
|
+
"Box--background-magenta-300": "_Box--background-magenta-300_1fbvc_452",
|
|
134
|
+
"Box--background-magenta-400": "_Box--background-magenta-400_1fbvc_455",
|
|
135
|
+
"Box--background-magenta-500": "_Box--background-magenta-500_1fbvc_458",
|
|
136
|
+
"Box--background-primary": "_Box--background-primary_1fbvc_461",
|
|
137
|
+
"Box--background-secondary": "_Box--background-secondary_1fbvc_464",
|
|
138
|
+
"Box--background-tertiary": "_Box--background-tertiary_1fbvc_467",
|
|
139
|
+
"Box--background-overlay": "_Box--background-overlay_1fbvc_470",
|
|
140
|
+
"Box--background-disabled": "_Box--background-disabled_1fbvc_473",
|
|
141
|
+
"Box--background-brand": "_Box--background-brand_1fbvc_476",
|
|
142
|
+
"Box--background-brandB2b": "_Box--background-brandB2b_1fbvc_479",
|
|
143
|
+
"Box--background-accentLight": "_Box--background-accentLight_1fbvc_482",
|
|
144
|
+
"Box--background-accentDark": "_Box--background-accentDark_1fbvc_485",
|
|
145
|
+
"Box--background-positiveLight": "_Box--background-positiveLight_1fbvc_488",
|
|
146
|
+
"Box--background-positiveDark": "_Box--background-positiveDark_1fbvc_491",
|
|
147
|
+
"Box--background-infoLight": "_Box--background-infoLight_1fbvc_494",
|
|
148
|
+
"Box--background-infoDark": "_Box--background-infoDark_1fbvc_497",
|
|
149
|
+
"Box--background-warningLight": "_Box--background-warningLight_1fbvc_500",
|
|
150
|
+
"Box--background-warningDark": "_Box--background-warningDark_1fbvc_503",
|
|
151
|
+
"Box--background-criticalLight": "_Box--background-criticalLight_1fbvc_506",
|
|
152
|
+
"Box--background-criticalDark": "_Box--background-criticalDark_1fbvc_509",
|
|
153
|
+
"Box--background-statusOnline": "_Box--background-statusOnline_1fbvc_512",
|
|
154
|
+
"Box--background-statusOffline": "_Box--background-statusOffline_1fbvc_515",
|
|
155
|
+
"Box--background-primaryInverted": "_Box--background-primaryInverted_1fbvc_518",
|
|
156
|
+
"Box--background-secondaryInverted": "_Box--background-secondaryInverted_1fbvc_521",
|
|
157
|
+
"Box--background-tertiaryInverted": "_Box--background-tertiaryInverted_1fbvc_524"
|
|
158
158
|
};
|
|
159
159
|
const Box = ({
|
|
160
160
|
children,
|
|
@@ -5,7 +5,7 @@ import { moduleLocals } from "@preply/ds-web-core";
|
|
|
5
5
|
import { renderIcon } from "../../utils/render-icon.js";
|
|
6
6
|
import { ButtonBase } from "../private/ButtonBase/ButtonBase.js";
|
|
7
7
|
import '../../assets/Button.css';const styles = {
|
|
8
|
-
"Button--icon": "_Button--
|
|
8
|
+
"Button--icon": "_Button--icon_10c0p_5"
|
|
9
9
|
};
|
|
10
10
|
const Button = ({
|
|
11
11
|
variant = BUTTON_VARIANT_DEFAULT,
|
|
@@ -5,13 +5,13 @@ import { getDatasetProps } from "@preply/ds-web-core";
|
|
|
5
5
|
import { Icon } from "../Icon/Icon.js";
|
|
6
6
|
import * as React from "react";
|
|
7
7
|
import { forwardRef } from "react";
|
|
8
|
-
import '../../assets/Chips.css';const chips = "
|
|
9
|
-
const chip = "
|
|
8
|
+
import '../../assets/Chips.css';const chips = "_chips_xsbgb_3";
|
|
9
|
+
const chip = "_chip_xsbgb_3";
|
|
10
10
|
const styles = {
|
|
11
11
|
chips,
|
|
12
12
|
chip,
|
|
13
|
-
"chip-toggle": "_chip-
|
|
14
|
-
"chip-remove": "_chip-
|
|
13
|
+
"chip-toggle": "_chip-toggle_xsbgb_37",
|
|
14
|
+
"chip-remove": "_chip-remove_xsbgb_54"
|
|
15
15
|
};
|
|
16
16
|
const SvgClose = ({
|
|
17
17
|
title,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { webComponentNames } from "@preply/ds-visual-coverage-component-names";
|
|
3
3
|
import { moduleClassNames, stringClassNames, getDatasetProps, FIELD_ADDITIONAL_TEXT_VARIANT_DEFAULT } from "@preply/ds-web-core";
|
|
4
|
-
import '../../assets/FieldAdditionalText.css';const FieldAdditionalText$1 = "
|
|
4
|
+
import '../../assets/FieldAdditionalText.css';const FieldAdditionalText$1 = "_FieldAdditionalText_593os_4";
|
|
5
5
|
const styles = {
|
|
6
6
|
FieldAdditionalText: FieldAdditionalText$1,
|
|
7
|
-
"FieldAdditionalText--variant-normal": "_FieldAdditionalText--variant-
|
|
8
|
-
"FieldAdditionalText--variant-error": "_FieldAdditionalText--variant-
|
|
7
|
+
"FieldAdditionalText--variant-normal": "_FieldAdditionalText--variant-normal_593os_11",
|
|
8
|
+
"FieldAdditionalText--variant-error": "_FieldAdditionalText--variant-error_593os_14"
|
|
9
9
|
};
|
|
10
10
|
const FieldAdditionalText = ({
|
|
11
11
|
id,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
import { webComponentNames } from "@preply/ds-visual-coverage-component-names";
|
|
4
4
|
import { moduleClassNames, getDatasetProps } from "@preply/ds-web-core";
|
|
5
|
-
import '../../assets/FieldButton.css';const FieldButton$1 = "
|
|
5
|
+
import '../../assets/FieldButton.css';const FieldButton$1 = "_FieldButton_m9lge_4";
|
|
6
6
|
const styles = {
|
|
7
7
|
FieldButton: FieldButton$1
|
|
8
8
|
};
|
|
@@ -5,13 +5,13 @@ import { moduleLocals, booleanClassNames } from "@preply/ds-web-core";
|
|
|
5
5
|
import { forwardRef, useRef, useImperativeHandle } from "react";
|
|
6
6
|
import { FieldLayoutBase } from "../private/FieldLayoutBase/FieldLayoutBase.js";
|
|
7
7
|
import '../../assets/FieldLayout.css';const styles = {
|
|
8
|
-
"FieldLayout--input": "_FieldLayout--
|
|
9
|
-
"FieldLayout--icon": "_FieldLayout--
|
|
10
|
-
"FieldLayout--has-icon": "_FieldLayout--has-
|
|
11
|
-
"FieldLayout--has-button": "_FieldLayout--has-
|
|
12
|
-
"FieldLayout--has-error": "_FieldLayout--has-
|
|
13
|
-
"FieldLayout--is-focused": "_FieldLayout--is-
|
|
14
|
-
"FieldLayout--is-disabled": "_FieldLayout--is-
|
|
8
|
+
"FieldLayout--input": "_FieldLayout--input_kjezw_5",
|
|
9
|
+
"FieldLayout--icon": "_FieldLayout--icon_kjezw_42",
|
|
10
|
+
"FieldLayout--has-icon": "_FieldLayout--has-icon_kjezw_55",
|
|
11
|
+
"FieldLayout--has-button": "_FieldLayout--has-button_kjezw_58",
|
|
12
|
+
"FieldLayout--has-error": "_FieldLayout--has-error_kjezw_61",
|
|
13
|
+
"FieldLayout--is-focused": "_FieldLayout--is-focused_kjezw_72",
|
|
14
|
+
"FieldLayout--is-disabled": "_FieldLayout--is-disabled_kjezw_76"
|
|
15
15
|
};
|
|
16
16
|
const FieldLayoutLocal = ({
|
|
17
17
|
id,
|