@tui/design-system 5.0.0-beta.1 → 5.0.0-beta.5
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/CHANGELOG.md +83 -5
- package/README.md +36 -8
- package/dist/themes/crystalski/fonts.css +30 -0
- package/dist/themes/crystalski/fonts.css.map +1 -0
- package/dist/themes/crystalski/index.css +435 -0
- package/dist/themes/crystalski/index.css.map +1 -0
- package/dist/themes/firstchoice/fonts.css +23 -0
- package/dist/themes/firstchoice/fonts.css.map +1 -0
- package/dist/themes/firstchoice/index.css +449 -0
- package/dist/themes/firstchoice/index.css.map +1 -0
- package/dist/themes/tui/fonts.css +72 -0
- package/dist/themes/tui/fonts.css.map +1 -0
- package/dist/themes/tui/index.css +482 -0
- package/dist/themes/tui/index.css.map +1 -0
- package/package.json +31 -37
- package/scss/functions/_map.scss +84 -0
- package/scss/functions.scss +1 -0
- package/scss/lib/accordion/_index.scss +4 -0
- package/scss/lib/accordion/_mixins.scss +233 -0
- package/scss/lib/accordion/_variables.scss +11 -0
- package/scss/lib/active-tag/_index.scss +4 -0
- package/scss/lib/active-tag/_mixins.scss +112 -0
- package/scss/lib/active-tag/_variables.scss +8 -0
- package/scss/lib/alert/_index.scss +3 -0
- package/scss/lib/alert/_mixins.scss +135 -0
- package/scss/lib/alert/_variables.scss +15 -0
- package/scss/lib/breadcrumb/_index.scss +3 -0
- package/scss/lib/breadcrumb/_mixins.scss +58 -0
- package/scss/lib/breadcrumb/_variables.scss +6 -0
- package/scss/lib/button/_index.scss +4 -0
- package/scss/lib/button/_mixins.scss +193 -0
- package/scss/lib/button/_variables.scss +25 -0
- package/scss/lib/cards/card/_index.scss +3 -0
- package/scss/lib/cards/card/_mixins.scss +37 -0
- package/scss/lib/cards/card/_variables.scss +2 -0
- package/scss/lib/cards/search/_index.scss +3 -0
- package/scss/lib/cards/search/_mixins.scss +432 -0
- package/scss/lib/cards/search/_variables.scss +10 -0
- package/scss/lib/divider/_index.scss +4 -0
- package/scss/lib/divider/_mixins.scss +54 -0
- package/scss/lib/divider/_variables.scss +17 -0
- package/scss/lib/flight-details/_index.scss +3 -0
- package/scss/lib/flight-details/_mixins.scss +468 -0
- package/scss/lib/flight-details/_variables.scss +6 -0
- package/scss/lib/flyout-dropdown/_index.scss +3 -0
- package/scss/lib/flyout-dropdown/_mixins.scss +124 -0
- package/scss/lib/forms/form-row/_index.scss +3 -0
- package/scss/lib/forms/form-row/_mixins.scss +72 -0
- package/scss/lib/forms/form-row/_variables.scss +7 -0
- package/scss/lib/forms/input-checkbox/_index.scss +3 -0
- package/scss/lib/forms/input-checkbox/_mixins.scss +216 -0
- package/scss/lib/forms/input-checkbox/_variables.scss +9 -0
- package/scss/lib/forms/input-chip/_index.scss +4 -0
- package/scss/lib/forms/input-chip/_mixins.scss +124 -0
- package/scss/lib/forms/input-chip/_variables.scss +19 -0
- package/scss/lib/forms/input-count/_index.scss +3 -0
- package/scss/lib/forms/input-count/_mixins.scss +72 -0
- package/scss/lib/forms/input-count/_variables.scss +13 -0
- package/scss/lib/forms/input-radio/_index.scss +3 -0
- package/scss/lib/forms/input-radio/_mixins.scss +139 -0
- package/scss/lib/forms/input-radio/_variables.scss +6 -0
- package/scss/lib/forms/input-slider/_index.scss +3 -0
- package/scss/lib/forms/input-slider/_mixins.scss +147 -0
- package/scss/lib/forms/input-slider/_variables.scss +12 -0
- package/scss/lib/forms/input-stepper/_index.scss +3 -0
- package/scss/lib/forms/input-stepper/_mixins.scss +143 -0
- package/scss/lib/forms/input-stepper/_variables.scss +7 -0
- package/scss/lib/forms/input-switch/_index.scss +3 -0
- package/scss/lib/forms/input-switch/_mixins.scss +122 -0
- package/scss/lib/forms/input-switch/_variables.scss +18 -0
- package/scss/lib/forms/input-text/_index.scss +3 -0
- package/scss/lib/forms/input-text/_mixins.scss +155 -0
- package/scss/lib/forms/input-text/_variables.scss +9 -0
- package/scss/lib/forms/textarea/_index.scss +3 -0
- package/scss/lib/forms/textarea/_mixins.scss +88 -0
- package/scss/lib/grid/_column.scss +51 -0
- package/scss/lib/grid/_container.scss +21 -0
- package/scss/lib/grid/_index.scss +3 -0
- package/scss/lib/grid/_mixins.scss +126 -0
- package/scss/lib/grid/_variables.scss +11 -0
- package/scss/lib/hero/_index.scss +3 -0
- package/scss/lib/hero/_mixins.scss +336 -0
- package/scss/lib/hero/_variables.scss +21 -0
- package/scss/lib/icon/_index.scss +3 -0
- package/scss/lib/icon/_mixins.scss +54 -0
- package/scss/lib/icon/_variables.scss +10 -0
- package/scss/lib/icon-button/_index.scss +3 -0
- package/scss/lib/icon-button/_mixins.scss +168 -0
- package/scss/lib/icon-button/_variables.scss +31 -0
- package/scss/lib/image/_index.scss +3 -0
- package/scss/lib/image/_mixins.scss +89 -0
- package/scss/lib/image/_variables.scss +13 -0
- package/scss/lib/info-tag/_index.scss +4 -0
- package/scss/lib/info-tag/_mixins.scss +100 -0
- package/scss/lib/info-tag/_variables.scss +13 -0
- package/scss/lib/link/_index.scss +3 -0
- package/scss/lib/link/_mixins.scss +86 -0
- package/scss/lib/link/_variables.scss +13 -0
- package/scss/lib/list/_index.scss +3 -0
- package/scss/lib/list/_mixins.scss +198 -0
- package/scss/lib/list/_variables.scss +9 -0
- package/scss/lib/loader/_index.scss +3 -0
- package/scss/lib/loader/_mixins.scss +52 -0
- package/scss/lib/loader/_variables.scss +12 -0
- package/scss/lib/media-button/_index.scss +4 -0
- package/scss/lib/media-button/_mixins.scss +75 -0
- package/scss/lib/media-button/_variables.scss +4 -0
- package/scss/lib/modal/_index.scss +2 -0
- package/scss/lib/modal/_mixins.scss +135 -0
- package/scss/lib/modal/_variables.scss +11 -0
- package/scss/lib/pagination/_index.scss +3 -0
- package/scss/lib/pagination/_mixins.scss +220 -0
- package/scss/lib/pagination/_variables.scss +12 -0
- package/scss/lib/price/_index.scss +3 -0
- package/scss/lib/price/_mixins.scss +83 -0
- package/scss/lib/price/_variables.scss +10 -0
- package/scss/lib/promo-tag/_index.scss +4 -0
- package/scss/lib/promo-tag/_mixins.scss +81 -0
- package/scss/lib/promo-tag/_variables.scss +7 -0
- package/scss/lib/ratings-reviews/numerical/_index.scss +3 -0
- package/scss/lib/ratings-reviews/numerical/_mixins.scss +91 -0
- package/scss/lib/ratings-reviews/numerical/_variables.scss +18 -0
- package/scss/lib/ratings-reviews/percentage/_index.scss +3 -0
- package/scss/lib/ratings-reviews/percentage/_mixins.scss +74 -0
- package/scss/lib/ratings-reviews/percentage/_variables.scss +6 -0
- package/scss/lib/ratings-reviews/range-bar/_index.scss +3 -0
- package/scss/lib/ratings-reviews/range-bar/_mixins.scss +88 -0
- package/scss/lib/ratings-reviews/range-bar/_variables.scss +16 -0
- package/scss/lib/ratings-reviews/range-icons/_index.scss +3 -0
- package/scss/lib/ratings-reviews/range-icons/_mixins.scss +200 -0
- package/scss/lib/ratings-reviews/range-icons/_variables.scss +31 -0
- package/scss/lib/ratings-reviews/range-icons-group/_index.scss +3 -0
- package/scss/lib/ratings-reviews/range-icons-group/_mixins.scss +26 -0
- package/scss/lib/richtext/_index.scss +3 -0
- package/scss/lib/richtext/_mixins.scss +136 -0
- package/scss/lib/scroller/_index.scss +4 -0
- package/scss/lib/scroller/_mixins.scss +130 -0
- package/scss/lib/scroller/_variables.scss +9 -0
- package/scss/lib/show-more-less/_index.scss +3 -0
- package/scss/lib/show-more-less/_mixins.scss +90 -0
- package/scss/lib/show-more-less/_variables.scss +6 -0
- package/scss/lib/skeleton/_index.scss +3 -0
- package/scss/lib/skeleton/_mixins.scss +151 -0
- package/scss/lib/skeleton/_variables.scss +8 -0
- package/scss/lib/tooltip/_index.scss +3 -0
- package/scss/lib/tooltip/_mixins.scss +305 -0
- package/scss/lib/tooltip/_variables.scss +8 -0
- package/scss/lib/typography/_index.scss +14 -0
- package/scss/lib/typography/_mixins.scss +27 -0
- package/scss/lib/typography/_variables.scss +58 -0
- package/scss/lib/utility/_index.scss +109 -0
- package/scss/lib/utility/_mixins.scss +198 -0
- package/scss/mixins.scss +44 -0
- package/scss/reset.scss +168 -0
- package/scss/themes/crystalski/_colors.scss +48 -0
- package/scss/themes/crystalski/_overrides.scss +285 -0
- package/scss/themes/crystalski/_primitives.scss +73 -0
- package/scss/themes/crystalski/_typography.scss +12 -0
- package/scss/themes/crystalski/fonts.json +49 -0
- package/scss/themes/crystalski/fonts.scss +5 -0
- package/scss/themes/crystalski/index.scss +166 -0
- package/scss/themes/crystalski/theme.json +232 -0
- package/scss/themes/firstchoice/_colors.scss +53 -0
- package/scss/themes/firstchoice/_overrides.scss +355 -0
- package/scss/themes/firstchoice/_primitives.scss +106 -0
- package/scss/themes/firstchoice/_typography.scss +20 -0
- package/scss/themes/firstchoice/fonts.json +50 -0
- package/scss/themes/firstchoice/fonts.scss +4 -0
- package/scss/themes/firstchoice/index.scss +166 -0
- package/scss/themes/firstchoice/theme.json +323 -0
- package/scss/themes/tui/_colors.scss +61 -0
- package/scss/themes/tui/_overrides.scss +34 -0
- package/scss/themes/tui/_primitives.scss +23 -0
- package/scss/themes/tui/_typography.scss +24 -0
- package/scss/themes/tui/fonts.json +117 -0
- package/scss/themes/tui/fonts.scss +12 -0
- package/scss/themes/tui/index.scss +166 -0
- package/scss/themes/tui/theme.json +139 -0
- package/scss/variables/_aspect-ratios.scss +8 -0
- package/scss/variables/_assets.scss +6 -0
- package/scss/variables/_border-radius.scss +20 -0
- package/scss/variables/_breakpoints.scss +17 -0
- package/scss/variables/_colors.scss +58 -0
- package/scss/variables/_directions.scss +8 -0
- package/scss/variables/_display-values.scss +9 -0
- package/scss/variables/_elevations.scss +17 -0
- package/scss/variables/_env-variables.scss +1 -0
- package/scss/variables/_focus.scss +14 -0
- package/scss/variables/_grid.scss +21 -0
- package/scss/variables/_icons.scss +26 -0
- package/scss/variables/_layers.scss +20 -0
- package/scss/variables/_motion.scss +27 -0
- package/scss/variables/_prefix.scss +1 -0
- package/scss/variables/_primitives.scss +100 -0
- package/scss/variables/_spacing.scss +38 -0
- package/scss/variables/_strokes.scss +18 -0
- package/scss/variables/_typography.scss +125 -0
- package/scss/variables/base-theme.json +2142 -0
- package/scss/variables/fonts/_ambit-bold-italic.scss +10 -0
- package/scss/variables/fonts/_ambit-bold.scss +10 -0
- package/scss/variables/fonts/_ambit-fallback.scss +21 -0
- package/scss/variables/fonts/_ambit-regular-italic.scss +10 -0
- package/scss/variables/fonts/_ambit-regular.scss +10 -0
- package/scss/variables/fonts/_ambit-semibold-italic.scss +10 -0
- package/scss/variables/fonts/_ambit-semibold.scss +10 -0
- package/scss/variables/fonts/_brandon-fallback.scss +22 -0
- package/scss/variables/fonts/_brandon-medium-italic.scss +10 -0
- package/scss/variables/fonts/_brandon-medium.scss +10 -0
- package/scss/variables/fonts/_brandon-regular-italic.scss +10 -0
- package/scss/variables/fonts/_brandon-regular.scss +10 -0
- package/scss/variables/fonts/_font-path.scss +3 -0
- package/scss/variables/fonts/_graphie-extralight.scss +10 -0
- package/scss/variables/fonts/_graphie-fallback.scss +11 -0
- package/scss/variables/fonts/_pastiche-grotesque-black.scss +10 -0
- package/scss/variables/fonts/_pastiche-grotesque-fallback.scss +11 -0
- package/scss/variables/fonts/_rondelle-black.scss +10 -0
- package/scss/variables/fonts/_rondelle-book.scss +10 -0
- package/scss/variables/fonts/_rondelle-fallback.scss +21 -0
- package/scss/variables/fonts/_tuiheadline-black-italic.scss +10 -0
- package/scss/variables/fonts/_tuiheadline-black.scss +10 -0
- package/scss/variables/fonts/_tuiheadline-fallback.scss +11 -0
- package/scss/variables/fonts/_tuitypelight-bold-italic.scss +10 -0
- package/scss/variables/fonts/_tuitypelight-bold.scss +10 -0
- package/scss/variables/fonts/_tuitypelight-fallback.scss +21 -0
- package/scss/variables/fonts/_tuitypelight-regular-italic.scss +10 -0
- package/scss/variables/fonts/_tuitypelight-regular.scss +10 -0
- package/scss/variables.scss +60 -0
package/CHANGELOG.md
CHANGED
|
@@ -59,6 +59,10 @@
|
|
|
59
59
|
- New component added to indicate which filters are currently applied. They allow users to easily modify their search and filtering criteria, making
|
|
60
60
|
the results easier to refine.
|
|
61
61
|
|
|
62
|
+
### Badge
|
|
63
|
+
|
|
64
|
+
- Removed with some variations being covered by the new info tag component
|
|
65
|
+
|
|
62
66
|
### [Breadcrumb](https://uilib-testing.static-nonprod.browse.tui/index.html?path=/docs/components-breadcrumb--docs)
|
|
63
67
|
|
|
64
68
|
- Created new component, all the styles are baked into a single uilib-breadcrumb mixin
|
|
@@ -69,6 +73,10 @@
|
|
|
69
73
|
- Mixins simplified so variants, states and sizes are all baked into the main uilib-button mixin
|
|
70
74
|
- Button styling has been aligned with the latest 1web designs across all themes
|
|
71
75
|
|
|
76
|
+
### [Card search](https://uilib-testing.static-nonprod.browse.tui/index.html?path=/docs/components-cards-search-card--docs)
|
|
77
|
+
|
|
78
|
+
- Card added to contain a summary of information for a product in a set of results.
|
|
79
|
+
|
|
72
80
|
### [Divider](https://uilib-testing.static-nonprod.browse.tui/index.html?path=/docs/components-divider--docs)
|
|
73
81
|
|
|
74
82
|
- Mixins simplified so vertical, size and variant are all baked into the main uilib-divider mixin
|
|
@@ -76,9 +84,18 @@
|
|
|
76
84
|
- Colour variants have been reduced to default, strong and inverse
|
|
77
85
|
- New dashed divider style has been added
|
|
78
86
|
|
|
79
|
-
###
|
|
87
|
+
### Eye catcher
|
|
88
|
+
|
|
89
|
+
- Removed from the library. There is not replacement for this component.
|
|
90
|
+
|
|
91
|
+
### [Flight details](https://uilib-testing.static-nonprod.browse.tui/index.html?path=/docs/components-flight-details--docs)
|
|
92
|
+
|
|
93
|
+
- New flight details has been added. It presents comprehensive information about a holiday's flights
|
|
94
|
+
- Two variants are available allowing for the display of both direct and indirect flights
|
|
80
95
|
|
|
81
|
-
|
|
96
|
+
### [Flyout dropdown](https://uilib-testing.static-nonprod.browse.tui/index.html?path=/docs/components-flyout-dropdown--docs)
|
|
97
|
+
|
|
98
|
+
- New flyout Dropdown component has been added. It is an overlay panel that emerges from a control like a button or menu item
|
|
82
99
|
- Two variants available with three pointer locations
|
|
83
100
|
|
|
84
101
|
### Forms
|
|
@@ -95,6 +112,11 @@
|
|
|
95
112
|
- New checkbox label variant options included
|
|
96
113
|
- New confirmation checkbox variant included
|
|
97
114
|
|
|
115
|
+
### [Input Chip](https://uilib-testing.static-nonprod.browse.tui/index.html?path=/docs/components-forms-input-chip--docs)
|
|
116
|
+
|
|
117
|
+
- New Input Chip component has been added. Chips are compact, interactive elements used to select or filter without interrupting users flow.
|
|
118
|
+
- Two variants available with disabled and active states. Based on variant, options are available for use in lists and month-calendars.
|
|
119
|
+
|
|
98
120
|
#### [Input count](https://uilib-testing.static-nonprod.browse.tui/index.html?path=/docs/components-forms-input-count--docs)
|
|
99
121
|
|
|
100
122
|
- Mixins simplified to one main uilib-input-count mixin
|
|
@@ -121,6 +143,10 @@
|
|
|
121
143
|
- Control and input sizes have been adjusted to match latest 1web designs
|
|
122
144
|
- Web component provided to include increment and decrement controls to update the original text input
|
|
123
145
|
|
|
146
|
+
#### [Input switch](https://mwa.tui.com/browse/mwa/uilib-production/index.html?path=/docs/components-forms-input-switch--docs)
|
|
147
|
+
|
|
148
|
+
- Mixins simplified to one main uilib-input-switch mixin
|
|
149
|
+
|
|
124
150
|
#### [Input text](https://uilib-testing.static-nonprod.browse.tui/index.html?path=/docs/components-forms-input-text--docs)
|
|
125
151
|
|
|
126
152
|
- Mixin renamed to uilib-input-text
|
|
@@ -128,6 +154,21 @@
|
|
|
128
154
|
- Valid state usage rules and styling updated
|
|
129
155
|
- Web component provided to clear prefilled inputs, clear search inputs and toggle view of password fields
|
|
130
156
|
|
|
157
|
+
#### [Textarea](https://uilib-testing.static-nonprod.browse.tui/index.html?path=/docs/components-forms-textarea--docs)
|
|
158
|
+
|
|
159
|
+
- Mixin added for uilib-textarea
|
|
160
|
+
- Utilises label, hint and error from formrow
|
|
161
|
+
|
|
162
|
+
#### Input toggle
|
|
163
|
+
|
|
164
|
+
- Removed from the library. Please use input chips or input radio.
|
|
165
|
+
|
|
166
|
+
### [Hero (formerly header)](https://mwa.tui.com/browse/mwa/uilib-production/index.html?path=/docs/components-hero--docs)
|
|
167
|
+
|
|
168
|
+
- Mixins simplified so size options are now baked into the main uilib-hero mixin
|
|
169
|
+
- Hero now includes styling for the content area overlay supporting left, right and center positioning as well as standard, slim and illustration
|
|
170
|
+
heros
|
|
171
|
+
|
|
131
172
|
### [Icon](https://uilib-testing.static-nonprod.browse.tui/index.html?path=/docs/components-icon--docs)
|
|
132
173
|
|
|
133
174
|
- Mixins simplified so size options are now baked into the main uilib-icon mixin
|
|
@@ -136,14 +177,22 @@
|
|
|
136
177
|
### [Icon button](https://uilib-testing.static-nonprod.browse.tui/index.html?path=/docs/components-icon-button--docs)
|
|
137
178
|
|
|
138
179
|
- Mixins simplified so size options are now baked into the main uilib-icon-button mixin
|
|
180
|
+
- Button variants have been remapped
|
|
139
181
|
- Half icon button has been removed
|
|
140
|
-
-
|
|
182
|
+
- New control, promotion, search and shortlist variants added
|
|
183
|
+
- Elevation option has been removed and automatically applied to control variant
|
|
184
|
+
- Button styling has been aligned with the latest 1web designs across all themes
|
|
141
185
|
|
|
142
|
-
### [Image](https://uilib-testing.static-nonprod.browse.tui/index.html?path=/docs/components-image--docs)
|
|
186
|
+
### [Image (picture)](https://uilib-testing.static-nonprod.browse.tui/index.html?path=/docs/components-image--docs)
|
|
143
187
|
|
|
144
188
|
- Mixins simplified so shapes and ratios are all baked into the main uilib-image mixin
|
|
189
|
+
- Added ability to control the focal point if the source image is cropped by the focal point option
|
|
145
190
|
- Error handling with fallback image has been added.
|
|
146
191
|
|
|
192
|
+
### Image counter
|
|
193
|
+
|
|
194
|
+
- Removed from the library. There is not replacement for this component.
|
|
195
|
+
|
|
147
196
|
### [Info tag](https://uilib-testing.static-nonprod.browse.tui/index.html?path=/docs/components-info-tag--docs)
|
|
148
197
|
|
|
149
198
|
- New component added to highlight informational, promotional or branded content
|
|
@@ -174,6 +223,16 @@
|
|
|
174
223
|
|
|
175
224
|
- New media button has been added for opening media galleries
|
|
176
225
|
|
|
226
|
+
### [Modal](https://uilib-testing.static-nonprod.browse.tui/index.html?path=/docs/components-modal--docs)
|
|
227
|
+
|
|
228
|
+
- New modal component added using native HTML dialog element
|
|
229
|
+
- Three size variants available: small (6 cols), medium (8 cols), and large (12 cols)
|
|
230
|
+
- Built-in accessibility features including focus management and keyboard navigation
|
|
231
|
+
- Sticky header and footer when content is scrollable
|
|
232
|
+
- Optional navigation slot for moving between modal states
|
|
233
|
+
- NoJS example with fallback to dedicated page
|
|
234
|
+
- Full-width drawer on mobile devices
|
|
235
|
+
|
|
177
236
|
### [Pagination](https://uilib-testing.static-nonprod.browse.tui/index.html?path=/docs/components-pagination--docs)
|
|
178
237
|
|
|
179
238
|
- Mixins are baked into uilib-pagination mixin
|
|
@@ -203,7 +262,12 @@
|
|
|
203
262
|
- New component that can be used for displaying HolidayCheck reviews
|
|
204
263
|
- Provides two variants; default and compact
|
|
205
264
|
|
|
206
|
-
#### [Range
|
|
265
|
+
#### [Range bar](https://uilib-testing.static-nonprod.browse.tui/index.html?path=/docs/components-ratings-and-reviews-range-bar--docs) (previously Review range, and rangeBar variants)
|
|
266
|
+
|
|
267
|
+
- Mixins simplified to single mixin controlling range bar rating/review styles uilib-ratings-range-bar
|
|
268
|
+
- Component now includes label (with icon for customer review variant)
|
|
269
|
+
|
|
270
|
+
#### [Range icons](https://uilib-testing.static-nonprod.browse.tui/index.html?path=/docs/components-ratings-and-reviews-range-icons--docs) (previously Rating, and Review range variant)
|
|
207
271
|
|
|
208
272
|
- Mixins simplified to single mixin controlling range icon rating/review styles uilib-ratings-range-icons
|
|
209
273
|
- Added tripadvisor variant
|
|
@@ -231,6 +295,20 @@
|
|
|
231
295
|
- Two variants available. Default displays the first paragraph of content hiding the rest, Text only truncates a block of content (for use with
|
|
232
296
|
content such as customer reviews)
|
|
233
297
|
|
|
298
|
+
### [Skeleton](https://uilib-testing.static-nonprod.browse.tui/index.html?path=/docs/components-skeleton--docs)
|
|
299
|
+
|
|
300
|
+
- New component added to provide loading state placeholders that visually represent page structure while content loads
|
|
301
|
+
- Mixins simplified to single uilib-skeleton mixin with all variants and utilities baked in
|
|
302
|
+
- Synchronized shimmer animation across all skeleton elements using CSS custom properties
|
|
303
|
+
- Multiple skeleton types available: heading, subheading, text, circle, card, and container
|
|
304
|
+
- Width utilities from 10% to 100% in 10% increments, with responsive variants for xs breakpoint
|
|
305
|
+
- Height utilities from 1rem to 20rem in 1rem increments
|
|
306
|
+
- Layout helper classes for organizing skeleton elements with flexible gap and direction options
|
|
307
|
+
- Outlined variant with border and transparent background
|
|
308
|
+
- Spacer variant for creating transparent gaps without animation
|
|
309
|
+
- Respects prefers-reduced-motion for accessibility
|
|
310
|
+
- Pre-made templates for common use cases: search cards, browse cards, article cards, and headers
|
|
311
|
+
|
|
234
312
|
### [Toolip](https://uilib-testing.static-nonprod.browse.tui/index.html?path=/docs/components-tooltip--docs)
|
|
235
313
|
|
|
236
314
|
- Mixins simplified to one main uilib-tooltip mixin
|
package/README.md
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
# TUI Design System
|
|
2
2
|
|
|
3
|
-
https://uilib-testing.static-nonprod.browse.tui/index.html
|
|
4
|
-
|
|
5
3
|
## Quick Start
|
|
6
4
|
|
|
7
5
|
```
|
|
@@ -20,11 +18,11 @@ This will spin up:
|
|
|
20
18
|
|
|
21
19
|
To install the latest stable version:
|
|
22
20
|
|
|
23
|
-
`npm install @tui/
|
|
21
|
+
`npm install @tui/design-system` or `yarn add @tui/design-system`
|
|
24
22
|
|
|
25
23
|
To install the next major version (be aware it might contain untested features):
|
|
26
24
|
|
|
27
|
-
`npm install @tui/
|
|
25
|
+
`npm install @tui/design-system@next` or `yarn add @tui/design-system@next`
|
|
28
26
|
|
|
29
27
|
**Themes**
|
|
30
28
|
|
|
@@ -35,8 +33,8 @@ In `dist/themes/<<themename>>/`, you will find the theme file `style.css` as wel
|
|
|
35
33
|
could import in your .js files:
|
|
36
34
|
|
|
37
35
|
```js
|
|
38
|
-
import '@tui/
|
|
39
|
-
import '@tui/
|
|
36
|
+
import '@tui/design-system/dist/themes/tui/index.css';
|
|
37
|
+
import '@tui/design-system/dist/themes/tui/fonts.css';
|
|
40
38
|
```
|
|
41
39
|
|
|
42
40
|
Themes variables are declared within the "data-theme" attribute selector, so you will need to add it on either the host page `html` tag or your MFE:
|
|
@@ -46,8 +44,8 @@ Themes variables are declared within the "data-theme" attribute selector, so you
|
|
|
46
44
|
<!--or-->
|
|
47
45
|
<my-custom-mfe data-theme="tui">
|
|
48
46
|
<!--or-->
|
|
49
|
-
<div data-theme="tui"></div
|
|
50
|
-
|
|
47
|
+
<div data-theme="tui"></div>
|
|
48
|
+
</my-custom-mfe>
|
|
51
49
|
</html>
|
|
52
50
|
```
|
|
53
51
|
|
|
@@ -69,3 +67,33 @@ Please check the [contributing document](/docs/CONTRIBUTING.md) and the [guideli
|
|
|
69
67
|
## Migration
|
|
70
68
|
|
|
71
69
|
Please check the [migration document](/docs/MIGRATION.md)
|
|
70
|
+
|
|
71
|
+
## Deployment
|
|
72
|
+
|
|
73
|
+
### Documentation (Storybook)
|
|
74
|
+
|
|
75
|
+
**Feature (MR):**
|
|
76
|
+
|
|
77
|
+
- Manual job `deploy-feature` in MR pipeline
|
|
78
|
+
- Creates temporary environment: `uilib-mr-{MR_ID}`
|
|
79
|
+
- Cleanup:
|
|
80
|
+
- Manual: `destroy-feature` job in MR pipeline
|
|
81
|
+
- Auto: After 9 hours of inactivity
|
|
82
|
+
- Auto: When MR is closed/merged
|
|
83
|
+
|
|
84
|
+
**Testing:**
|
|
85
|
+
|
|
86
|
+
1. Add label `Ready For Testing` to your MR
|
|
87
|
+
2. Run manual job `prepare-testing` from `main` branch
|
|
88
|
+
3. Job merges all `Ready For Testing` MRs into `testing` branch
|
|
89
|
+
4. `deploy-testing` automatically deploys when `testing` branch updates
|
|
90
|
+
|
|
91
|
+
**Preprod & Production:**
|
|
92
|
+
|
|
93
|
+
- Manual deployment from `main` branch only
|
|
94
|
+
- Jobs: `deploy-preprod`, `deploy-prod`
|
|
95
|
+
- Independent from NPM package releases
|
|
96
|
+
|
|
97
|
+
### NPM Package
|
|
98
|
+
|
|
99
|
+
Publish to NPM using manual GitLab CI job: `Release BETA version`
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
@font-face {
|
|
2
|
+
font-weight: 600 700;
|
|
3
|
+
font-family: "Brandon";
|
|
4
|
+
font-style: normal;
|
|
5
|
+
src: url("https://mwa.tui.com/shared/mwa/assets/v3/fonts/brandon-medium.subset.woff2") format("woff2");
|
|
6
|
+
font-display: swap;
|
|
7
|
+
}
|
|
8
|
+
@font-face {
|
|
9
|
+
font-weight: 600 700;
|
|
10
|
+
font-family: "Brandon";
|
|
11
|
+
font-style: italic;
|
|
12
|
+
src: url("https://mwa.tui.com/shared/mwa/assets/v3/fonts/brandon-medium-italic.subset.woff2") format("woff2");
|
|
13
|
+
font-display: swap;
|
|
14
|
+
}
|
|
15
|
+
@font-face {
|
|
16
|
+
font-weight: 400;
|
|
17
|
+
font-family: "Brandon";
|
|
18
|
+
font-style: normal;
|
|
19
|
+
src: url("https://mwa.tui.com/shared/mwa/assets/v3/fonts/brandon-regular.subset.woff2") format("woff2");
|
|
20
|
+
font-display: swap;
|
|
21
|
+
}
|
|
22
|
+
@font-face {
|
|
23
|
+
font-weight: 400;
|
|
24
|
+
font-family: "Brandon";
|
|
25
|
+
font-style: italic;
|
|
26
|
+
src: url("https://mwa.tui.com/shared/mwa/assets/v3/fonts/brandon-regular-italic.subset.woff2") format("woff2");
|
|
27
|
+
font-display: swap;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/*# sourceMappingURL=fonts.css.map */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../../../src/variables/fonts/_brandon-medium.scss","../../../src/variables/fonts/_brandon-medium-italic.scss","../../../src/variables/fonts/_brandon-regular.scss","../../../src/variables/fonts/_brandon-regular-italic.scss"],"names":[],"mappings":"AAGA;EACC;EACA;EACA;EACA;EACA;;ACLD;EACC;EACA;EACA;EACA;EACA;;ACLD;EACC;EACA;EACA;EACA;EACA;;ACLD;EACC;EACA;EACA;EACA;EACA","file":"fonts.css"}
|