@rio-cloud/uikit-mcp 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 (210) hide show
  1. package/README.md +17 -7
  2. package/dist/doc-metadata.json +325 -85
  3. package/dist/docs/components/accentBar.md +110 -116
  4. package/dist/docs/components/activity.md +1 -1
  5. package/dist/docs/components/analyticsAnalysisOverlay.md +628 -0
  6. package/dist/docs/components/animatedNumber.md +2 -2
  7. package/dist/docs/components/animatedTextReveal.md +53 -55
  8. package/dist/docs/components/animations.md +22 -22
  9. package/dist/docs/components/appHeader.md +27 -38
  10. package/dist/docs/components/appLayout.md +38 -42
  11. package/dist/docs/components/appNavigationBar.md +1 -1
  12. package/dist/docs/components/areaCharts.md +57 -63
  13. package/dist/docs/components/aspectRatioPlaceholder.md +1 -1
  14. package/dist/docs/components/assetTree.md +200 -167
  15. package/dist/docs/components/autosuggests.md +1 -1
  16. package/dist/docs/components/avatar.md +1 -1
  17. package/dist/docs/components/banner.md +2 -2
  18. package/dist/docs/components/barCharts.md +531 -417
  19. package/dist/docs/components/barList.md +9 -9
  20. package/dist/docs/components/basicMap.md +60 -39
  21. package/dist/docs/components/bottomSheet.md +2 -2
  22. package/dist/docs/components/button.md +8 -2
  23. package/dist/docs/components/buttonToolbar.md +1 -1
  24. package/dist/docs/components/calendarStripe.md +57 -65
  25. package/dist/docs/components/card.md +1 -1
  26. package/dist/docs/components/carousel.md +1 -1
  27. package/dist/docs/components/chartColors.md +1 -3
  28. package/dist/docs/components/chartsGettingStarted.md +1 -3
  29. package/dist/docs/components/chat.md +2 -2
  30. package/dist/docs/components/checkbox.md +15 -12
  31. package/dist/docs/components/circularProgress.md +8 -8
  32. package/dist/docs/components/clearableInput.md +1 -1
  33. package/dist/docs/components/collapse.md +2 -4
  34. package/dist/docs/components/composedCharts.md +63 -53
  35. package/dist/docs/components/contentLoader.md +1 -1
  36. package/dist/docs/components/dataTabs.md +33 -33
  37. package/dist/docs/components/datepickers.md +693 -687
  38. package/dist/docs/components/dayPicker.md +5574 -0
  39. package/dist/docs/components/dayPickerCalendar.md +5269 -0
  40. package/dist/docs/components/dialogs.md +17 -19
  41. package/dist/docs/components/divider.md +1 -1
  42. package/dist/docs/components/dropdowns.md +3252 -3276
  43. package/dist/docs/components/editableContent.md +91 -91
  44. package/dist/docs/components/expander.md +4 -1
  45. package/dist/docs/components/fade.md +1 -1
  46. package/dist/docs/components/fadeExpander.md +1 -1
  47. package/dist/docs/components/fadeUp.md +32 -36
  48. package/dist/docs/components/feedback.md +1 -1
  49. package/dist/docs/components/filePickers.md +1 -1
  50. package/dist/docs/components/formLabel.md +29 -31
  51. package/dist/docs/components/groupedItemList.md +3 -7
  52. package/dist/docs/components/htmlTable.md +5074 -0
  53. package/dist/docs/components/iconList.md +4 -4
  54. package/dist/docs/components/imagePreloader.md +1 -1
  55. package/dist/docs/components/labeledElement.md +1 -1
  56. package/dist/docs/components/licensePlate.md +1 -1
  57. package/dist/docs/components/lineCharts.md +172 -172
  58. package/dist/docs/components/listMenu.md +15 -12
  59. package/dist/docs/components/loadMore.md +4 -2
  60. package/dist/docs/components/mainNavigation.md +1 -1
  61. package/dist/docs/components/mapCircle.md +10 -1
  62. package/dist/docs/components/mapCluster.md +23 -1
  63. package/dist/docs/components/mapContext.md +12 -4
  64. package/dist/docs/components/mapDraggableMarker.md +12 -1
  65. package/dist/docs/components/mapGettingStarted.md +1 -1
  66. package/dist/docs/components/mapInfoBubble.md +129 -2
  67. package/dist/docs/components/mapLayerGroup.md +10 -1
  68. package/dist/docs/components/mapMarker.md +10 -3
  69. package/dist/docs/components/mapPolygon.md +288 -85
  70. package/dist/docs/components/mapRoute.md +262 -172
  71. package/dist/docs/components/mapRouteGenerator.md +1 -1
  72. package/dist/docs/components/mapSettings.md +23 -1
  73. package/dist/docs/components/mapUtils.md +1 -1
  74. package/dist/docs/components/multiselects.md +211 -18
  75. package/dist/docs/components/noData.md +1 -1
  76. package/dist/docs/components/notifications.md +2 -2
  77. package/dist/docs/components/numbercontrol.md +15 -15
  78. package/dist/docs/components/onboarding.md +1 -1
  79. package/dist/docs/components/page.md +1 -1
  80. package/dist/docs/components/pager.md +1 -1
  81. package/dist/docs/components/pieCharts.md +237 -213
  82. package/dist/docs/components/popover.md +1 -1
  83. package/dist/docs/components/position.md +1 -1
  84. package/dist/docs/components/radialBarCharts.md +446 -400
  85. package/dist/docs/components/radioCardGroup.md +1 -1
  86. package/dist/docs/components/radiobutton.md +96 -98
  87. package/dist/docs/components/releaseNotes.md +1 -1
  88. package/dist/docs/components/resizer.md +1 -3
  89. package/dist/docs/components/responsiveColumnStripe.md +1 -3
  90. package/dist/docs/components/responsiveVideo.md +1 -1
  91. package/dist/docs/components/rioglyph.md +1 -1
  92. package/dist/docs/components/rules.md +41 -47
  93. package/dist/docs/components/saveableInput.md +252 -252
  94. package/dist/docs/components/selects.md +165 -111
  95. package/dist/docs/components/sidebar.md +1 -1
  96. package/dist/docs/components/sliders.md +1 -1
  97. package/dist/docs/components/smoothScrollbars.md +19 -15
  98. package/dist/docs/components/spinners.md +1 -1
  99. package/dist/docs/components/states.md +1 -1
  100. package/dist/docs/components/statsWidgets.md +1 -1
  101. package/dist/docs/components/statusBar.md +1 -1
  102. package/dist/docs/components/stepButton.md +1 -1
  103. package/dist/docs/components/steppedProgressBars.md +9 -11
  104. package/dist/docs/components/subNavigation.md +1 -1
  105. package/dist/docs/components/supportMarker.md +1 -1
  106. package/dist/docs/components/svgImage.md +1 -1
  107. package/dist/docs/components/switch.md +3 -1
  108. package/dist/docs/components/table.md +19584 -0
  109. package/dist/docs/components/tableControls.md +982 -0
  110. package/dist/docs/components/tagManager.md +1 -1
  111. package/dist/docs/components/tags.md +1 -1
  112. package/dist/docs/components/teaser.md +1 -3
  113. package/dist/docs/components/textTruncateMiddle.md +1 -1
  114. package/dist/docs/components/timeline.md +1 -1
  115. package/dist/docs/components/timepicker.md +1 -1
  116. package/dist/docs/components/toggleButton.md +3 -1
  117. package/dist/docs/components/tooltip.md +4 -2
  118. package/dist/docs/components/tracker.md +1 -1
  119. package/dist/docs/components/virtualList.md +56 -56
  120. package/dist/docs/foundations.md +640 -3122
  121. package/dist/docs/start/changelog.md +53 -3
  122. package/dist/docs/start/goodtoknow.md +2 -4
  123. package/dist/docs/start/guidelines/color-combinations.md +1 -1
  124. package/dist/docs/start/guidelines/custom-css.md +1 -1
  125. package/dist/docs/start/guidelines/custom-rioglyph.md +1 -1
  126. package/dist/docs/start/guidelines/formatting.md +1 -3
  127. package/dist/docs/start/guidelines/iframe.md +17 -19
  128. package/dist/docs/start/guidelines/obfuscate-data.md +2 -4
  129. package/dist/docs/start/guidelines/print-css.md +1 -1
  130. package/dist/docs/start/guidelines/spinner.md +1 -1
  131. package/dist/docs/start/guidelines/state-in-url.md +1 -1
  132. package/dist/docs/start/guidelines/supported-browsers.md +1 -1
  133. package/dist/docs/start/guidelines/writing.md +1 -1
  134. package/dist/docs/start/howto.md +12 -20
  135. package/dist/docs/start/intro.md +1 -1
  136. package/dist/docs/start/responsiveness.md +1 -3
  137. package/dist/docs/templates/ai-assistant.md +311 -0
  138. package/dist/docs/templates/common-table.md +814 -0
  139. package/dist/docs/templates/detail-views.md +846 -0
  140. package/dist/docs/templates/expandable-details.md +214 -0
  141. package/dist/docs/templates/feature-cards.md +479 -0
  142. package/dist/docs/templates/form-summary.md +179 -0
  143. package/dist/docs/templates/form-toggle.md +329 -0
  144. package/dist/docs/templates/list-blocks.md +872 -0
  145. package/dist/docs/templates/loading-progress.md +100 -0
  146. package/dist/docs/templates/options-panel.md +132 -0
  147. package/dist/docs/templates/panel-variants.md +137 -0
  148. package/dist/docs/templates/progress-cards.md +541 -0
  149. package/dist/docs/templates/progress-success.md +125 -0
  150. package/dist/docs/templates/settings-form.md +401 -0
  151. package/dist/docs/templates/stats-blocks.md +1245 -0
  152. package/dist/docs/templates/table-panel.md +310 -0
  153. package/dist/docs/templates/usage-cards.md +199 -0
  154. package/dist/docs/utilities/classNames.md +1 -1
  155. package/dist/docs/utilities/deviceUtils.md +2 -2
  156. package/dist/docs/utilities/featureToggles.md +1 -1
  157. package/dist/docs/utilities/fuelTypeUtils.md +27 -29
  158. package/dist/docs/utilities/getTrackingAttributes.md +277 -0
  159. package/dist/docs/utilities/routeUtils.md +2 -2
  160. package/dist/docs/utilities/useAfterMount.md +1 -1
  161. package/dist/docs/utilities/useAutoAnimate.md +1 -1
  162. package/dist/docs/utilities/useAverage.md +1 -1
  163. package/dist/docs/utilities/useClickOutside.md +1 -1
  164. package/dist/docs/utilities/useClipboard.md +2 -2
  165. package/dist/docs/utilities/useCookies.md +1 -1
  166. package/dist/docs/utilities/useCount.md +1 -1
  167. package/dist/docs/utilities/useDarkMode.md +5 -4
  168. package/dist/docs/utilities/useDebugInfo.md +3 -3
  169. package/dist/docs/utilities/useDraggableElement.md +281 -0
  170. package/dist/docs/utilities/useEffectOnce.md +1 -1
  171. package/dist/docs/utilities/useElapsedTime.md +1 -1
  172. package/dist/docs/utilities/useElementSize.md +1 -1
  173. package/dist/docs/utilities/useEsc.md +1 -1
  174. package/dist/docs/utilities/useEvent.md +1 -1
  175. package/dist/docs/utilities/useFocusTrap.md +1 -1
  176. package/dist/docs/utilities/useFullscreen.md +1 -1
  177. package/dist/docs/utilities/useHover.md +1 -1
  178. package/dist/docs/utilities/useIncomingPostMessages.md +1 -1
  179. package/dist/docs/utilities/useInterval.md +1 -1
  180. package/dist/docs/utilities/useIsFocusWithin.md +1 -1
  181. package/dist/docs/utilities/useKey.md +8 -10
  182. package/dist/docs/utilities/useLocalStorage.md +1 -1
  183. package/dist/docs/utilities/useLocationSuggestions.md +1 -1
  184. package/dist/docs/utilities/useMax.md +1 -1
  185. package/dist/docs/utilities/useMin.md +1 -1
  186. package/dist/docs/utilities/useMutationObserver.md +1 -1
  187. package/dist/docs/utilities/useOnScreen.md +1 -1
  188. package/dist/docs/utilities/useOnlineStatus.md +1 -1
  189. package/dist/docs/utilities/usePostMessage.md +2 -2
  190. package/dist/docs/utilities/usePostMessageSender.md +1 -1
  191. package/dist/docs/utilities/usePrevious.md +2 -4
  192. package/dist/docs/utilities/useResizeObserver.md +35 -15
  193. package/dist/docs/utilities/useRioCookieConsent.md +1 -1
  194. package/dist/docs/utilities/useScrollPosition.md +3 -6
  195. package/dist/docs/utilities/useSearch.md +1 -3
  196. package/dist/docs/utilities/useSearchHighlight.md +1 -1
  197. package/dist/docs/utilities/useSorting.md +370 -239
  198. package/dist/docs/utilities/useStateWithValidation.md +1 -1
  199. package/dist/docs/utilities/useSum.md +1 -1
  200. package/dist/docs/utilities/useTableExport.md +364 -288
  201. package/dist/docs/utilities/useTableSelection.md +88 -92
  202. package/dist/docs/utilities/useTimeout.md +1 -1
  203. package/dist/docs/utilities/useToggle.md +1 -1
  204. package/dist/docs/utilities/useUrlState.md +1 -1
  205. package/dist/docs/utilities/useWindowResize.md +1 -1
  206. package/dist/index.mjs +2 -8
  207. package/dist/search-synonyms.json +2 -2
  208. package/dist/version.json +2 -2
  209. package/package.json +15 -9
  210. package/dist/docs/components/tables.md +0 -8
@@ -0,0 +1,100 @@
1
+ # Loading progress
2
+
3
+ *Category:* Templates
4
+ *Section:* Progress
5
+ *Source:* https://uikit.developers.rio.cloud/#/templates/loading-progress
6
+ *Captured:* 2026-04-20T12:55:45.788Z
7
+
8
+ ## Loading progress
9
+
10
+ ### Example: Label
11
+
12
+ Label
13
+ 0%
14
+
15
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam vehicula magna quis ante tincidunt, at volutpat nunc facilisis. Sed auctor.
16
+
17
+ #### React (tsx)
18
+
19
+ ```tsx
20
+ import { useState } from 'react';
21
+
22
+ import Card from '@rio-cloud/rio-uikit/Card';
23
+ import Spinner from '@rio-cloud/rio-uikit/Spinner';
24
+ import SimpleTooltip from '@rio-cloud/rio-uikit/SimpleTooltip';
25
+ import useInterval from '@rio-cloud/rio-uikit/useInterval';
26
+
27
+ export default () => {
28
+ const [value, setValue] = useState(0);
29
+
30
+ useInterval(() => {
31
+ setValue(oldValue => (oldValue + 1) % 101);
32
+ }, 150);
33
+
34
+ return (
35
+ <div className='max-width-500 margin-auto'>
36
+ <Card className='display-flex flex-column gap-5'>
37
+ <div className='display-flex justify-content-between gap-5'>
38
+ <div className='display-flex align-items-center'>
39
+ <div className='margin-right-3 text-color-dark'>Label</div>
40
+ <SimpleTooltip content='Some helper text' placement='top'>
41
+ <span className='rioglyph rioglyph-question-sign text-color-dark' />
42
+ </SimpleTooltip>
43
+ </div>
44
+ <span className='display-flex gap-5'>
45
+ <span className='text-color-darker'>{value}%</span>
46
+ <span className='scale-80'>
47
+ <Spinner />
48
+ </span>
49
+ </span>
50
+ </div>
51
+ <div className='progress'>
52
+ <div className='progress-bar bg-info' style={{ width: `${value}%` }} />
53
+ </div>
54
+ <div className='text-color-dark text-size-12 margin-top-5'>
55
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam vehicula magna quis ante tincidunt,
56
+ at volutpat nunc facilisis. Sed auctor.
57
+ </div>
58
+ </Card>
59
+ </div>
60
+ );
61
+ };
62
+ ```
63
+
64
+ #### HTML (html)
65
+
66
+ ```html
67
+ <div class="max-width-500 margin-auto">
68
+ <div class="bg-white rounded border shadow-default padding-15 display-flex flex-column gap-5">
69
+ <div class="display-flex justify-content-between gap-5">
70
+ <div class="display-flex align-items-center">
71
+ <div class="margin-right-3 text-color-dark">Label</div>
72
+ <span class="rioglyph rioglyph-question-sign text-color-dark">
73
+ </span>
74
+ </div>
75
+ <span class="display-flex gap-5">
76
+ <span class="text-color-darker">1%</span>
77
+ <span class="scale-80">
78
+ <div class="spinnerInfoBox display-flex justify-content-center align-items-center height-100pct">
79
+ <div class="spinner">
80
+ <div>
81
+ </div>
82
+ <div>
83
+ </div>
84
+ <div>
85
+ </div>
86
+ <div>
87
+ </div>
88
+ </div>
89
+ </div>
90
+ </span>
91
+ </span>
92
+ </div>
93
+ <div class="progress">
94
+ <div class="progress-bar bg-info" style="width: 1%;">
95
+ </div>
96
+ </div>
97
+ <div class="text-color-dark text-size-12 margin-top-5">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam vehicula magna quis ante tincidunt, at volutpat nunc facilisis. Sed auctor.</div>
98
+ </div>
99
+ </div>
100
+ ```
@@ -0,0 +1,132 @@
1
+ # Options panel
2
+
3
+ *Category:* Templates
4
+ *Section:* Content
5
+ *Source:* https://uikit.developers.rio.cloud/#/templates/options-panel
6
+ *Captured:* 2026-04-20T12:55:42.930Z
7
+
8
+ ## Options panel
9
+
10
+ ### Example: Add transport order
11
+
12
+ Add transport order
13
+ You have two options for uploading a transport order to the system.
14
+
15
+ Where is your transport order stored?
16
+ From onboard unit
17
+ Upload the .xml order file from your vehicle.
18
+
19
+ Manual entry
20
+ Create a new transport order in the interface.
21
+
22
+ Need help uploading your order? Cancel upload
23
+
24
+ #### React (tsx)
25
+
26
+ ```tsx
27
+ import { useRef } from 'react';
28
+
29
+ import Button from '@rio-cloud/rio-uikit/Button';
30
+ import useHover from '@rio-cloud/rio-uikit/useHover';
31
+
32
+ export default () => (
33
+ <div className='max-width-600 margin-auto'>
34
+ <div className='display-flex flex-column gap-15 padding-25'>
35
+ <div>
36
+ <h3 className='text-size-h3 text-medium text-color-darkest margin-top-0'>Add transport order</h3>
37
+ <p className='text-color-darker'>You have two options for uploading a transport order to the system.</p>
38
+ </div>
39
+
40
+ <h4 className='text-medium text-color-darkest margin-bottom-0'>Where is your transport order stored?</h4>
41
+
42
+ <OptionItem
43
+ icon='rioglyph-server-stack'
44
+ title='From onboard unit'
45
+ description='Upload the .xml order file from your vehicle.'
46
+ />
47
+
48
+ <OptionItem
49
+ icon='rioglyph-pencil-square'
50
+ title='Manual entry'
51
+ description='Create a new transport order in the interface.'
52
+ />
53
+
54
+ <div className='display-flex flex-wrap gap-15 justify-content-center-xs justify-content-between align-items-center margin-top-20'>
55
+ <a href='#'>Need help uploading your order?</a>
56
+ <Button bsStyle='muted-filled'>Cancel upload</Button>
57
+ </div>
58
+ </div>
59
+ </div>
60
+ );
61
+
62
+ type OptionItemProps = {
63
+ icon: string;
64
+ title: string;
65
+ description: string;
66
+ };
67
+
68
+ const OptionItem = ({ icon, title, description }: OptionItemProps) => {
69
+ const ref = useRef<HTMLInputElement>(null);
70
+ const isHover = useHover(ref);
71
+
72
+ return (
73
+ <div
74
+ ref={ref}
75
+ className='rounded border padding-x-20 padding-y-15 display-flex align-items-center justify-content-between bg-decent hover-bg-highlight-decent hover-border-color-highlight cursor-pointer'
76
+ >
77
+ <div className='display-flex align-items-center gap-20'>
78
+ <span className={`rioglyph ${icon} text-color-darkest text-size-h2`} />
79
+ <div>
80
+ <div className='text-size-18 text-bold text-color-darkest line-height-125rel'>{title}</div>
81
+ <div className='text-color-darker'>{description}</div>
82
+ </div>
83
+ </div>
84
+ <span
85
+ className={`rioglyph rioglyph-chevron-right ${isHover ? 'text-color-highlight' : 'text-color-light'} text-size-20`}
86
+ />
87
+ </div>
88
+ );
89
+ };
90
+ ```
91
+
92
+ #### HTML (html)
93
+
94
+ ```html
95
+ <div class="max-width-600 margin-auto">
96
+ <div class="display-flex flex-column gap-15 padding-25">
97
+ <div>
98
+ <h3 class="text-size-h3 text-medium text-color-darkest margin-top-0">Add transport order</h3>
99
+ <p class="text-color-darker">You have two options for uploading a transport order to the system.</p>
100
+ </div>
101
+ <h4 class="text-medium text-color-darkest margin-bottom-0">Where is your transport order stored?</h4>
102
+ <div class="rounded border padding-x-20 padding-y-15 display-flex align-items-center justify-content-between bg-decent hover-bg-highlight-decent hover-border-color-highlight cursor-pointer">
103
+ <div class="display-flex align-items-center gap-20">
104
+ <span class="rioglyph rioglyph-server-stack text-color-darkest text-size-h2">
105
+ </span>
106
+ <div>
107
+ <div class="text-size-18 text-bold text-color-darkest line-height-125rel">From onboard unit</div>
108
+ <div class="text-color-darker">Upload the .xml order file from your vehicle.</div>
109
+ </div>
110
+ </div>
111
+ <span class="rioglyph rioglyph-chevron-right text-color-light text-size-20">
112
+ </span>
113
+ </div>
114
+ <div class="rounded border padding-x-20 padding-y-15 display-flex align-items-center justify-content-between bg-decent hover-bg-highlight-decent hover-border-color-highlight cursor-pointer">
115
+ <div class="display-flex align-items-center gap-20">
116
+ <span class="rioglyph rioglyph-pencil-square text-color-darkest text-size-h2">
117
+ </span>
118
+ <div>
119
+ <div class="text-size-18 text-bold text-color-darkest line-height-125rel">Manual entry</div>
120
+ <div class="text-color-darker">Create a new transport order in the interface.</div>
121
+ </div>
122
+ </div>
123
+ <span class="rioglyph rioglyph-chevron-right text-color-light text-size-20">
124
+ </span>
125
+ </div>
126
+ <div class="display-flex flex-wrap gap-15 justify-content-center-xs justify-content-between align-items-center margin-top-20">
127
+ <a href="#">Need help uploading your order?</a>
128
+ <button type="button" class="btn btn-muted-filled btn-component" tabindex="0">Cancel upload</button>
129
+ </div>
130
+ </div>
131
+ </div>
132
+ ```
@@ -0,0 +1,137 @@
1
+ # Panel variants
2
+
3
+ *Category:* Templates
4
+ *Section:* Content
5
+ *Source:* https://uikit.developers.rio.cloud/#/templates/panel-variants
6
+ *Captured:* 2026-04-20T12:55:41.788Z
7
+
8
+ ## Panel variants
9
+
10
+ ### Example: Example 1
11
+
12
+ Lorem ipsum
13
+ Cras sit amet nibh libero, in gravida nulla. Nulla vel metus
14
+
15
+ Lorem ipsum
16
+ Cras sit amet nibh libero, in gravida nulla. Nulla vel metus
17
+
18
+ Lorem ipsum
19
+ Cras sit amet nibh libero, in gravida nulla. Nulla vel metus
20
+
21
+ Lorem ipsum
22
+ Cras sit amet nibh libero, in gravida nulla. Nulla vel metus
23
+
24
+ Lorem ipsum
25
+ Cras sit amet nibh libero, in gravida nulla. Nulla vel metus
26
+
27
+ Lorem ipsum
28
+ Cras sit amet nibh libero, in gravida nulla. Nulla vel metus
29
+
30
+ Lorem ipsum
31
+ Cras sit amet nibh libero, in gravida nulla. Nulla vel metus
32
+
33
+ #### React (tsx)
34
+
35
+ ```tsx
36
+ import { colors, getColorNames } from '../../../utils/colors';
37
+
38
+ const eachColor = ['default', ...getColorNames(colors.brand, colors.status)];
39
+
40
+ export default () => (
41
+ <div className='margin-25-md display-grid grid-cols-1 grid-cols-2-ls grid-cols-4-md gap-20'>
42
+ {eachColor.map(color => (
43
+ <div
44
+ className={`
45
+ panel panel-${color} panel-body panel-blank shadow-default padding-25 margin-bottom-0
46
+ position-relative hover-scale-105 transition-all transition-duration-01 transition-ease-in-out
47
+ user-select-none
48
+ `}
49
+ key={color}
50
+ >
51
+ <div className={`text-size-18 text-medium text-uppercase text-color-${color} margin-bottom-5`}>
52
+ Lorem ipsum
53
+ </div>
54
+ <span className={`position-absolute left--1 top-25 height-25 width-3 bg-${color}`} />
55
+ <div className='text-color-darker'>Cras sit amet nibh libero, in gravida nulla. Nulla vel metus</div>
56
+ </div>
57
+ ))}
58
+ </div>
59
+ );
60
+ ```
61
+
62
+ #### HTML (html)
63
+
64
+ ```html
65
+ <div class="margin-25-md display-grid grid-cols-1 grid-cols-2-ls grid-cols-4-md gap-20">
66
+ <div class="
67
+ panel panel-default panel-body panel-blank shadow-default padding-25 margin-bottom-0
68
+ position-relative hover-scale-105 transition-all transition-duration-01 transition-ease-in-out
69
+ user-select-none
70
+ ">
71
+ <div class="text-size-18 text-medium text-uppercase text-color-default margin-bottom-5">Lorem ipsum</div>
72
+ <span class="position-absolute left--1 top-25 height-25 width-3 bg-default">
73
+ </span>
74
+ <div class="text-color-darker">Cras sit amet nibh libero, in gravida nulla. Nulla vel metus</div>
75
+ </div>
76
+ <div class="
77
+ panel panel-primary panel-body panel-blank shadow-default padding-25 margin-bottom-0
78
+ position-relative hover-scale-105 transition-all transition-duration-01 transition-ease-in-out
79
+ user-select-none
80
+ ">
81
+ <div class="text-size-18 text-medium text-uppercase text-color-primary margin-bottom-5">Lorem ipsum</div>
82
+ <span class="position-absolute left--1 top-25 height-25 width-3 bg-primary">
83
+ </span>
84
+ <div class="text-color-darker">Cras sit amet nibh libero, in gravida nulla. Nulla vel metus</div>
85
+ </div>
86
+ <div class="
87
+ panel panel-secondary panel-body panel-blank shadow-default padding-25 margin-bottom-0
88
+ position-relative hover-scale-105 transition-all transition-duration-01 transition-ease-in-out
89
+ user-select-none
90
+ ">
91
+ <div class="text-size-18 text-medium text-uppercase text-color-secondary margin-bottom-5">Lorem ipsum</div>
92
+ <span class="position-absolute left--1 top-25 height-25 width-3 bg-secondary">
93
+ </span>
94
+ <div class="text-color-darker">Cras sit amet nibh libero, in gravida nulla. Nulla vel metus</div>
95
+ </div>
96
+ <div class="
97
+ panel panel-info panel-body panel-blank shadow-default padding-25 margin-bottom-0
98
+ position-relative hover-scale-105 transition-all transition-duration-01 transition-ease-in-out
99
+ user-select-none
100
+ ">
101
+ <div class="text-size-18 text-medium text-uppercase text-color-info margin-bottom-5">Lorem ipsum</div>
102
+ <span class="position-absolute left--1 top-25 height-25 width-3 bg-info">
103
+ </span>
104
+ <div class="text-color-darker">Cras sit amet nibh libero, in gravida nulla. Nulla vel metus</div>
105
+ </div>
106
+ <div class="
107
+ panel panel-success panel-body panel-blank shadow-default padding-25 margin-bottom-0
108
+ position-relative hover-scale-105 transition-all transition-duration-01 transition-ease-in-out
109
+ user-select-none
110
+ ">
111
+ <div class="text-size-18 text-medium text-uppercase text-color-success margin-bottom-5">Lorem ipsum</div>
112
+ <span class="position-absolute left--1 top-25 height-25 width-3 bg-success">
113
+ </span>
114
+ <div class="text-color-darker">Cras sit amet nibh libero, in gravida nulla. Nulla vel metus</div>
115
+ </div>
116
+ <div class="
117
+ panel panel-warning panel-body panel-blank shadow-default padding-25 margin-bottom-0
118
+ position-relative hover-scale-105 transition-all transition-duration-01 transition-ease-in-out
119
+ user-select-none
120
+ ">
121
+ <div class="text-size-18 text-medium text-uppercase text-color-warning margin-bottom-5">Lorem ipsum</div>
122
+ <span class="position-absolute left--1 top-25 height-25 width-3 bg-warning">
123
+ </span>
124
+ <div class="text-color-darker">Cras sit amet nibh libero, in gravida nulla. Nulla vel metus</div>
125
+ </div>
126
+ <div class="
127
+ panel panel-danger panel-body panel-blank shadow-default padding-25 margin-bottom-0
128
+ position-relative hover-scale-105 transition-all transition-duration-01 transition-ease-in-out
129
+ user-select-none
130
+ ">
131
+ <div class="text-size-18 text-medium text-uppercase text-color-danger margin-bottom-5">Lorem ipsum</div>
132
+ <span class="position-absolute left--1 top-25 height-25 width-3 bg-danger">
133
+ </span>
134
+ <div class="text-color-darker">Cras sit amet nibh libero, in gravida nulla. Nulla vel metus</div>
135
+ </div>
136
+ </div>
137
+ ```