@thefittingroom/shop-ui 1.3.7 → 1.3.9
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 +21 -2
- package/dist/esm/components/locale.d.ts +2 -0
- package/dist/esm/index.js +55 -12391
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/index.min.js +185 -185
- package/dist/esm/tfr-size-rec.d.ts +10 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -54,9 +54,17 @@ export type TfrCssVariables = {
|
|
|
54
54
|
|
|
55
55
|
// Size Selector
|
|
56
56
|
sizeSelectorTextColor?: string
|
|
57
|
+
sizeSelectorFontSize?: string
|
|
58
|
+
sizeSelectorFontWeight?: string
|
|
57
59
|
sizeSelectorBgColor?: string
|
|
58
60
|
sizeSelectorBgColorHover?: string
|
|
59
61
|
sizeSelectorBgColorActive?: string
|
|
62
|
+
sizeSelectorButtonHeight?: string
|
|
63
|
+
sizeSelectorButtonActiveHeight?: string
|
|
64
|
+
sizeSelectorButtonBorderColor?: string
|
|
65
|
+
sizeSelectorButtonBorderWidth?: string
|
|
66
|
+
sizeSelectorButtonRadius?: string
|
|
67
|
+
sizeSelectorButtonShadow?: string
|
|
60
68
|
}
|
|
61
69
|
|
|
62
70
|
// UI Hooks
|
|
@@ -101,7 +109,8 @@ tfr.setBrandUserId(brandUserId)
|
|
|
101
109
|
|
|
102
110
|
--tfr-dark: #121212;
|
|
103
111
|
--tfr-grey: #878787;
|
|
104
|
-
--tfr-light-grey: #
|
|
112
|
+
--tfr-light-grey: #dbdcdc;
|
|
113
|
+
--tfr-dark-grey: #3f3f3f;
|
|
105
114
|
|
|
106
115
|
/* Main */
|
|
107
116
|
--tfr-main-border-color: rgba(18, 18, 18, 0.55);
|
|
@@ -123,9 +132,19 @@ tfr.setBrandUserId(brandUserId)
|
|
|
123
132
|
|
|
124
133
|
/* Size Selector */
|
|
125
134
|
--tfr-size-selector-text-color: var(--tfr-white);
|
|
135
|
+
--tfr-size-selector-font-size: 14px;
|
|
136
|
+
--tfr-size-selector-font-weight: 400;
|
|
137
|
+
--tfr-size-selector-border-color: transparent;
|
|
138
|
+
--tfr-size-selector-border-width: 0;
|
|
126
139
|
--tfr-size-selector-bg-color: var(--tfr-grey);
|
|
127
|
-
--tfr-size-selector-bg-color-hover: var(--tfr-
|
|
140
|
+
--tfr-size-selector-bg-color-hover: var(--tfr-dark-grey);
|
|
128
141
|
--tfr-size-selector-bg-color-active: var(--tfr-dark);
|
|
142
|
+
--tfr-size-selector-button-height: 35px;
|
|
143
|
+
--tfr-size-selector-button-active-height: 45px;
|
|
144
|
+
--tfr-size-selector-button-active-border-color: transparent;
|
|
145
|
+
--tfr-size-selector-button-active-border-width: 0;
|
|
146
|
+
--tfr-size-selector-button-radius: 8px;
|
|
147
|
+
--tfr-size-selector-button-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.3);
|
|
129
148
|
}
|
|
130
149
|
```
|
|
131
150
|
|
|
@@ -2,6 +2,7 @@ declare var L: {
|
|
|
2
2
|
AssociatedEmail: string;
|
|
3
3
|
BackToSignIn: string;
|
|
4
4
|
BrandUserIdNotSet: string;
|
|
5
|
+
ClickHereToDownload: string;
|
|
5
6
|
DontHaveAcc: string;
|
|
6
7
|
DontHaveAvatar: string;
|
|
7
8
|
EmailAddress: string;
|
|
@@ -22,6 +23,7 @@ declare var L: {
|
|
|
22
23
|
ReturnToProductPage: string;
|
|
23
24
|
ReturnToSite: string;
|
|
24
25
|
ReturnToTfr: string;
|
|
26
|
+
ScanQrToDownload: string;
|
|
25
27
|
Send: string;
|
|
26
28
|
SignBackIn: string;
|
|
27
29
|
SignIn: string;
|