@jetbrains/ring-ui 7.0.0-beta.9 → 7.0.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.
Files changed (251) hide show
  1. package/babel.config.js +20 -14
  2. package/components/alert/alert.css +7 -7
  3. package/components/alert/alert.d.ts +2 -2
  4. package/components/alert/alert.js +10 -12
  5. package/components/alert/container.js +1 -1
  6. package/components/alert-service/alert-service.js +4 -2
  7. package/components/analytics/analytics__custom-plugin.js +1 -1
  8. package/components/auth/auth.js +1 -1
  9. package/components/auth/auth__core.js +36 -36
  10. package/components/auth/background-flow.js +2 -2
  11. package/components/auth/down-notification.js +3 -1
  12. package/components/auth/iframe-flow.js +4 -2
  13. package/components/auth/request-builder.js +5 -5
  14. package/components/auth/storage.js +10 -9
  15. package/components/auth/token-validator.js +8 -15
  16. package/components/auth-dialog/auth-dialog.js +8 -8
  17. package/components/auth-dialog-service/auth-dialog-service.js +4 -4
  18. package/components/avatar/avatar.js +9 -7
  19. package/components/avatar/fallback-avatar.js +15 -12
  20. package/components/button/button.css +31 -24
  21. package/components/button/button.js +9 -9
  22. package/components/button/button__classes.d.ts +1 -1
  23. package/components/button/button__classes.js +3 -4
  24. package/components/button-group/button-group.css +25 -13
  25. package/components/button-group/caption.js +1 -1
  26. package/components/button-toolbar/button-toolbar.d.ts +1 -1
  27. package/components/button-toolbar/button-toolbar.js +2 -2
  28. package/components/caret/caret.js +8 -8
  29. package/components/checkbox/checkbox.css +8 -5
  30. package/components/checkbox/checkbox.js +1 -1
  31. package/components/clipboard/clipboard-fallback.js +2 -6
  32. package/components/clipboard/clipboard.js +5 -5
  33. package/components/code/code.d.ts +1 -1
  34. package/components/code/code.js +2 -2
  35. package/components/code/highlight.css +3 -1
  36. package/components/collapse/collapse-content.js +3 -3
  37. package/components/collapse/collapse-context.js +1 -1
  38. package/components/collapse/collapse-control.js +5 -3
  39. package/components/collapse/collapse.css +21 -20
  40. package/components/collapse/collapse.js +2 -2
  41. package/components/confirm/confirm.d.ts +2 -2
  42. package/components/confirm/confirm.js +2 -2
  43. package/components/confirm-service/confirm-service.d.ts +1 -1
  44. package/components/confirm-service/confirm-service.js +6 -6
  45. package/components/content-layout/content-layout.css +6 -5
  46. package/components/content-layout/content-layout.js +7 -6
  47. package/components/content-layout/sidebar.js +5 -5
  48. package/components/contenteditable/contenteditable.d.ts +1 -1
  49. package/components/contenteditable/contenteditable.js +3 -4
  50. package/components/control-label/control-label.js +5 -3
  51. package/components/data-list/data-list.css +3 -3
  52. package/components/data-list/data-list.d.ts +2 -2
  53. package/components/data-list/data-list.js +6 -7
  54. package/components/data-list/data-list.mock.js +57 -47
  55. package/components/data-list/item.js +14 -16
  56. package/components/data-list/selection.js +5 -7
  57. package/components/data-list/title.js +5 -6
  58. package/components/date-picker/consts.js +2 -2
  59. package/components/date-picker/date-input.js +4 -4
  60. package/components/date-picker/date-picker.css +23 -18
  61. package/components/date-picker/date-picker.d.ts +2 -1
  62. package/components/date-picker/date-picker.js +13 -19
  63. package/components/date-picker/date-popup.js +30 -36
  64. package/components/date-picker/day.js +6 -9
  65. package/components/date-picker/formats.js +647 -1
  66. package/components/date-picker/month-names.js +6 -8
  67. package/components/date-picker/month-slider.js +2 -2
  68. package/components/date-picker/month.js +1 -3
  69. package/components/date-picker/months.js +2 -6
  70. package/components/date-picker/weekdays.js +2 -3
  71. package/components/date-picker/years.js +3 -3
  72. package/components/dialog/dialog.d.ts +1 -0
  73. package/components/dialog/dialog.js +20 -13
  74. package/components/dialog/dialog__body-scroll-preventer.js +1 -1
  75. package/components/dropdown/dropdown.css +2 -4
  76. package/components/dropdown/dropdown.d.ts +2 -2
  77. package/components/dropdown/dropdown.js +5 -5
  78. package/components/dropdown-menu/dropdown-menu.js +5 -5
  79. package/components/editable-heading/editable-heading.css +5 -2
  80. package/components/editable-heading/editable-heading.js +21 -19
  81. package/components/error-bubble/error-bubble.js +1 -1
  82. package/components/error-message/error-message.js +2 -4
  83. package/components/footer/footer.js +11 -15
  84. package/components/form/form.stories.js +45 -63
  85. package/components/global/create-stateful-context.js +2 -4
  86. package/components/global/data-tests.js +5 -6
  87. package/components/global/dom.js +8 -11
  88. package/components/global/focus-sensor-hoc.js +5 -6
  89. package/components/global/fuzzy-highlight.js +1 -1
  90. package/components/global/get-event-key.js +2 -2
  91. package/components/global/global.css +0 -3
  92. package/components/global/linear-function.js +1 -1
  93. package/components/global/normalize-indent.js +2 -6
  94. package/components/global/react-dom-renderer.js +2 -3
  95. package/components/global/theme.js +9 -10
  96. package/components/global/url.js +8 -8
  97. package/components/global/variables.css +1 -8
  98. package/components/global/variables_dark.css +0 -1
  99. package/components/grid/col.js +6 -6
  100. package/components/grid/grid.css +174 -173
  101. package/components/grid/grid.js +1 -1
  102. package/components/grid/row.js +13 -6
  103. package/components/group/group.js +1 -1
  104. package/components/header/header-icon.js +2 -2
  105. package/components/header/header.css +19 -15
  106. package/components/header/header.js +3 -5
  107. package/components/header/links.js +1 -1
  108. package/components/header/logo.js +1 -1
  109. package/components/header/profile.d.ts +2 -2
  110. package/components/header/profile.js +9 -9
  111. package/components/header/services-link.js +1 -1
  112. package/components/header/services.js +4 -5
  113. package/components/header/smart-profile.js +4 -3
  114. package/components/header/smart-services.js +9 -5
  115. package/components/header/tray.js +1 -1
  116. package/components/heading/heading.css +0 -1
  117. package/components/heading/heading.js +2 -2
  118. package/components/http/http.d.ts +3 -3
  119. package/components/http/http.js +25 -29
  120. package/components/http/http.mock.js +9 -6
  121. package/components/hub-source/hub-source.js +5 -7
  122. package/components/hub-source/hub-source__user.js +1 -1
  123. package/components/hub-source/hub-source__users-groups.js +6 -7
  124. package/components/i18n/README.md +3 -4
  125. package/components/i18n/i18n-context.js +2 -4
  126. package/components/icon/icon.js +7 -9
  127. package/components/icon/icon__svg.js +6 -6
  128. package/components/input/input.js +11 -14
  129. package/components/input-size/input-size.stories.js +42 -22
  130. package/components/island/adaptive-island-hoc.js +1 -1
  131. package/components/island/content.js +4 -6
  132. package/components/island/header.js +8 -10
  133. package/components/island/island.css +5 -5
  134. package/components/island/island.js +1 -1
  135. package/components/link/clickableLink.js +3 -1
  136. package/components/link/link.js +5 -3
  137. package/components/list/consts.js +1 -1
  138. package/components/list/list.d.ts +1 -1
  139. package/components/list/list.js +35 -57
  140. package/components/list/list__custom.js +3 -5
  141. package/components/list/list__hint.js +3 -1
  142. package/components/list/list__item.js +11 -9
  143. package/components/list/list__link.js +1 -1
  144. package/components/list/list__separator.js +2 -2
  145. package/components/list/list__title.js +7 -3
  146. package/components/list/list__users-groups-source.js +6 -8
  147. package/components/loader/loader.js +1 -1
  148. package/components/loader/loader__core.js +5 -5
  149. package/components/loader-inline/loader-inline.css +0 -3
  150. package/components/loader-inline/loader-inline.js +5 -7
  151. package/components/loader-screen/loader-screen.js +1 -1
  152. package/components/login-dialog/login-dialog.js +4 -4
  153. package/components/login-dialog/service.js +5 -5
  154. package/components/markdown/markdown.css +6 -6
  155. package/components/markdown/markdown.d.ts +2 -2
  156. package/components/markdown/markdown.js +4 -6
  157. package/components/message/message.css +2 -1
  158. package/components/message/message.js +30 -21
  159. package/components/old-browsers-message/old-browsers-message.js +2 -2
  160. package/components/old-browsers-message/white-list.js +2 -3
  161. package/components/pager/pager.js +28 -29
  162. package/components/permissions/permissions.js +8 -13
  163. package/components/permissions/permissions__cache.js +6 -7
  164. package/components/popup/popup.consts.js +8 -2
  165. package/components/popup/popup.js +27 -33
  166. package/components/popup/popup.target.js +4 -4
  167. package/components/popup/position.js +21 -28
  168. package/components/popup-menu/popup-menu.js +1 -1
  169. package/components/progress-bar/progress-bar.css +10 -8
  170. package/components/progress-bar/progress-bar.d.ts +2 -2
  171. package/components/progress-bar/progress-bar.js +2 -2
  172. package/components/query-assist/query-assist.css +0 -3
  173. package/components/query-assist/query-assist.js +73 -84
  174. package/components/query-assist/query-assist__suggestions.js +10 -9
  175. package/components/radio/radio.css +6 -2
  176. package/components/radio/radio.js +1 -3
  177. package/components/scrollable-section/scrollable-section.css +5 -6
  178. package/components/scrollable-section/scrollable-section.js +1 -1
  179. package/components/select/select.css +5 -5
  180. package/components/select/select.d.ts +1 -1
  181. package/components/select/select.js +96 -110
  182. package/components/select/select__filter.js +1 -1
  183. package/components/select/select__popup.js +40 -51
  184. package/components/shortcuts/core.js +10 -7
  185. package/components/shortcuts/shortcut-title.js +6 -6
  186. package/components/shortcuts/shortcuts.js +1 -1
  187. package/components/sidebar/sidebar.css +3 -1
  188. package/components/slider/slider.css +14 -14
  189. package/components/slider/slider.js +7 -7
  190. package/components/tab-trap/tab-trap.js +7 -9
  191. package/components/table/cell.js +3 -1
  192. package/components/table/disable-hover-hoc.js +2 -2
  193. package/components/table/header-cell.js +5 -3
  194. package/components/table/header.d.ts +1 -2
  195. package/components/table/header.js +10 -12
  196. package/components/table/multitable.js +5 -3
  197. package/components/table/row.d.ts +0 -1
  198. package/components/table/row.js +20 -27
  199. package/components/table/selection-adapter.js +1 -1
  200. package/components/table/selection-shortcuts-hoc.js +2 -2
  201. package/components/table/selection.d.ts +2 -3
  202. package/components/table/selection.js +4 -5
  203. package/components/table/simple-table.js +4 -4
  204. package/components/table/smart-table.js +5 -5
  205. package/components/table/table.css +8 -9
  206. package/components/table/table.d.ts +0 -1
  207. package/components/table/table.js +22 -23
  208. package/components/table/table.stories.json +45 -16
  209. package/components/tabs/collapsible-more.d.ts +1 -1
  210. package/components/tabs/collapsible-more.js +13 -16
  211. package/components/tabs/collapsible-tab.js +2 -2
  212. package/components/tabs/collapsible-tabs.d.ts +2 -2
  213. package/components/tabs/collapsible-tabs.js +13 -22
  214. package/components/tabs/dumb-tabs.js +6 -9
  215. package/components/tabs/smart-tabs.js +4 -4
  216. package/components/tabs/tab-link.js +1 -3
  217. package/components/tabs/tabs.css +7 -9
  218. package/components/tag/tag.css +6 -6
  219. package/components/tag/tag.d.ts +1 -1
  220. package/components/tag/tag.js +9 -12
  221. package/components/tags-input/tags-input.js +15 -19
  222. package/components/tags-list/tags-list.d.ts +2 -2
  223. package/components/tags-list/tags-list.js +6 -5
  224. package/components/text/text.js +5 -3
  225. package/components/toggle/toggle.css +12 -10
  226. package/components/toggle/toggle.d.ts +2 -2
  227. package/components/toggle/toggle.js +4 -3
  228. package/components/tooltip/tooltip.js +13 -8
  229. package/components/user-agreement/service.js +15 -13
  230. package/components/user-agreement/user-agreement.js +3 -5
  231. package/components/user-card/card.js +10 -9
  232. package/components/user-card/smart-user-card-tooltip.js +5 -7
  233. package/components/user-card/tooltip.js +4 -4
  234. package/components/user-card/user-card.css +4 -0
  235. package/jslint-xml.js +20 -19
  236. package/package.json +59 -50
  237. package/postcss.config.js +3 -4
  238. package/typings.d.ts +2 -4
  239. package/webpack.config.js +20 -25
  240. package/components/badge/badge.css +0 -42
  241. package/components/badge/badge.d.ts +0 -14
  242. package/components/badge/badge.js +0 -29
  243. package/components/island-legacy/content-legacy.d.ts +0 -5
  244. package/components/island-legacy/content-legacy.js +0 -12
  245. package/components/island-legacy/header-legacy.d.ts +0 -5
  246. package/components/island-legacy/header-legacy.js +0 -14
  247. package/components/island-legacy/island-legacy.css +0 -98
  248. package/components/island-legacy/island-legacy.d.ts +0 -7
  249. package/components/island-legacy/island-legacy.js +0 -14
  250. package/components/table-legacy/table-legacy.css +0 -346
  251. package/components/table-legacy/table-legacy__toolbar.css +0 -25
@@ -2,35 +2,36 @@
2
2
 
3
3
  @value breakpoint-small, breakpoint-middle, breakpoint-large from "../global/global.css";
4
4
  @value large-screen-media, middle-screen-media, small-screen-media from "../global/global.css";
5
- @value gutterWidth: (var(--ring-unit) * 2);
6
- @value gutterCompensation: calc(gutterWidth / -2);
7
- @value outerMargin: calc(var(--ring-unit) * 2);
8
- @value containerSmall: calc(breakpoint-small + gutterWidth);
9
- @value containerMedium: calc(breakpoint-middle + gutterWidth);
10
- @value containerLarge: calc(breakpoint-large + gutterWidth);
11
- @value width-1: 8.3333%;
12
- @value width-2: 16.6667%;
13
- @value width-3: 25%;
14
- @value width-4: 33.3333%;
15
- @value width-5: 41.6667%;
16
- @value width-6: 50%;
17
- @value width-7: 58.3333%;
18
- @value width-8: 66.6667%;
19
- @value width-9: 75%;
20
- @value width-10: 83.3333%;
21
- @value width-11: 91.6667%;
22
- @value width-12: 100%;
23
5
 
24
6
  .container-fluid,
25
7
  .container {
8
+ --ring-grid-gutter-width: calc(var(--ring-unit) * 2);
9
+ --ring-grid-gutter-compensation: calc(var(--ring-grid-gutter-width) / -2);
10
+ --ring-grid-outer-margin: calc(var(--ring-unit) * 2);
11
+ --ring-grid-container-small: calc(breakpoint-small + var(--ring-grid-gutter-width));
12
+ --ring-grid-container-medium: calc(breakpoint-middle + var(--ring-grid-gutter-width));
13
+ --ring-grid-container-large: calc(breakpoint-large + var(--ring-grid-gutter-width));
14
+ --ring-grid-width-1: 8.3333%;
15
+ --ring-grid-width-2: 16.6667%;
16
+ --ring-grid-width-3: 25%;
17
+ --ring-grid-width-4: 33.3333%;
18
+ --ring-grid-width-5: 41.6667%;
19
+ --ring-grid-width-6: 50%;
20
+ --ring-grid-width-7: 58.3333%;
21
+ --ring-grid-width-8: 66.6667%;
22
+ --ring-grid-width-9: 75%;
23
+ --ring-grid-width-10: 83.3333%;
24
+ --ring-grid-width-11: 91.6667%;
25
+ --ring-grid-width-12: 100%;
26
+
26
27
  margin-right: auto;
27
28
  margin-left: auto;
28
29
  }
29
30
 
30
31
  .container-fluid {
31
32
  min-width: calc(var(--ring-unit) * 40);
32
- padding-right: outerMargin;
33
- padding-left: outerMargin;
33
+ padding-right: var(--ring-grid-outer-margin);
34
+ padding-left: var(--ring-grid-outer-margin);
34
35
  }
35
36
 
36
37
  .row {
@@ -39,8 +40,8 @@
39
40
  flex-flow: row wrap;
40
41
 
41
42
  box-sizing: border-box;
42
- margin-right: gutterCompensation;
43
- margin-left: gutterCompensation;
43
+ margin-right: var(--ring-grid-gutter-compensation);
44
+ margin-left: var(--ring-grid-gutter-compensation);
44
45
  }
45
46
 
46
47
  .row.reverse {
@@ -85,8 +86,8 @@
85
86
  flex: 0 0 auto;
86
87
 
87
88
  box-sizing: border-box;
88
- padding-right: calc(gutterWidth / 2);
89
- padding-left: calc(gutterWidth / 2);
89
+ padding-right: calc(var(--ring-grid-gutter-width) / 2);
90
+ padding-left: calc(var(--ring-grid-gutter-width) / 2);
90
91
  }
91
92
 
92
93
  .col-xs {
@@ -97,75 +98,75 @@
97
98
  }
98
99
 
99
100
  .col-xs-1 {
100
- flex-basis: width-1;
101
+ flex-basis: var(--ring-grid-width-1);
101
102
 
102
- max-width: width-1;
103
+ max-width: var(--ring-grid-width-1);
103
104
  }
104
105
 
105
106
  .col-xs-2 {
106
- flex-basis: width-2;
107
+ flex-basis: var(--ring-grid-width-2);
107
108
 
108
- max-width: width-2;
109
+ max-width: var(--ring-grid-width-2);
109
110
  }
110
111
 
111
112
  .col-xs-3 {
112
- flex-basis: width-3;
113
+ flex-basis: var(--ring-grid-width-3);
113
114
 
114
- max-width: width-3;
115
+ max-width: var(--ring-grid-width-3);
115
116
  }
116
117
 
117
118
  .col-xs-4 {
118
- flex-basis: width-4;
119
+ flex-basis: var(--ring-grid-width-4);
119
120
 
120
- max-width: width-4;
121
+ max-width: var(--ring-grid-width-4);
121
122
  }
122
123
 
123
124
  .col-xs-5 {
124
- flex-basis: width-5;
125
+ flex-basis: var(--ring-grid-width-5);
125
126
 
126
- max-width: width-5;
127
+ max-width: var(--ring-grid-width-5);
127
128
  }
128
129
 
129
130
  .col-xs-6 {
130
- flex-basis: width-6;
131
+ flex-basis: var(--ring-grid-width-6);
131
132
 
132
- max-width: width-6;
133
+ max-width: var(--ring-grid-width-6);
133
134
  }
134
135
 
135
136
  .col-xs-7 {
136
- flex-basis: width-7;
137
+ flex-basis: var(--ring-grid-width-7);
137
138
 
138
- max-width: width-7;
139
+ max-width: var(--ring-grid-width-7);
139
140
  }
140
141
 
141
142
  .col-xs-8 {
142
- flex-basis: width-8;
143
+ flex-basis: var(--ring-grid-width-8);
143
144
 
144
- max-width: width-8;
145
+ max-width: var(--ring-grid-width-8);
145
146
  }
146
147
 
147
148
  .col-xs-9 {
148
- flex-basis: width-9;
149
+ flex-basis: var(--ring-grid-width-9);
149
150
 
150
- max-width: width-9;
151
+ max-width: var(--ring-grid-width-9);
151
152
  }
152
153
 
153
154
  .col-xs-10 {
154
- flex-basis: width-10;
155
+ flex-basis: var(--ring-grid-width-10);
155
156
 
156
- max-width: width-10;
157
+ max-width: var(--ring-grid-width-10);
157
158
  }
158
159
 
159
160
  .col-xs-11 {
160
- flex-basis: width-11;
161
+ flex-basis: var(--ring-grid-width-11);
161
162
 
162
- max-width: width-11;
163
+ max-width: var(--ring-grid-width-11);
163
164
  }
164
165
 
165
166
  .col-xs-12 {
166
- flex-basis: width-12;
167
+ flex-basis: var(--ring-grid-width-12);
167
168
 
168
- max-width: width-12;
169
+ max-width: var(--ring-grid-width-12);
169
170
  }
170
171
 
171
172
  .col-xs-offset-0 {
@@ -173,47 +174,47 @@
173
174
  }
174
175
 
175
176
  .col-xs-offset-1 {
176
- margin-left: width-1;
177
+ margin-left: var(--ring-grid-width-1);
177
178
  }
178
179
 
179
180
  .col-xs-offset-2 {
180
- margin-left: width-2;
181
+ margin-left: var(--ring-grid-width-2);
181
182
  }
182
183
 
183
184
  .col-xs-offset-3 {
184
- margin-left: width-3;
185
+ margin-left: var(--ring-grid-width-3);
185
186
  }
186
187
 
187
188
  .col-xs-offset-4 {
188
- margin-left: width-4;
189
+ margin-left: var(--ring-grid-width-4);
189
190
  }
190
191
 
191
192
  .col-xs-offset-5 {
192
- margin-left: width-5;
193
+ margin-left: var(--ring-grid-width-5);
193
194
  }
194
195
 
195
196
  .col-xs-offset-6 {
196
- margin-left: width-6;
197
+ margin-left: var(--ring-grid-width-6);
197
198
  }
198
199
 
199
200
  .col-xs-offset-7 {
200
- margin-left: width-7;
201
+ margin-left: var(--ring-grid-width-7);
201
202
  }
202
203
 
203
204
  .col-xs-offset-8 {
204
- margin-left: width-8;
205
+ margin-left: var(--ring-grid-width-8);
205
206
  }
206
207
 
207
208
  .col-xs-offset-9 {
208
- margin-left: width-9;
209
+ margin-left: var(--ring-grid-width-9);
209
210
  }
210
211
 
211
212
  .col-xs-offset-10 {
212
- margin-left: width-10;
213
+ margin-left: var(--ring-grid-width-10);
213
214
  }
214
215
 
215
216
  .col-xs-offset-11 {
216
- margin-left: width-11;
217
+ margin-left: var(--ring-grid-width-11);
217
218
  }
218
219
 
219
220
  .start-xs {
@@ -268,7 +269,7 @@
268
269
 
269
270
  @media small-screen-media {
270
271
  .container {
271
- width: containerSmall;
272
+ width: var(--ring-grid-container-small);
272
273
  }
273
274
 
274
275
  .col-sm,
@@ -300,8 +301,8 @@
300
301
  flex: 0 0 auto;
301
302
 
302
303
  box-sizing: border-box;
303
- padding-right: calc(gutterWidth / 2);
304
- padding-left: calc(gutterWidth / 2);
304
+ padding-right: calc(var(--ring-grid-gutter-width) / 2);
305
+ padding-left: calc(var(--ring-grid-gutter-width) / 2);
305
306
  }
306
307
 
307
308
  .col-sm {
@@ -312,75 +313,75 @@
312
313
  }
313
314
 
314
315
  .col-sm-1 {
315
- flex-basis: width-1;
316
+ flex-basis: var(--ring-grid-width-1);
316
317
 
317
- max-width: width-1;
318
+ max-width: var(--ring-grid-width-1);
318
319
  }
319
320
 
320
321
  .col-sm-2 {
321
- flex-basis: width-2;
322
+ flex-basis: var(--ring-grid-width-2);
322
323
 
323
- max-width: width-2;
324
+ max-width: var(--ring-grid-width-2);
324
325
  }
325
326
 
326
327
  .col-sm-3 {
327
- flex-basis: width-3;
328
+ flex-basis: var(--ring-grid-width-3);
328
329
 
329
- max-width: width-3;
330
+ max-width: var(--ring-grid-width-3);
330
331
  }
331
332
 
332
333
  .col-sm-4 {
333
- flex-basis: width-4;
334
+ flex-basis: var(--ring-grid-width-4);
334
335
 
335
- max-width: width-4;
336
+ max-width: var(--ring-grid-width-4);
336
337
  }
337
338
 
338
339
  .col-sm-5 {
339
- flex-basis: width-5;
340
+ flex-basis: var(--ring-grid-width-5);
340
341
 
341
- max-width: width-5;
342
+ max-width: var(--ring-grid-width-5);
342
343
  }
343
344
 
344
345
  .col-sm-6 {
345
- flex-basis: width-6;
346
+ flex-basis: var(--ring-grid-width-6);
346
347
 
347
- max-width: width-6;
348
+ max-width: var(--ring-grid-width-6);
348
349
  }
349
350
 
350
351
  .col-sm-7 {
351
- flex-basis: width-7;
352
+ flex-basis: var(--ring-grid-width-7);
352
353
 
353
- max-width: width-7;
354
+ max-width: var(--ring-grid-width-7);
354
355
  }
355
356
 
356
357
  .col-sm-8 {
357
- flex-basis: width-8;
358
+ flex-basis: var(--ring-grid-width-8);
358
359
 
359
- max-width: width-8;
360
+ max-width: var(--ring-grid-width-8);
360
361
  }
361
362
 
362
363
  .col-sm-9 {
363
- flex-basis: width-9;
364
+ flex-basis: var(--ring-grid-width-9);
364
365
 
365
- max-width: width-9;
366
+ max-width: var(--ring-grid-width-9);
366
367
  }
367
368
 
368
369
  .col-sm-10 {
369
- flex-basis: width-10;
370
+ flex-basis: var(--ring-grid-width-10);
370
371
 
371
- max-width: width-10;
372
+ max-width: var(--ring-grid-width-10);
372
373
  }
373
374
 
374
375
  .col-sm-11 {
375
- flex-basis: width-11;
376
+ flex-basis: var(--ring-grid-width-11);
376
377
 
377
- max-width: width-11;
378
+ max-width: var(--ring-grid-width-11);
378
379
  }
379
380
 
380
381
  .col-sm-12 {
381
- flex-basis: width-12;
382
+ flex-basis: var(--ring-grid-width-12);
382
383
 
383
- max-width: width-12;
384
+ max-width: var(--ring-grid-width-12);
384
385
  }
385
386
 
386
387
  .col-sm-offset-0 {
@@ -388,47 +389,47 @@
388
389
  }
389
390
 
390
391
  .col-sm-offset-1 {
391
- margin-left: width-1;
392
+ margin-left: var(--ring-grid-width-1);
392
393
  }
393
394
 
394
395
  .col-sm-offset-2 {
395
- margin-left: width-2;
396
+ margin-left: var(--ring-grid-width-2);
396
397
  }
397
398
 
398
399
  .col-sm-offset-3 {
399
- margin-left: width-3;
400
+ margin-left: var(--ring-grid-width-3);
400
401
  }
401
402
 
402
403
  .col-sm-offset-4 {
403
- margin-left: width-4;
404
+ margin-left: var(--ring-grid-width-4);
404
405
  }
405
406
 
406
407
  .col-sm-offset-5 {
407
- margin-left: width-5;
408
+ margin-left: var(--ring-grid-width-5);
408
409
  }
409
410
 
410
411
  .col-sm-offset-6 {
411
- margin-left: width-6;
412
+ margin-left: var(--ring-grid-width-6);
412
413
  }
413
414
 
414
415
  .col-sm-offset-7 {
415
- margin-left: width-7;
416
+ margin-left: var(--ring-grid-width-7);
416
417
  }
417
418
 
418
419
  .col-sm-offset-8 {
419
- margin-left: width-8;
420
+ margin-left: var(--ring-grid-width-8);
420
421
  }
421
422
 
422
423
  .col-sm-offset-9 {
423
- margin-left: width-9;
424
+ margin-left: var(--ring-grid-width-9);
424
425
  }
425
426
 
426
427
  .col-sm-offset-10 {
427
- margin-left: width-10;
428
+ margin-left: var(--ring-grid-width-10);
428
429
  }
429
430
 
430
431
  .col-sm-offset-11 {
431
- margin-left: width-11;
432
+ margin-left: var(--ring-grid-width-11);
432
433
  }
433
434
 
434
435
  .start-sm {
@@ -484,7 +485,7 @@
484
485
 
485
486
  @media middle-screen-media {
486
487
  .container {
487
- width: containerMedium;
488
+ width: var(--ring-grid-container-medium);
488
489
  }
489
490
 
490
491
  .col-md,
@@ -516,8 +517,8 @@
516
517
  flex: 0 0 auto;
517
518
 
518
519
  box-sizing: border-box;
519
- padding-right: calc(gutterWidth / 2);
520
- padding-left: calc(gutterWidth / 2);
520
+ padding-right: calc(var(--ring-grid-gutter-width) / 2);
521
+ padding-left: calc(var(--ring-grid-gutter-width) / 2);
521
522
  }
522
523
 
523
524
  .col-md {
@@ -528,75 +529,75 @@
528
529
  }
529
530
 
530
531
  .col-md-1 {
531
- flex-basis: width-1;
532
+ flex-basis: var(--ring-grid-width-1);
532
533
 
533
- max-width: width-1;
534
+ max-width: var(--ring-grid-width-1);
534
535
  }
535
536
 
536
537
  .col-md-2 {
537
- flex-basis: width-2;
538
+ flex-basis: var(--ring-grid-width-2);
538
539
 
539
- max-width: width-2;
540
+ max-width: var(--ring-grid-width-2);
540
541
  }
541
542
 
542
543
  .col-md-3 {
543
- flex-basis: width-3;
544
+ flex-basis: var(--ring-grid-width-3);
544
545
 
545
- max-width: width-3;
546
+ max-width: var(--ring-grid-width-3);
546
547
  }
547
548
 
548
549
  .col-md-4 {
549
- flex-basis: width-4;
550
+ flex-basis: var(--ring-grid-width-4);
550
551
 
551
- max-width: width-4;
552
+ max-width: var(--ring-grid-width-4);
552
553
  }
553
554
 
554
555
  .col-md-5 {
555
- flex-basis: width-5;
556
+ flex-basis: var(--ring-grid-width-5);
556
557
 
557
- max-width: width-5;
558
+ max-width: var(--ring-grid-width-5);
558
559
  }
559
560
 
560
561
  .col-md-6 {
561
- flex-basis: width-6;
562
+ flex-basis: var(--ring-grid-width-6);
562
563
 
563
- max-width: width-6;
564
+ max-width: var(--ring-grid-width-6);
564
565
  }
565
566
 
566
567
  .col-md-7 {
567
- flex-basis: width-7;
568
+ flex-basis: var(--ring-grid-width-7);
568
569
 
569
- max-width: width-7;
570
+ max-width: var(--ring-grid-width-7);
570
571
  }
571
572
 
572
573
  .col-md-8 {
573
- flex-basis: width-8;
574
+ flex-basis: var(--ring-grid-width-8);
574
575
 
575
- max-width: width-8;
576
+ max-width: var(--ring-grid-width-8);
576
577
  }
577
578
 
578
579
  .col-md-9 {
579
- flex-basis: width-9;
580
+ flex-basis: var(--ring-grid-width-9);
580
581
 
581
- max-width: width-9;
582
+ max-width: var(--ring-grid-width-9);
582
583
  }
583
584
 
584
585
  .col-md-10 {
585
- flex-basis: width-10;
586
+ flex-basis: var(--ring-grid-width-10);
586
587
 
587
- max-width: width-10;
588
+ max-width: var(--ring-grid-width-10);
588
589
  }
589
590
 
590
591
  .col-md-11 {
591
- flex-basis: width-11;
592
+ flex-basis: var(--ring-grid-width-11);
592
593
 
593
- max-width: width-11;
594
+ max-width: var(--ring-grid-width-11);
594
595
  }
595
596
 
596
597
  .col-md-12 {
597
- flex-basis: width-12;
598
+ flex-basis: var(--ring-grid-width-12);
598
599
 
599
- max-width: width-12;
600
+ max-width: var(--ring-grid-width-12);
600
601
  }
601
602
 
602
603
  .col-md-offset-0 {
@@ -604,47 +605,47 @@
604
605
  }
605
606
 
606
607
  .col-md-offset-1 {
607
- margin-left: width-1;
608
+ margin-left: var(--ring-grid-width-1);
608
609
  }
609
610
 
610
611
  .col-md-offset-2 {
611
- margin-left: width-2;
612
+ margin-left: var(--ring-grid-width-2);
612
613
  }
613
614
 
614
615
  .col-md-offset-3 {
615
- margin-left: width-3;
616
+ margin-left: var(--ring-grid-width-3);
616
617
  }
617
618
 
618
619
  .col-md-offset-4 {
619
- margin-left: width-4;
620
+ margin-left: var(--ring-grid-width-4);
620
621
  }
621
622
 
622
623
  .col-md-offset-5 {
623
- margin-left: width-5;
624
+ margin-left: var(--ring-grid-width-5);
624
625
  }
625
626
 
626
627
  .col-md-offset-6 {
627
- margin-left: width-6;
628
+ margin-left: var(--ring-grid-width-6);
628
629
  }
629
630
 
630
631
  .col-md-offset-7 {
631
- margin-left: width-7;
632
+ margin-left: var(--ring-grid-width-7);
632
633
  }
633
634
 
634
635
  .col-md-offset-8 {
635
- margin-left: width-8;
636
+ margin-left: var(--ring-grid-width-8);
636
637
  }
637
638
 
638
639
  .col-md-offset-9 {
639
- margin-left: width-9;
640
+ margin-left: var(--ring-grid-width-9);
640
641
  }
641
642
 
642
643
  .col-md-offset-10 {
643
- margin-left: width-10;
644
+ margin-left: var(--ring-grid-width-10);
644
645
  }
645
646
 
646
647
  .col-md-offset-11 {
647
- margin-left: width-11;
648
+ margin-left: var(--ring-grid-width-11);
648
649
  }
649
650
 
650
651
  .start-md {
@@ -700,7 +701,7 @@
700
701
 
701
702
  @media large-screen-media {
702
703
  .container {
703
- width: containerLarge;
704
+ width: var(--ring-grid-container-large);
704
705
  }
705
706
 
706
707
  .col-lg,
@@ -732,8 +733,8 @@
732
733
  flex: 0 0 auto;
733
734
 
734
735
  box-sizing: border-box;
735
- padding-right: calc(gutterWidth / 2);
736
- padding-left: calc(gutterWidth / 2);
736
+ padding-right: calc(var(--ring-grid-gutter-width) / 2);
737
+ padding-left: calc(var(--ring-grid-gutter-width) / 2);
737
738
  }
738
739
 
739
740
  .col-lg {
@@ -744,75 +745,75 @@
744
745
  }
745
746
 
746
747
  .col-lg-1 {
747
- flex-basis: width-1;
748
+ flex-basis: var(--ring-grid-width-1);
748
749
 
749
- max-width: width-1;
750
+ max-width: var(--ring-grid-width-1);
750
751
  }
751
752
 
752
753
  .col-lg-2 {
753
- flex-basis: width-2;
754
+ flex-basis: var(--ring-grid-width-2);
754
755
 
755
- max-width: width-2;
756
+ max-width: var(--ring-grid-width-2);
756
757
  }
757
758
 
758
759
  .col-lg-3 {
759
- flex-basis: width-3;
760
+ flex-basis: var(--ring-grid-width-3);
760
761
 
761
- max-width: width-3;
762
+ max-width: var(--ring-grid-width-3);
762
763
  }
763
764
 
764
765
  .col-lg-4 {
765
- flex-basis: width-4;
766
+ flex-basis: var(--ring-grid-width-4);
766
767
 
767
- max-width: width-4;
768
+ max-width: var(--ring-grid-width-4);
768
769
  }
769
770
 
770
771
  .col-lg-5 {
771
- flex-basis: width-5;
772
+ flex-basis: var(--ring-grid-width-5);;
772
773
 
773
- max-width: width-5;
774
+ max-width: var(--ring-grid-width-5);
774
775
  }
775
776
 
776
777
  .col-lg-6 {
777
- flex-basis: width-6;
778
+ flex-basis: var(--ring-grid-width-6);
778
779
 
779
- max-width: width-6;
780
+ max-width: var(--ring-grid-width-6);
780
781
  }
781
782
 
782
783
  .col-lg-7 {
783
- flex-basis: width-7;
784
+ flex-basis: var(--ring-grid-width-7);
784
785
 
785
- max-width: width-7;
786
+ max-width: var(--ring-grid-width-7);
786
787
  }
787
788
 
788
789
  .col-lg-8 {
789
- flex-basis: width-8;
790
+ flex-basis: var(--ring-grid-width-8);
790
791
 
791
- max-width: width-8;
792
+ max-width: var(--ring-grid-width-8);
792
793
  }
793
794
 
794
795
  .col-lg-9 {
795
- flex-basis: width-9;
796
+ flex-basis: var(--ring-grid-width-9);
796
797
 
797
- max-width: width-9;
798
+ max-width: var(--ring-grid-width-9);
798
799
  }
799
800
 
800
801
  .col-lg-10 {
801
- flex-basis: width-10;
802
+ flex-basis: var(--ring-grid-width-10);
802
803
 
803
- max-width: width-10;
804
+ max-width: var(--ring-grid-width-10);
804
805
  }
805
806
 
806
807
  .col-lg-11 {
807
- flex-basis: width-11;
808
+ flex-basis: var(--ring-grid-width-11);
808
809
 
809
- max-width: width-11;
810
+ max-width: var(--ring-grid-width-11);
810
811
  }
811
812
 
812
813
  .col-lg-12 {
813
- flex-basis: width-12;
814
+ flex-basis: var(--ring-grid-width-12);
814
815
 
815
- max-width: width-12;
816
+ max-width: var(--ring-grid-width-12);
816
817
  }
817
818
 
818
819
  .col-lg-offset-0 {
@@ -820,47 +821,47 @@
820
821
  }
821
822
 
822
823
  .col-lg-offset-1 {
823
- margin-left: width-1;
824
+ margin-left: var(--ring-grid-width-1);
824
825
  }
825
826
 
826
827
  .col-lg-offset-2 {
827
- margin-left: width-2;
828
+ margin-left: var(--ring-grid-width-2);
828
829
  }
829
830
 
830
831
  .col-lg-offset-3 {
831
- margin-left: width-3;
832
+ margin-left: var(--ring-grid-width-3);
832
833
  }
833
834
 
834
835
  .col-lg-offset-4 {
835
- margin-left: width-4;
836
+ margin-left: var(--ring-grid-width-4);
836
837
  }
837
838
 
838
839
  .col-lg-offset-5 {
839
- margin-left: width-5;
840
+ margin-left: var(--ring-grid-width-5);
840
841
  }
841
842
 
842
843
  .col-lg-offset-6 {
843
- margin-left: width-6;
844
+ margin-left: var(--ring-grid-width-6);
844
845
  }
845
846
 
846
847
  .col-lg-offset-7 {
847
- margin-left: width-7;
848
+ margin-left: var(--ring-grid-width-7);
848
849
  }
849
850
 
850
851
  .col-lg-offset-8 {
851
- margin-left: width-8;
852
+ margin-left: var(--ring-grid-width-8);
852
853
  }
853
854
 
854
855
  .col-lg-offset-9 {
855
- margin-left: width-9;
856
+ margin-left: var(--ring-grid-width-9);
856
857
  }
857
858
 
858
859
  .col-lg-offset-10 {
859
- margin-left: width-10;
860
+ margin-left: var(--ring-grid-width-10);
860
861
  }
861
862
 
862
863
  .col-lg-offset-11 {
863
- margin-left: width-11;
864
+ margin-left: var(--ring-grid-width-11);
864
865
  }
865
866
 
866
867
  .start-lg {