@preply/ds-web-lib 0.100.1 → 1.0.0
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/README.md +1 -1
- 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/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-flex.css +100 -100
- 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/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 +11 -11
- 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/index.d.ts +1 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +4 -1
- 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.js +4 -1
- package/dist/index.module-_Q6tNIhh.js +27 -0
- package/dist/{layout-grid.module-DEhjGYxG.js → layout-grid.module-C1bhuzDp.js} +97 -97
- 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-flex/layout-flex.js +97 -97
- package/dist/shared-styles/layout-gap/layout-gap.js +133 -133
- 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 +49 -49
- package/dist/shared-styles/layout-padding/layout-padding.js +529 -529
- 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 +17 -18
- package/dist/index.module-B-whHMcH.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_b0rk7_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_b0rk7_16",
|
|
10
|
+
"Box--box-radius-m": "_Box--box-radius-m_b0rk7_19",
|
|
11
|
+
"Box--box-radius-l": "_Box--box-radius-l_b0rk7_22",
|
|
12
|
+
"Box--box-radius-2": "_Box--box-radius-2_b0rk7_25",
|
|
13
|
+
"Box--box-radius-4": "_Box--box-radius-4_b0rk7_28",
|
|
14
|
+
"Box--box-radius-8": "_Box--box-radius-8_b0rk7_31",
|
|
15
|
+
"Box--box-radius-0": "_Box--box-radius-0_b0rk7_34",
|
|
16
|
+
"Box--box-radius-12": "_Box--box-radius-12_b0rk7_46",
|
|
17
|
+
"Box--box-radius-16": "_Box--box-radius-16_b0rk7_49",
|
|
18
|
+
"Box--box-radius-24": "_Box--box-radius-24_b0rk7_52",
|
|
19
|
+
"Box--box-radius-32": "_Box--box-radius-32_b0rk7_55",
|
|
20
|
+
"Box--box-radius-48": "_Box--box-radius-48_b0rk7_58",
|
|
21
|
+
"Box--box-radius-64": "_Box--box-radius-64_b0rk7_61",
|
|
22
|
+
"Box--box-radius-96": "_Box--box-radius-96_b0rk7_64",
|
|
23
|
+
"Box--box-radius-160": "_Box--box-radius-160_b0rk7_67",
|
|
24
|
+
"Box--narrow-l--box-radius-none": "_Box--narrow-l--box-radius-none_b0rk7_71",
|
|
25
|
+
"Box--narrow-l--box-radius-m": "_Box--narrow-l--box-radius-m_b0rk7_74",
|
|
26
|
+
"Box--narrow-l--box-radius-l": "_Box--narrow-l--box-radius-l_b0rk7_77",
|
|
27
|
+
"Box--narrow-l--box-radius-2": "_Box--narrow-l--box-radius-2_b0rk7_80",
|
|
28
|
+
"Box--narrow-l--box-radius-4": "_Box--narrow-l--box-radius-4_b0rk7_83",
|
|
29
|
+
"Box--narrow-l--box-radius-8": "_Box--narrow-l--box-radius-8_b0rk7_86",
|
|
30
|
+
"Box--narrow-l--box-radius-0": "_Box--narrow-l--box-radius-0_b0rk7_89",
|
|
31
|
+
"Box--narrow-l--box-radius-12": "_Box--narrow-l--box-radius-12_b0rk7_101",
|
|
32
|
+
"Box--narrow-l--box-radius-16": "_Box--narrow-l--box-radius-16_b0rk7_104",
|
|
33
|
+
"Box--narrow-l--box-radius-24": "_Box--narrow-l--box-radius-24_b0rk7_107",
|
|
34
|
+
"Box--narrow-l--box-radius-32": "_Box--narrow-l--box-radius-32_b0rk7_110",
|
|
35
|
+
"Box--narrow-l--box-radius-48": "_Box--narrow-l--box-radius-48_b0rk7_113",
|
|
36
|
+
"Box--narrow-l--box-radius-64": "_Box--narrow-l--box-radius-64_b0rk7_116",
|
|
37
|
+
"Box--narrow-l--box-radius-96": "_Box--narrow-l--box-radius-96_b0rk7_119",
|
|
38
|
+
"Box--narrow-l--box-radius-160": "_Box--narrow-l--box-radius-160_b0rk7_122",
|
|
39
|
+
"Box--medium-s--box-radius-none": "_Box--medium-s--box-radius-none_b0rk7_127",
|
|
40
|
+
"Box--medium-s--box-radius-m": "_Box--medium-s--box-radius-m_b0rk7_130",
|
|
41
|
+
"Box--medium-s--box-radius-l": "_Box--medium-s--box-radius-l_b0rk7_133",
|
|
42
|
+
"Box--medium-s--box-radius-2": "_Box--medium-s--box-radius-2_b0rk7_136",
|
|
43
|
+
"Box--medium-s--box-radius-4": "_Box--medium-s--box-radius-4_b0rk7_139",
|
|
44
|
+
"Box--medium-s--box-radius-8": "_Box--medium-s--box-radius-8_b0rk7_142",
|
|
45
|
+
"Box--medium-s--box-radius-0": "_Box--medium-s--box-radius-0_b0rk7_145",
|
|
46
|
+
"Box--medium-s--box-radius-12": "_Box--medium-s--box-radius-12_b0rk7_157",
|
|
47
|
+
"Box--medium-s--box-radius-16": "_Box--medium-s--box-radius-16_b0rk7_160",
|
|
48
|
+
"Box--medium-s--box-radius-24": "_Box--medium-s--box-radius-24_b0rk7_163",
|
|
49
|
+
"Box--medium-s--box-radius-32": "_Box--medium-s--box-radius-32_b0rk7_166",
|
|
50
|
+
"Box--medium-s--box-radius-48": "_Box--medium-s--box-radius-48_b0rk7_169",
|
|
51
|
+
"Box--medium-s--box-radius-64": "_Box--medium-s--box-radius-64_b0rk7_172",
|
|
52
|
+
"Box--medium-s--box-radius-96": "_Box--medium-s--box-radius-96_b0rk7_175",
|
|
53
|
+
"Box--medium-s--box-radius-160": "_Box--medium-s--box-radius-160_b0rk7_178",
|
|
54
|
+
"Box--medium-l--box-radius-none": "_Box--medium-l--box-radius-none_b0rk7_183",
|
|
55
|
+
"Box--medium-l--box-radius-m": "_Box--medium-l--box-radius-m_b0rk7_186",
|
|
56
|
+
"Box--medium-l--box-radius-l": "_Box--medium-l--box-radius-l_b0rk7_189",
|
|
57
|
+
"Box--medium-l--box-radius-2": "_Box--medium-l--box-radius-2_b0rk7_192",
|
|
58
|
+
"Box--medium-l--box-radius-4": "_Box--medium-l--box-radius-4_b0rk7_195",
|
|
59
|
+
"Box--medium-l--box-radius-8": "_Box--medium-l--box-radius-8_b0rk7_198",
|
|
60
|
+
"Box--medium-l--box-radius-0": "_Box--medium-l--box-radius-0_b0rk7_201",
|
|
61
|
+
"Box--medium-l--box-radius-12": "_Box--medium-l--box-radius-12_b0rk7_213",
|
|
62
|
+
"Box--medium-l--box-radius-16": "_Box--medium-l--box-radius-16_b0rk7_216",
|
|
63
|
+
"Box--medium-l--box-radius-24": "_Box--medium-l--box-radius-24_b0rk7_219",
|
|
64
|
+
"Box--medium-l--box-radius-32": "_Box--medium-l--box-radius-32_b0rk7_222",
|
|
65
|
+
"Box--medium-l--box-radius-48": "_Box--medium-l--box-radius-48_b0rk7_225",
|
|
66
|
+
"Box--medium-l--box-radius-64": "_Box--medium-l--box-radius-64_b0rk7_228",
|
|
67
|
+
"Box--medium-l--box-radius-96": "_Box--medium-l--box-radius-96_b0rk7_231",
|
|
68
|
+
"Box--medium-l--box-radius-160": "_Box--medium-l--box-radius-160_b0rk7_234",
|
|
69
|
+
"Box--wide-s--box-radius-none": "_Box--wide-s--box-radius-none_b0rk7_239",
|
|
70
|
+
"Box--wide-s--box-radius-m": "_Box--wide-s--box-radius-m_b0rk7_242",
|
|
71
|
+
"Box--wide-s--box-radius-l": "_Box--wide-s--box-radius-l_b0rk7_245",
|
|
72
|
+
"Box--wide-s--box-radius-2": "_Box--wide-s--box-radius-2_b0rk7_248",
|
|
73
|
+
"Box--wide-s--box-radius-4": "_Box--wide-s--box-radius-4_b0rk7_251",
|
|
74
|
+
"Box--wide-s--box-radius-8": "_Box--wide-s--box-radius-8_b0rk7_254",
|
|
75
|
+
"Box--wide-s--box-radius-0": "_Box--wide-s--box-radius-0_b0rk7_257",
|
|
76
|
+
"Box--wide-s--box-radius-12": "_Box--wide-s--box-radius-12_b0rk7_269",
|
|
77
|
+
"Box--wide-s--box-radius-16": "_Box--wide-s--box-radius-16_b0rk7_272",
|
|
78
|
+
"Box--wide-s--box-radius-24": "_Box--wide-s--box-radius-24_b0rk7_275",
|
|
79
|
+
"Box--wide-s--box-radius-32": "_Box--wide-s--box-radius-32_b0rk7_278",
|
|
80
|
+
"Box--wide-s--box-radius-48": "_Box--wide-s--box-radius-48_b0rk7_281",
|
|
81
|
+
"Box--wide-s--box-radius-64": "_Box--wide-s--box-radius-64_b0rk7_284",
|
|
82
|
+
"Box--wide-s--box-radius-96": "_Box--wide-s--box-radius-96_b0rk7_287",
|
|
83
|
+
"Box--wide-s--box-radius-160": "_Box--wide-s--box-radius-160_b0rk7_290",
|
|
84
|
+
"Box--wide-l--box-radius-none": "_Box--wide-l--box-radius-none_b0rk7_295",
|
|
85
|
+
"Box--wide-l--box-radius-m": "_Box--wide-l--box-radius-m_b0rk7_298",
|
|
86
|
+
"Box--wide-l--box-radius-l": "_Box--wide-l--box-radius-l_b0rk7_301",
|
|
87
|
+
"Box--wide-l--box-radius-2": "_Box--wide-l--box-radius-2_b0rk7_304",
|
|
88
|
+
"Box--wide-l--box-radius-4": "_Box--wide-l--box-radius-4_b0rk7_307",
|
|
89
|
+
"Box--wide-l--box-radius-8": "_Box--wide-l--box-radius-8_b0rk7_310",
|
|
90
|
+
"Box--wide-l--box-radius-0": "_Box--wide-l--box-radius-0_b0rk7_313",
|
|
91
|
+
"Box--wide-l--box-radius-12": "_Box--wide-l--box-radius-12_b0rk7_325",
|
|
92
|
+
"Box--wide-l--box-radius-16": "_Box--wide-l--box-radius-16_b0rk7_328",
|
|
93
|
+
"Box--wide-l--box-radius-24": "_Box--wide-l--box-radius-24_b0rk7_331",
|
|
94
|
+
"Box--wide-l--box-radius-32": "_Box--wide-l--box-radius-32_b0rk7_334",
|
|
95
|
+
"Box--wide-l--box-radius-48": "_Box--wide-l--box-radius-48_b0rk7_337",
|
|
96
|
+
"Box--wide-l--box-radius-64": "_Box--wide-l--box-radius-64_b0rk7_340",
|
|
97
|
+
"Box--wide-l--box-radius-96": "_Box--wide-l--box-radius-96_b0rk7_343",
|
|
98
|
+
"Box--wide-l--box-radius-160": "_Box--wide-l--box-radius-160_b0rk7_346",
|
|
99
|
+
"Box--background-white": "_Box--background-white_b0rk7_350",
|
|
100
|
+
"Box--background-gray-100": "_Box--background-gray-100_b0rk7_353",
|
|
101
|
+
"Box--background-gray-200": "_Box--background-gray-200_b0rk7_356",
|
|
102
|
+
"Box--background-gray-300": "_Box--background-gray-300_b0rk7_359",
|
|
103
|
+
"Box--background-gray-400": "_Box--background-gray-400_b0rk7_362",
|
|
104
|
+
"Box--background-gray-500": "_Box--background-gray-500_b0rk7_365",
|
|
105
|
+
"Box--background-gray-600": "_Box--background-gray-600_b0rk7_368",
|
|
106
|
+
"Box--background-teal-100": "_Box--background-teal-100_b0rk7_371",
|
|
107
|
+
"Box--background-teal-200": "_Box--background-teal-200_b0rk7_374",
|
|
108
|
+
"Box--background-teal-300": "_Box--background-teal-300_b0rk7_377",
|
|
109
|
+
"Box--background-teal-400": "_Box--background-teal-400_b0rk7_380",
|
|
110
|
+
"Box--background-teal-500": "_Box--background-teal-500_b0rk7_383",
|
|
111
|
+
"Box--background-green-100": "_Box--background-green-100_b0rk7_386",
|
|
112
|
+
"Box--background-green-200": "_Box--background-green-200_b0rk7_389",
|
|
113
|
+
"Box--background-green-300": "_Box--background-green-300_b0rk7_392",
|
|
114
|
+
"Box--background-green-400": "_Box--background-green-400_b0rk7_395",
|
|
115
|
+
"Box--background-green-500": "_Box--background-green-500_b0rk7_398",
|
|
116
|
+
"Box--background-yellow-100": "_Box--background-yellow-100_b0rk7_401",
|
|
117
|
+
"Box--background-yellow-200": "_Box--background-yellow-200_b0rk7_404",
|
|
118
|
+
"Box--background-yellow-300": "_Box--background-yellow-300_b0rk7_407",
|
|
119
|
+
"Box--background-yellow-400": "_Box--background-yellow-400_b0rk7_410",
|
|
120
|
+
"Box--background-yellow-500": "_Box--background-yellow-500_b0rk7_413",
|
|
121
|
+
"Box--background-red-100": "_Box--background-red-100_b0rk7_416",
|
|
122
|
+
"Box--background-red-200": "_Box--background-red-200_b0rk7_419",
|
|
123
|
+
"Box--background-red-300": "_Box--background-red-300_b0rk7_422",
|
|
124
|
+
"Box--background-red-400": "_Box--background-red-400_b0rk7_425",
|
|
125
|
+
"Box--background-red-500": "_Box--background-red-500_b0rk7_428",
|
|
126
|
+
"Box--background-blue-100": "_Box--background-blue-100_b0rk7_431",
|
|
127
|
+
"Box--background-blue-200": "_Box--background-blue-200_b0rk7_434",
|
|
128
|
+
"Box--background-blue-300": "_Box--background-blue-300_b0rk7_437",
|
|
129
|
+
"Box--background-blue-400": "_Box--background-blue-400_b0rk7_440",
|
|
130
|
+
"Box--background-blue-500": "_Box--background-blue-500_b0rk7_443",
|
|
131
|
+
"Box--background-magenta-100": "_Box--background-magenta-100_b0rk7_446",
|
|
132
|
+
"Box--background-magenta-200": "_Box--background-magenta-200_b0rk7_449",
|
|
133
|
+
"Box--background-magenta-300": "_Box--background-magenta-300_b0rk7_452",
|
|
134
|
+
"Box--background-magenta-400": "_Box--background-magenta-400_b0rk7_455",
|
|
135
|
+
"Box--background-magenta-500": "_Box--background-magenta-500_b0rk7_458",
|
|
136
|
+
"Box--background-primary": "_Box--background-primary_b0rk7_461",
|
|
137
|
+
"Box--background-secondary": "_Box--background-secondary_b0rk7_464",
|
|
138
|
+
"Box--background-tertiary": "_Box--background-tertiary_b0rk7_467",
|
|
139
|
+
"Box--background-overlay": "_Box--background-overlay_b0rk7_470",
|
|
140
|
+
"Box--background-disabled": "_Box--background-disabled_b0rk7_473",
|
|
141
|
+
"Box--background-brand": "_Box--background-brand_b0rk7_476",
|
|
142
|
+
"Box--background-brandB2b": "_Box--background-brandB2b_b0rk7_479",
|
|
143
|
+
"Box--background-accentLight": "_Box--background-accentLight_b0rk7_482",
|
|
144
|
+
"Box--background-accentDark": "_Box--background-accentDark_b0rk7_485",
|
|
145
|
+
"Box--background-positiveLight": "_Box--background-positiveLight_b0rk7_488",
|
|
146
|
+
"Box--background-positiveDark": "_Box--background-positiveDark_b0rk7_491",
|
|
147
|
+
"Box--background-infoLight": "_Box--background-infoLight_b0rk7_494",
|
|
148
|
+
"Box--background-infoDark": "_Box--background-infoDark_b0rk7_497",
|
|
149
|
+
"Box--background-warningLight": "_Box--background-warningLight_b0rk7_500",
|
|
150
|
+
"Box--background-warningDark": "_Box--background-warningDark_b0rk7_503",
|
|
151
|
+
"Box--background-criticalLight": "_Box--background-criticalLight_b0rk7_506",
|
|
152
|
+
"Box--background-criticalDark": "_Box--background-criticalDark_b0rk7_509",
|
|
153
|
+
"Box--background-statusOnline": "_Box--background-statusOnline_b0rk7_512",
|
|
154
|
+
"Box--background-statusOffline": "_Box--background-statusOffline_b0rk7_515",
|
|
155
|
+
"Box--background-primaryInverted": "_Box--background-primaryInverted_b0rk7_518",
|
|
156
|
+
"Box--background-secondaryInverted": "_Box--background-secondaryInverted_b0rk7_521",
|
|
157
|
+
"Box--background-tertiaryInverted": "_Box--background-tertiaryInverted_b0rk7_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_ok68i_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_1xxr1_3";
|
|
9
|
+
const chip = "_chip_1xxr1_3";
|
|
10
10
|
const styles = {
|
|
11
11
|
chips,
|
|
12
12
|
chip,
|
|
13
|
-
"chip-toggle": "_chip-
|
|
14
|
-
"chip-remove": "_chip-
|
|
13
|
+
"chip-toggle": "_chip-toggle_1xxr1_37",
|
|
14
|
+
"chip-remove": "_chip-remove_1xxr1_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_1bg40_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_1bg40_11",
|
|
8
|
+
"FieldAdditionalText--variant-error": "_FieldAdditionalText--variant-error_1bg40_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_ti9le_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_1pfku_5",
|
|
9
|
+
"FieldLayout--icon": "_FieldLayout--icon_1pfku_42",
|
|
10
|
+
"FieldLayout--has-icon": "_FieldLayout--has-icon_1pfku_55",
|
|
11
|
+
"FieldLayout--has-button": "_FieldLayout--has-button_1pfku_58",
|
|
12
|
+
"FieldLayout--has-error": "_FieldLayout--has-error_1pfku_61",
|
|
13
|
+
"FieldLayout--is-focused": "_FieldLayout--is-focused_1pfku_72",
|
|
14
|
+
"FieldLayout--is-disabled": "_FieldLayout--is-disabled_1pfku_76"
|
|
15
15
|
};
|
|
16
16
|
const FieldLayoutLocal = ({
|
|
17
17
|
id,
|