@harjs/react-ui 1.1.8 → 1.1.10

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.
Files changed (43) hide show
  1. package/dist/assets/css/components/data-display/chip/css.cjs +2 -2
  2. package/dist/assets/css/components/data-display/chip/size.css +6 -6
  3. package/dist/assets/css/components/data-display/typography/paragraph/css.cjs +2 -2
  4. package/dist/assets/css/components/data-display/typography/paragraph/size.css +6 -6
  5. package/dist/assets/css/components/data-display/typography/title/core.css +1 -1
  6. package/dist/assets/css/components/data-display/typography/typography.css +0 -1
  7. package/dist/assets/css/components/feedback/drawer/css.cjs +13 -8
  8. package/dist/assets/css/components/feedback/drawer/size.css +31 -6
  9. package/dist/assets/css/components/feedback/modal/css.cjs +3 -6
  10. package/dist/assets/css/components/feedback/modal/size.css +6 -6
  11. package/dist/assets/css/components/form/button/css.cjs +2 -2
  12. package/dist/assets/css/components/form/button/size.css +6 -6
  13. package/dist/assets/css/components/form/checkbox/css.cjs +1 -1
  14. package/dist/assets/css/components/form/checkbox/size.css +3 -3
  15. package/dist/assets/css/components/form/input/css.cjs +2 -136
  16. package/dist/assets/css/components/form/input/size.css +6 -6
  17. package/dist/assets/css/components/form/switch/color.css +721 -0
  18. package/dist/assets/css/components/form/switch/css.cjs +40 -0
  19. package/dist/assets/css/components/form/switch/radius.css +42 -0
  20. package/dist/assets/css/components/form/switch/size.css +28 -0
  21. package/dist/assets/css/components/form/switch/styles.css +7 -5
  22. package/dist/assets/css/components/form/switch/templates/color.template.css +71 -0
  23. package/dist/assets/css/components/form/switch/templates/radius.template.css +3 -0
  24. package/dist/assets/css/components/form/switch/templates/size.template.css +8 -0
  25. package/dist/components/data-display/table/IProps.d.ts +1 -1
  26. package/dist/components/data-display/table/body/TBody.d.ts +3 -0
  27. package/dist/components/data-display/table/body/TBody.js +7 -4
  28. package/dist/components/data-display/table/index.js +20 -0
  29. package/dist/components/data-display/typography/paragraph/Paragraph.js +1 -1
  30. package/dist/components/data-display/typography/title/IProps.d.ts +0 -1
  31. package/dist/components/data-display/typography/title/Title.js +5 -7
  32. package/dist/components/feedback/drawer/IProps.d.ts +4 -3
  33. package/dist/components/feedback/drawer/index.js +2 -2
  34. package/dist/components/form/checkbox/Props.d.ts +2 -3
  35. package/dist/components/form/checkbox/index.d.ts +1 -2
  36. package/dist/components/form/switch/index.js +5 -5
  37. package/dist/components/navigation/wizard/IProps.d.ts +3 -3
  38. package/dist/libs/infrastructure/shared/Utils.js +1 -1
  39. package/dist/libs/infrastructure/types/IGlobalProps.d.ts +1 -15
  40. package/dist/libs/infrastructure/types/index.d.ts +2 -1
  41. package/package.json +1 -1
  42. package/dist/assets/css/components/data-display/typography/title/size.css +0 -41
  43. package/dist/assets/css/components/form/switch/core/border.css +0 -208
@@ -10,7 +10,7 @@ const sizes = [
10
10
  { name: "md", height: "2.5rem", fontSize: "0.875rem" },
11
11
  { name: "lg", height: "2.75rem", fontSize: "1rem" },
12
12
  { name: "xl", height: "3rem", fontSize: "1rem" },
13
- { name: "xxl", height: "3.25rem", fontSize: "1.25rem" },
13
+ { name: "2xl", height: "3.25rem", fontSize: "1.25rem" },
14
14
  ];
15
15
 
16
16
  const colorTemplate = fs.readFileSync("templates/color.template.css", "utf-8");
@@ -22,7 +22,7 @@ let radiusOutput = `.har-chip {${radiuses.map((radius) => radiusTemplate.replace
22
22
  let sizeOutput = `.har-chip {${sizes
23
23
  .map((size) =>
24
24
  sizeTemplate
25
- .replace(/__SIZE__/g, size.name)
25
+ .replace(/__SIZE__/g, `size-${size.name}`)
26
26
  .replace(/__SIZE_NUMBER__/g, size.height)
27
27
  .replace(/__FONT_SIZE__/g, size.fontSize),
28
28
  )
@@ -1,30 +1,30 @@
1
1
  .har-chip {
2
- &.xs {
2
+ &.size-xs {
3
3
  height: 2rem;
4
4
  font-size: 0.75rem;
5
5
  }
6
6
 
7
- &.sm {
7
+ &.size-sm {
8
8
  height: 2.25rem;
9
9
  font-size: 0.875rem;
10
10
  }
11
11
 
12
- &.md {
12
+ &.size-md {
13
13
  height: 2.5rem;
14
14
  font-size: 0.875rem;
15
15
  }
16
16
 
17
- &.lg {
17
+ &.size-lg {
18
18
  height: 2.75rem;
19
19
  font-size: 1rem;
20
20
  }
21
21
 
22
- &.xl {
22
+ &.size-xl {
23
23
  height: 3rem;
24
24
  font-size: 1rem;
25
25
  }
26
26
 
27
- &.xxl {
27
+ &.size-2xl {
28
28
  height: 3.25rem;
29
29
  font-size: 1.25rem;
30
30
  }
@@ -20,7 +20,7 @@ const sizes = [
20
20
  { name: "md", fontSize: "16px", lineHeight: "24px" },
21
21
  { name: "lg", fontSize: "18px", lineHeight: "28px" },
22
22
  { name: "xl", fontSize: "20px", lineHeight: "30px" },
23
- { name: "xxl", fontSize: "24px", lineHeight: "36px" },
23
+ { name: "2xl", fontSize: "24px", lineHeight: "36px" },
24
24
  ];
25
25
 
26
26
  const colorTemplate = fs.readFileSync("templates/color.template.css", "utf-8");
@@ -42,7 +42,7 @@ ${colors
42
42
  let sizeOutput = `.har-typography-paragraph {${sizes
43
43
  .map((size) =>
44
44
  sizeTemplate
45
- .replace(/__SIZE__/g, size.name)
45
+ .replace(/__SIZE__/g, `size-${size.name}`)
46
46
  .replace(/__FONT_SIZE__/g, size.fontSize)
47
47
  .replace(/__LINE_HEIGHT__/g, size.lineHeight),
48
48
  )
@@ -1,30 +1,30 @@
1
1
  .har-typography-paragraph {
2
- &.xs {
2
+ &.size-xs {
3
3
  font-size: 12px;
4
4
  line-height: 18px;
5
5
  }
6
6
 
7
- &.sm {
7
+ &.size-sm {
8
8
  font-size: 14px;
9
9
  line-height: 20px;
10
10
  }
11
11
 
12
- &.md {
12
+ &.size-md {
13
13
  font-size: 16px;
14
14
  line-height: 24px;
15
15
  }
16
16
 
17
- &.lg {
17
+ &.size-lg {
18
18
  font-size: 18px;
19
19
  line-height: 28px;
20
20
  }
21
21
 
22
- &.xl {
22
+ &.size-xl {
23
23
  font-size: 20px;
24
24
  line-height: 30px;
25
25
  }
26
26
 
27
- &.xxl {
27
+ &.size-2xl {
28
28
  font-size: 24px;
29
29
  line-height: 36px;
30
30
  }
@@ -1,4 +1,4 @@
1
- .ar-typography-title {
1
+ .har-typography-title {
2
2
  font-family: var(--system);
3
3
  font-weight: 400;
4
4
  }
@@ -2,7 +2,6 @@
2
2
  @import url("./title/core.css");
3
3
  @import url("./title/color.css");
4
4
  @import url("./title/align.css");
5
- @import url("./title/size.css");
6
5
 
7
6
  /* Paragraph Css */
8
7
  @import url("./paragraph/core.css");
@@ -4,12 +4,17 @@ const { execSync } = require("child_process");
4
4
 
5
5
  const radiuses = ["0", "2", "4", "6", "8", "12", "16", "20", "40", "full"];
6
6
  const sizes = [
7
- { name: "xs", height: "320px" },
8
- { name: "sm", height: "384px" },
9
- { name: "md", height: "512px" },
10
- { name: "lg", height: "640px" },
11
- { name: "xl", height: "896px" },
12
- { name: "xxl", height: "1200px" },
7
+ { name: "xs", width: "320px" },
8
+ { name: "sm", width: "384px" },
9
+ { name: "md", width: "512px" },
10
+ { name: "lg", width: "640px" },
11
+ { name: "xl", width: "896px" },
12
+ { name: "2xl", width: "1200px" },
13
+ { name: "3xl", width: "80%" },
14
+ { name: "4xl", width: "85%" },
15
+ { name: "5xl", width: "90%" },
16
+ { name: "6xl", width: "95%" },
17
+ { name: "full", width: "100%" },
13
18
  ];
14
19
 
15
20
  const radiusTemplate = fs.readFileSync("templates/radius.template.css", "utf-8");
@@ -19,8 +24,8 @@ let radiusOutput = `.har-drawer-wrapper { > .har-drawer {${radiuses.map((radius)
19
24
  let sizeOutput = `.har-drawer-wrapper { > .har-drawer {${sizes
20
25
  .map((size) =>
21
26
  sizeTemplate
22
- .replace(/__SIZE__/g, size.name)
23
- .replace(/__SIZE_NUMBER__/g, size.height)
27
+ .replace(/__SIZE__/g, `size-${size.name}`)
28
+ .replace(/__SIZE_NUMBER__/g, size.width)
24
29
  .replace(/__FONT_SIZE__/g, size.fontSize),
25
30
  )
26
31
  .join("\n")}}}`;
@@ -1,33 +1,58 @@
1
1
  .har-drawer-wrapper {
2
2
  > .har-drawer {
3
- &.xs {
3
+ &.size-xs {
4
4
  right: -320px;
5
5
  width: 320px;
6
6
  }
7
7
 
8
- &.sm {
8
+ &.size-sm {
9
9
  right: -384px;
10
10
  width: 384px;
11
11
  }
12
12
 
13
- &.md {
13
+ &.size-md {
14
14
  right: -512px;
15
15
  width: 512px;
16
16
  }
17
17
 
18
- &.lg {
18
+ &.size-lg {
19
19
  right: -640px;
20
20
  width: 640px;
21
21
  }
22
22
 
23
- &.xl {
23
+ &.size-xl {
24
24
  right: -896px;
25
25
  width: 896px;
26
26
  }
27
27
 
28
- &.xxl {
28
+ &.size-2xl {
29
29
  right: -1200px;
30
30
  width: 1200px;
31
31
  }
32
+
33
+ &.size-3xl {
34
+ right: -80%;
35
+ width: 80%;
36
+ }
37
+
38
+ &.size-4xl {
39
+ right: -85%;
40
+ width: 85%;
41
+ }
42
+
43
+ &.size-5xl {
44
+ right: -90%;
45
+ width: 90%;
46
+ }
47
+
48
+ &.size-6xl {
49
+ right: -95%;
50
+ width: 95%;
51
+ }
52
+
53
+ &.size-full {
54
+ right: -100%;
55
+ width: 100%;
56
+ }
32
57
  }
33
58
  }
@@ -9,20 +9,17 @@ const sizes = [
9
9
  { name: "md", height: "512px" },
10
10
  { name: "lg", height: "640px" },
11
11
  { name: "xl", height: "896px" },
12
- { name: "xxl", height: "1200px" },
12
+ { name: "2xl", height: "1200px" },
13
13
  ];
14
14
 
15
- const radiusTemplate = fs.readFileSync(
16
- "templates/radius.template.css",
17
- "utf-8",
18
- );
15
+ const radiusTemplate = fs.readFileSync("templates/radius.template.css", "utf-8");
19
16
  const sizeTemplate = fs.readFileSync("templates/size.template.css", "utf-8");
20
17
 
21
18
  let radiusOutput = `.har-modal-wrapper { > .har-modal {${radiuses.map((radius) => radiusTemplate.replace(/__RADIUS__/g, radius)).join("\n")}}}`;
22
19
  let sizeOutput = `.har-modal-wrapper { > .har-modal {${sizes
23
20
  .map((size) =>
24
21
  sizeTemplate
25
- .replace(/__SIZE__/g, size.name)
22
+ .replace(/__SIZE__/g, `size-${size.name}`)
26
23
  .replace(/__SIZE_NUMBER__/g, size.height)
27
24
  .replace(/__FONT_SIZE__/g, size.fontSize),
28
25
  )
@@ -1,26 +1,26 @@
1
1
  .har-modal-wrapper {
2
2
  > .har-modal {
3
- &.xs {
3
+ &.size-xs {
4
4
  width: 320px;
5
5
  }
6
6
 
7
- &.sm {
7
+ &.size-sm {
8
8
  width: 384px;
9
9
  }
10
10
 
11
- &.md {
11
+ &.size-md {
12
12
  width: 512px;
13
13
  }
14
14
 
15
- &.lg {
15
+ &.size-lg {
16
16
  width: 640px;
17
17
  }
18
18
 
19
- &.xl {
19
+ &.size-xl {
20
20
  width: 896px;
21
21
  }
22
22
 
23
- &.xxl {
23
+ &.size-2xl {
24
24
  width: 1200px;
25
25
  }
26
26
  }
@@ -10,7 +10,7 @@ const sizes = [
10
10
  { name: "md", height: "2.5rem", fontSize: "0.875rem" },
11
11
  { name: "lg", height: "2.75rem", fontSize: "1rem" },
12
12
  { name: "xl", height: "3rem", fontSize: "1rem" },
13
- { name: "xxl", height: "3.25rem", fontSize: "1.25rem" },
13
+ { name: "2xl", height: "3.25rem", fontSize: "1.25rem" },
14
14
  ];
15
15
 
16
16
  const colorTemplate = fs.readFileSync("templates/color.template.css", "utf-8");
@@ -22,7 +22,7 @@ let radiusOutput = `.har-button {${radiuses.map((radius) => radiusTemplate.repla
22
22
  let sizeOutput = `.har-button {${sizes
23
23
  .map((size) =>
24
24
  sizeTemplate
25
- .replace(/__SIZE__/g, size.name)
25
+ .replace(/__SIZE__/g, `size-${size.name}`)
26
26
  .replace(/__SIZE_NUMBER__/g, size.height)
27
27
  .replace(/__FONT_SIZE__/g, size.fontSize),
28
28
  )
@@ -1,5 +1,5 @@
1
1
  .har-button {
2
- &.xs {
2
+ &.size-xs {
3
3
  height: 2rem;
4
4
  font-size: 0.75rem;
5
5
 
@@ -10,7 +10,7 @@
10
10
  }
11
11
  }
12
12
 
13
- &.sm {
13
+ &.size-sm {
14
14
  height: 2.25rem;
15
15
  font-size: 0.875rem;
16
16
 
@@ -21,7 +21,7 @@
21
21
  }
22
22
  }
23
23
 
24
- &.md {
24
+ &.size-md {
25
25
  height: 2.5rem;
26
26
  font-size: 0.875rem;
27
27
 
@@ -32,7 +32,7 @@
32
32
  }
33
33
  }
34
34
 
35
- &.lg {
35
+ &.size-lg {
36
36
  height: 2.75rem;
37
37
  font-size: 1rem;
38
38
 
@@ -43,7 +43,7 @@
43
43
  }
44
44
  }
45
45
 
46
- &.xl {
46
+ &.size-xl {
47
47
  height: 3rem;
48
48
  font-size: 1rem;
49
49
 
@@ -54,7 +54,7 @@
54
54
  }
55
55
  }
56
56
 
57
- &.xxl {
57
+ &.size-2xl {
58
58
  height: 3.25rem;
59
59
  font-size: 1.25rem;
60
60
 
@@ -28,7 +28,7 @@ let radiusOutput = `.har-checkbox {${radiuses.map((radius) => radiusTemplate.rep
28
28
  let sizeOutput = `.har-checkbox {${sizes
29
29
  .map((size) =>
30
30
  sizeTemplate
31
- .replace(/__SIZE__/g, size.name)
31
+ .replace(/__SIZE__/g, `size-${size.name}`)
32
32
  .replace(/__SIZE_NUMBER__/g, size["w/h"])
33
33
  .replace(/__FONT_SIZE__/g, size.fontSize),
34
34
  )
@@ -1,5 +1,5 @@
1
1
  .har-checkbox {
2
- &.xs {
2
+ &.size-xs {
3
3
  width: 1rem;
4
4
  height: 1rem;
5
5
 
@@ -8,7 +8,7 @@
8
8
  }
9
9
  }
10
10
 
11
- &.sm {
11
+ &.size-sm {
12
12
  width: 1.25rem;
13
13
  height: 1.25rem;
14
14
 
@@ -17,7 +17,7 @@
17
17
  }
18
18
  }
19
19
 
20
- &.md {
20
+ &.size-md {
21
21
  width: 1.5rem;
22
22
  height: 1.5rem;
23
23
 
@@ -10,7 +10,7 @@ const sizes = [
10
10
  { name: "md", height: "2.5rem", fontSize: "0.875rem" },
11
11
  { name: "lg", height: "2.75rem", fontSize: "1rem" },
12
12
  { name: "xl", height: "3rem", fontSize: "1rem" },
13
- { name: "xxl", height: "3.25rem", fontSize: "1.25rem" },
13
+ { name: "2xl", height: "3.25rem", fontSize: "1.25rem" },
14
14
  ];
15
15
 
16
16
  const colorTemplate = fs.readFileSync("templates/color.template.css", "utf-8");
@@ -22,7 +22,7 @@ let radiusOutput = `.har-input-wrapper {${radiuses.map((radius) => radiusTemplat
22
22
  let sizeOutput = `.har-input-wrapper {${sizes
23
23
  .map((size) =>
24
24
  sizeTemplate
25
- .replace(/__SIZE__/g, size.name)
25
+ .replace(/__SIZE__/g, `size-${size.name}`)
26
26
  .replace(/__SIZE_NUMBER__/g, size.height)
27
27
  .replace(/__FONT_SIZE__/g, size.fontSize),
28
28
  )
@@ -41,137 +41,3 @@ try {
41
41
  } catch (err) {
42
42
  console.error("⚠️ Prettier çalıştırılamadı:", err.message);
43
43
  }
44
-
45
- // const fs = require("fs");
46
- // const path = require("path");
47
- // const { execSync } = require("child_process");
48
-
49
- // let colorCSSContent = `.har-input-wrapper {`;
50
- // let borderCSSContent = `.har-input-wrapper {`;
51
- // let sizeCSSContent = `.har-input-wrapper {`;
52
-
53
- // const colorFile = path.join(__dirname, "color.css");
54
- // fs.writeFileSync(colorFile, "");
55
- // //-------
56
- // const borderFile = path.join(__dirname, "border.css");
57
- // fs.writeFileSync(borderFile, "");
58
- // //-------
59
- // const sizeFile = path.join(__dirname, "size.css");
60
- // fs.writeFileSync(sizeFile, "");
61
-
62
- // const variants = ["filled", "surface-borderless", "outlined", "dashed", "borderless"];
63
- // const colors = ["blue", "purple", "pink", "red", "orange", "yellow", "green", "teal", "cyan", "gray"];
64
- // const borders = ["0", "2", "4", "6", "8", "12", "16", "20", "40", "full"];
65
- // const sizes = [
66
- // { name: "xs", height: "2rem", fontSize: "0.75rem" },
67
- // { name: "sm", height: "2.25rem", fontSize: "0.875rem" },
68
- // { name: "md", height: "2.5rem", fontSize: "0.875rem" },
69
- // { name: "lg", height: "2.75rem", fontSize: "1rem" },
70
- // { name: "xl", height: "3rem", fontSize: "1rem" },
71
- // { name: "xxl", height: "3.25rem", fontSize: "1.25rem" },
72
- // ];
73
-
74
- // colors.map((color) => {
75
- // const styles = {
76
- // filled: `
77
- // background-color: var(--${color}-100);
78
- // border: var(--stroke-1) solid var(--${color}-300);
79
- // &:focus { border: var(--stroke-1) solid var(--${color}-500); }`,
80
- // "surface-borderless": `
81
- // background-color: var(--${color}-100);
82
- // &:focus { background-color: transparent; box-shadow: 0 0 0 2.5px var(--${color}-200); }`,
83
- // outlined: `
84
- // background-color: transparent;
85
- // border: var(--stroke-1) solid var(--${color}-300);
86
- // &:focus { box-shadow: 0 0 0 2.5px var(--${color}-200); }`,
87
- // dashed: `
88
- // background-color: transparent;
89
- // border: var(--stroke-1) dashed var(--${color}-300);
90
- // &:focus { box-shadow: 0 0 0 2.5px var(--${color}-200); }`,
91
- // borderless: `
92
- // background-color: transparent;
93
- // border: var(--stroke-1) solid transparent;`,
94
- // };
95
-
96
- // colorCSSContent += `&.${color} {`;
97
-
98
- // variants.map((variant) => {
99
- // colorCSSContent += `&.${variant} {
100
- // > .har-input {
101
- // > label { color: var(--${color}-500); }
102
- // > .input {
103
- // > input {
104
- // ${styles[variant]}
105
- // &::placeholder { color: var(--${color}-400); }
106
- // }
107
- // }
108
- // }
109
- // }
110
- // `;
111
- // });
112
-
113
- // colorCSSContent += `}`;
114
- // });
115
-
116
- // borders.map((border) => {
117
- // borderCSSContent += `
118
- // &:has(> .addon-before),
119
- // &:has(> .addon-after) {
120
- // &.radius-${border} {
121
- // > .addon-before {
122
- // border-top-left-radius: var(--radius-${border});
123
- // border-bottom-left-radius: var(--radius-${border});
124
- // }
125
-
126
- // > .addon-after {
127
- // border-top-right-radius: var(--radius-${border});
128
- // border-bottom-right-radius: var(--radius-${border});
129
- // }
130
- // }
131
- // }
132
-
133
- // &.radius-${border} {
134
- // > .har-input {
135
- // > .input {
136
- // > input { border-radius: var(--radius-${border}); }
137
- // }
138
- // }
139
- // }
140
- // `;
141
- // });
142
-
143
- // sizes.map((size) => {
144
- // sizeCSSContent += `&.${size.name} {
145
- // > .addon-before,
146
- // > .addon-after {
147
- // height: ${size.height}; font-size: ${size.fontSize};
148
- // }
149
-
150
- // > .har-input {
151
- // > .input {
152
- // > input {
153
- // height: ${size.height}; font-size: ${size.fontSize};
154
- // }
155
- // }
156
- // }
157
- // }
158
- // `;
159
- // });
160
-
161
- // colorCSSContent += `}`;
162
- // borderCSSContent += `}`;
163
- // sizeCSSContent += `}`;
164
-
165
- // fs.appendFileSync(colorFile, colorCSSContent);
166
- // fs.appendFileSync(borderFile, borderCSSContent);
167
- // fs.appendFileSync(sizeFile, sizeCSSContent);
168
-
169
- // try {
170
- // execSync(`npx prettier --write "${colorFile}"`, { stdio: "inherit" });
171
- // execSync(`npx prettier --write "${borderFile}"`, { stdio: "inherit" });
172
- // execSync(`npx prettier --write "${sizeFile}"`, { stdio: "inherit" });
173
-
174
- // execSync("npm run no-css-build", { stdio: "inherit" });
175
- // } catch (err) {
176
- // console.error("⚠️ Prettier çalıştırılamadı:", err.message);
177
- // }
@@ -1,5 +1,5 @@
1
1
  .har-input-wrapper {
2
- &.xs {
2
+ &.size-xs {
3
3
  > .addon-before,
4
4
  > .addon-after {
5
5
  height: 2rem;
@@ -21,7 +21,7 @@
21
21
  }
22
22
  }
23
23
 
24
- &.sm {
24
+ &.size-sm {
25
25
  > .addon-before,
26
26
  > .addon-after {
27
27
  height: 2.25rem;
@@ -43,7 +43,7 @@
43
43
  }
44
44
  }
45
45
 
46
- &.md {
46
+ &.size-md {
47
47
  > .addon-before,
48
48
  > .addon-after {
49
49
  height: 2.5rem;
@@ -65,7 +65,7 @@
65
65
  }
66
66
  }
67
67
 
68
- &.lg {
68
+ &.size-lg {
69
69
  > .addon-before,
70
70
  > .addon-after {
71
71
  height: 2.75rem;
@@ -87,7 +87,7 @@
87
87
  }
88
88
  }
89
89
 
90
- &.xl {
90
+ &.size-xl {
91
91
  > .addon-before,
92
92
  > .addon-after {
93
93
  height: 3rem;
@@ -109,7 +109,7 @@
109
109
  }
110
110
  }
111
111
 
112
- &.xxl {
112
+ &.size-2xl {
113
113
  > .addon-before,
114
114
  > .addon-after {
115
115
  height: 3.25rem;