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