fokus-styles 2.4.0 → 2.6.0

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 (212) hide show
  1. package/dist/css/components.css +561 -83
  2. package/dist/css/components.min.css +1 -1
  3. package/dist/css/fokus-components.css +561 -83
  4. package/dist/css/fokus-components.min.css +1 -1
  5. package/dist/css/fokus-rtl.css +697 -83
  6. package/dist/css/fokus-rtl.min.css +1 -1
  7. package/dist/css/fokus-utilities.css +136 -0
  8. package/dist/css/fokus-utilities.min.css +1 -1
  9. package/dist/css/fokus.css +996 -258
  10. package/dist/css/fokus.min.css +1 -1
  11. package/dist/css/forms.css +300 -176
  12. package/dist/css/forms.min.css +1 -1
  13. package/dist/css/helpers.css +136 -0
  14. package/dist/css/helpers.min.css +1 -1
  15. package/dist/js/fokus.js +270 -25
  16. package/dist/js/fokus.min.js +18 -18
  17. package/package.json +17 -15
  18. package/packages/fokus-components/scss/components/_alerts.scss +128 -6
  19. package/packages/fokus-components/scss/components/_badges.scss +26 -10
  20. package/packages/fokus-components/scss/components/_index.scss +1 -0
  21. package/packages/fokus-components/scss/components/_popover.scss +131 -21
  22. package/packages/fokus-components/scss/components/_responsive.scss +23 -0
  23. package/packages/fokus-components/scss/components/_tag.scss +37 -14
  24. package/packages/fokus-components/scss/components/_toasts.scss +156 -11
  25. package/packages/fokus-components/scss/components/_tooltips.scss +70 -18
  26. package/packages/fokus-components/scss/forms/_check-radio-switch.scss +313 -215
  27. package/packages/fokus-components/scss/forms/_forms.scss +16 -0
  28. package/packages/fokus-js/js/carousel.d.ts +4 -0
  29. package/packages/fokus-js/js/carousel.js +8 -0
  30. package/packages/fokus-js/js/core/positioning.js +18 -9
  31. package/packages/fokus-js/js/dropdown.d.ts +4 -0
  32. package/packages/fokus-js/js/dropdown.js +7 -0
  33. package/packages/fokus-js/js/popover.js +26 -1
  34. package/packages/fokus-js/js/tabs.d.ts +3 -0
  35. package/packages/fokus-js/js/tabs.js +5 -0
  36. package/packages/fokus-js/js/tag.js +17 -0
  37. package/packages/fokus-js/js/toast.js +77 -3
  38. package/packages/fokus-js/js/tooltip.d.ts +8 -1
  39. package/packages/fokus-js/js/tooltip.js +106 -13
  40. package/packages/fokus-utilities/scss/utilities/_api.scss +48 -0
  41. package/CHANGELOG.md +0 -910
  42. package/dist/css/components.css.map +0 -1
  43. package/dist/css/components.min.css.map +0 -1
  44. package/dist/css/fokus-components.css.map +0 -1
  45. package/dist/css/fokus-components.min.css.map +0 -1
  46. package/dist/css/fokus-core.css.map +0 -1
  47. package/dist/css/fokus-core.min.css.map +0 -1
  48. package/dist/css/fokus-dark.css.map +0 -1
  49. package/dist/css/fokus-dark.min.css.map +0 -1
  50. package/dist/css/fokus-rtl.css.map +0 -1
  51. package/dist/css/fokus-rtl.min.css.map +0 -1
  52. package/dist/css/fokus-utilities.css.map +0 -1
  53. package/dist/css/fokus-utilities.min.css.map +0 -1
  54. package/dist/css/fokus.css.map +0 -1
  55. package/dist/css/fokus.min.css.map +0 -1
  56. package/dist/css/fonts.css.map +0 -1
  57. package/dist/css/fonts.min.css.map +0 -1
  58. package/dist/css/forms.css.map +0 -1
  59. package/dist/css/forms.min.css.map +0 -1
  60. package/dist/css/helpers.css.map +0 -1
  61. package/dist/css/helpers.min.css.map +0 -1
  62. package/dist/css/layout.css.map +0 -1
  63. package/dist/css/layout.min.css.map +0 -1
  64. package/dist/js/fokus.js.map +0 -7
  65. package/dist/js/fokus.min.js.map +0 -7
  66. package/docs/README.md +0 -86
  67. package/docs/comparison.md +0 -124
  68. package/docs/components/accordion.md +0 -104
  69. package/docs/components/alert-dialog.md +0 -99
  70. package/docs/components/alert.md +0 -59
  71. package/docs/components/avatar.md +0 -13
  72. package/docs/components/badge.md +0 -82
  73. package/docs/components/breadcrumb.md +0 -93
  74. package/docs/components/button-group.md +0 -13
  75. package/docs/components/button.md +0 -98
  76. package/docs/components/card.md +0 -111
  77. package/docs/components/carousel.md +0 -167
  78. package/docs/components/checkbox.md +0 -97
  79. package/docs/components/close-button.md +0 -13
  80. package/docs/components/code.md +0 -13
  81. package/docs/components/collapse.md +0 -78
  82. package/docs/components/combobox.md +0 -123
  83. package/docs/components/command-palette.md +0 -131
  84. package/docs/components/datatable.md +0 -173
  85. package/docs/components/datepicker.md +0 -137
  86. package/docs/components/divider.md +0 -57
  87. package/docs/components/dropdown.md +0 -103
  88. package/docs/components/empty-state.md +0 -65
  89. package/docs/components/file-upload-advanced.md +0 -116
  90. package/docs/components/file-upload.md +0 -93
  91. package/docs/components/icon-link.md +0 -13
  92. package/docs/components/input-group.md +0 -73
  93. package/docs/components/input.md +0 -90
  94. package/docs/components/list-group.md +0 -13
  95. package/docs/components/modal.md +0 -120
  96. package/docs/components/navbar.md +0 -74
  97. package/docs/components/nested-menu.md +0 -90
  98. package/docs/components/notification-center.md +0 -116
  99. package/docs/components/offcanvas.md +0 -102
  100. package/docs/components/pagination.md +0 -145
  101. package/docs/components/placeholder.md +0 -13
  102. package/docs/components/popover.md +0 -105
  103. package/docs/components/progress.md +0 -126
  104. package/docs/components/radio.md +0 -70
  105. package/docs/components/range.md +0 -83
  106. package/docs/components/rating.md +0 -91
  107. package/docs/components/ratio.md +0 -13
  108. package/docs/components/scrollspy.md +0 -13
  109. package/docs/components/segmented-control.md +0 -82
  110. package/docs/components/select.md +0 -89
  111. package/docs/components/skeleton.md +0 -70
  112. package/docs/components/stepper.md +0 -107
  113. package/docs/components/switch.md +0 -75
  114. package/docs/components/table.md +0 -90
  115. package/docs/components/tabs.md +0 -104
  116. package/docs/components/tag.md +0 -129
  117. package/docs/components/tile.md +0 -112
  118. package/docs/components/timeline.md +0 -78
  119. package/docs/components/toast.md +0 -95
  120. package/docs/components/tooltip.md +0 -77
  121. package/docs/components/tree-view.md +0 -118
  122. package/docs/contributing/contributing.md +0 -18
  123. package/docs/getting-started/installation.md +0 -70
  124. package/docs/getting-started/usage.md +0 -105
  125. package/docs/guides/accessibility.md +0 -102
  126. package/docs/guides/charts.md +0 -73
  127. package/docs/guides/dark-mode.md +0 -90
  128. package/docs/guides/icons.md +0 -99
  129. package/docs/guides/javascript-api.md +0 -9
  130. package/docs/guides/layout-advanced.md +0 -118
  131. package/docs/guides/migration-clarus-to-fokus.md +0 -48
  132. package/docs/guides/migration-external.md +0 -123
  133. package/docs/guides/migration-v1.md +0 -63
  134. package/docs/guides/print.md +0 -30
  135. package/docs/guides/rtl-and-system-preferences.md +0 -28
  136. package/docs/guides/theming.md +0 -140
  137. package/docs/guides/utility-api.md +0 -9
  138. package/docs/prompts/prompt-plan.md +0 -45
  139. package/docs/reference/accessibility-matrix.md +0 -77
  140. package/docs/reference/browser-support.md +0 -75
  141. package/docs/reference/contrast-report.md +0 -50
  142. package/docs/reference/definitions.md +0 -864
  143. package/docs/reference/design-tokens.md +0 -194
  144. package/docs/reference/scss-architecture.md +0 -227
  145. package/docs/reference/size-baseline.json +0 -34
  146. package/docs/reference/stability.md +0 -89
  147. package/docs/showcase.md +0 -25
  148. package/mockup/README.md +0 -41
  149. package/mockup/assets/carousel-planning.png +0 -0
  150. package/mockup/assets/carousel-workspace.png +0 -0
  151. package/mockup/assets/example-theme.css +0 -8
  152. package/mockup/assets/example-theme.js +0 -11
  153. package/mockup/assets/showcase-contracts.js +0 -84
  154. package/mockup/assets/showcase.css +0 -91
  155. package/mockup/assets/showcase.js +0 -724
  156. package/mockup/content-data.html +0 -9
  157. package/mockup/examples/accordion-tabs-toast.html +0 -149
  158. package/mockup/examples/alert-dialog.html +0 -84
  159. package/mockup/examples/alerts.html +0 -41
  160. package/mockup/examples/badges-alerts.html +0 -77
  161. package/mockup/examples/buttons.html +0 -58
  162. package/mockup/examples/cards.html +0 -132
  163. package/mockup/examples/carousel.html +0 -126
  164. package/mockup/examples/charts.html +0 -102
  165. package/mockup/examples/check-radio-switch.html +0 -144
  166. package/mockup/examples/collapse.html +0 -69
  167. package/mockup/examples/combobox.html +0 -60
  168. package/mockup/examples/command-palette.html +0 -64
  169. package/mockup/examples/datatable.html +0 -113
  170. package/mockup/examples/datepicker.html +0 -62
  171. package/mockup/examples/divider.html +0 -45
  172. package/mockup/examples/dropdown-tooltip.html +0 -77
  173. package/mockup/examples/empty-state.html +0 -56
  174. package/mockup/examples/file-drop.html +0 -74
  175. package/mockup/examples/file-upload-advanced.html +0 -68
  176. package/mockup/examples/forms-advanced.html +0 -77
  177. package/mockup/examples/hover-card.html +0 -86
  178. package/mockup/examples/icons.html +0 -157
  179. package/mockup/examples/input-group.html +0 -74
  180. package/mockup/examples/js-foundation.html +0 -215
  181. package/mockup/examples/layout.html +0 -134
  182. package/mockup/examples/modal-select.html +0 -127
  183. package/mockup/examples/nested-menu.html +0 -73
  184. package/mockup/examples/notification-center.html +0 -86
  185. package/mockup/examples/offcanvas-popover.html +0 -133
  186. package/mockup/examples/pagination-breadcrumbs.html +0 -92
  187. package/mockup/examples/range.html +0 -69
  188. package/mockup/examples/rating.html +0 -103
  189. package/mockup/examples/segmented-control.html +0 -96
  190. package/mockup/examples/skeletons.html +0 -82
  191. package/mockup/examples/spinner-progress.html +0 -130
  192. package/mockup/examples/stepper.html +0 -119
  193. package/mockup/examples/tables-navbar.html +0 -89
  194. package/mockup/examples/tag.html +0 -105
  195. package/mockup/examples/theming.html +0 -68
  196. package/mockup/examples/tile.html +0 -107
  197. package/mockup/examples/timeline.html +0 -108
  198. package/mockup/examples/tree-view.html +0 -68
  199. package/mockup/feedback-actions.html +0 -9
  200. package/mockup/forms.html +0 -13
  201. package/mockup/foundations.html +0 -7
  202. package/mockup/kitchen-sink.html +0 -696
  203. package/mockup/navigation-disclosure.html +0 -11
  204. package/mockup/overlays-commands.html +0 -12
  205. package/mockup/templates/README.md +0 -20
  206. package/mockup/templates/admin.html +0 -334
  207. package/mockup/templates/auth.html +0 -234
  208. package/mockup/templates/dashboard.html +0 -442
  209. package/mockup/templates/landing.html +0 -397
  210. package/packages/fokus-icons/package.json +0 -46
  211. package/scripts/migrate-fokus-map.json +0 -1366
  212. package/scripts/migrate-fokus.mjs +0 -97
@@ -1,92 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="UTF-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>Mockup - Pagination & Breadcrumbs</title>
7
-
8
- <!-- STYLES IMPORT -->
9
- <link rel="stylesheet" href="../../dist/css/fonts.css">
10
- <link rel="stylesheet" href="../../dist/css/components.css">
11
- <link rel="stylesheet" href="../../dist/css/helpers.css">
12
- <style>
13
- .theme-panel {
14
- padding: 24px;
15
- background-color: var(--fs-color-subtle);
16
- }
17
-
18
- html[data-theme="dark"] .theme-panel {
19
- color: var(--fs-color-text);
20
- background-color: var(--fs-color-surface);
21
- }
22
- </style>
23
- <link rel="stylesheet" href="../assets/example-theme.css">
24
- <script src="../assets/example-theme.js"></script>
25
- </head>
26
- <body>
27
- <div class="theme-panel">
28
- <ol class="fs-breadcrumb fs-u-mb-3">
29
- <li class="fs-breadcrumb-item"><a href="#">Início</a></li>
30
- <li class="fs-breadcrumb-item"><a href="#">Categoria</a></li>
31
- <li class="fs-breadcrumb-item is-active">Produto atual</li>
32
- </ol>
33
-
34
- <p class="fs-u-fs-sm fs-u-fw-medium fs-u-mb-2">Avançado: truncamento com tooltip + colapso em telas pequenas (redimensione a janela para ver o item "…" com dropdown)</p>
35
- <ol class="fs-breadcrumb fs-u-mb-3" data-fs="breadcrumb" data-max-items="3">
36
- <li class="fs-breadcrumb-item"><a href="#">Início</a></li>
37
- <li class="fs-breadcrumb-item"><a href="#">Categoria de produtos muito específica</a></li>
38
- <li class="fs-breadcrumb-item"><a href="#">Subcategoria</a></li>
39
- <li class="fs-breadcrumb-item"><a href="#">Marca</a></li>
40
- <li class="fs-breadcrumb-item is-active">Produto atual com nome bem longo para truncar</li>
41
- </ol>
42
-
43
- <ul class="fs-pagination">
44
- <li class="fs-page-item is-disabled"><a href="#" class="fs-page-link" aria-label="Anterior"><svg class="fs-icon" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m15 18-6-6 6-6"/></svg></a></li>
45
- <li class="fs-page-item"><a href="#" class="fs-page-link">1</a></li>
46
- <li class="fs-page-item is-active"><a href="#" class="fs-page-link">2</a></li>
47
- <li class="fs-page-item"><a href="#" class="fs-page-link">3</a></li>
48
- <li class="fs-page-item"><a href="#" class="fs-page-link">4</a></li>
49
- <li class="fs-page-item"><a href="#" class="fs-page-link" aria-label="Próxima"><svg class="fs-icon" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m9 18 6-6-6-6"/></svg></a></li>
50
- </ul>
51
-
52
- <p class="fs-u-fs-sm fs-u-fw-medium fs-u-mt-3 fs-u-mb-2">Bordered (itens colados) + compacta (sm) / lg</p>
53
- <ul class="fs-pagination fs-pagination-bordered fs-pagination-sm fs-u-mb-2">
54
- <li class="fs-page-item is-disabled"><a href="#" class="fs-page-link" aria-label="Anterior"><svg class="fs-icon" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m15 18-6-6 6-6"/></svg></a></li>
55
- <li class="fs-page-item"><a href="#" class="fs-page-link">1</a></li>
56
- <li class="fs-page-item is-active"><a href="#" class="fs-page-link">2</a></li>
57
- <li class="fs-page-item"><a href="#" class="fs-page-link">3</a></li>
58
- <li class="fs-page-item"><a href="#" class="fs-page-link" aria-label="Próxima"><svg class="fs-icon" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m9 18 6-6-6-6"/></svg></a></li>
59
- </ul>
60
- <ul class="fs-pagination fs-pagination-bordered fs-pagination-lg">
61
- <li class="fs-page-item is-disabled"><a href="#" class="fs-page-link" aria-label="Anterior"><svg class="fs-icon" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m15 18-6-6 6-6"/></svg></a></li>
62
- <li class="fs-page-item"><a href="#" class="fs-page-link">1</a></li>
63
- <li class="fs-page-item is-active"><a href="#" class="fs-page-link">2</a></li>
64
- <li class="fs-page-item"><a href="#" class="fs-page-link">3</a></li>
65
- <li class="fs-page-item"><a href="#" class="fs-page-link" aria-label="Próxima"><svg class="fs-icon" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m9 18 6-6-6-6"/></svg></a></li>
66
- </ul>
67
-
68
- <p class="fs-u-fs-sm fs-u-fw-medium fs-u-mt-3 fs-u-mb-2">Prev/next descritivo</p>
69
- <ul class="fs-pagination fs-u-mb-2">
70
- <li class="fs-page-item"><a href="#" class="fs-page-link fs-page-link-text"><svg class="fs-icon" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m15 18-6-6 6-6"/></svg>Anterior</a></li>
71
- <li class="fs-page-item"><a href="#" class="fs-page-link">1</a></li>
72
- <li class="fs-page-item is-active"><a href="#" class="fs-page-link">2</a></li>
73
- <li class="fs-page-item"><a href="#" class="fs-page-link">3</a></li>
74
- <li class="fs-page-item"><a href="#" class="fs-page-link fs-page-link-text">Próxima<svg class="fs-icon" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m9 18 6-6-6-6"/></svg></a></li>
75
- </ul>
76
-
77
- <p class="fs-u-fs-sm fs-u-fw-medium fs-u-mt-3 fs-u-mb-2">Reticências (intervalo de páginas omitido)</p>
78
- <ul class="fs-pagination">
79
- <li class="fs-page-item"><a href="#" class="fs-page-link">1</a></li>
80
- <li class="fs-page-item"><a href="#" class="fs-page-link">2</a></li>
81
- <li class="fs-page-item"><a href="#" class="fs-page-link">3</a></li>
82
- <li class="fs-page-item is-disabled" aria-hidden="true"><span class="fs-page-link"><svg class="fs-icon" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="1"/><circle cx="19" cy="12" r="1"/><circle cx="5" cy="12" r="1"/></svg></span></li>
83
- <li class="fs-page-item"><a href="#" class="fs-page-link">8</a></li>
84
- <li class="fs-page-item"><a href="#" class="fs-page-link">9</a></li>
85
- <li class="fs-page-item is-active"><a href="#" class="fs-page-link">10</a></li>
86
- </ul>
87
- </div>
88
-
89
-
90
- <script src="../../dist/js/fokus.js"></script>
91
- </body>
92
- </html>
@@ -1,69 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="UTF-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>Mockup - Range/Slider</title>
7
-
8
- <!-- STYLES IMPORT -->
9
- <link rel="stylesheet" href="../../dist/css/fonts.css">
10
- <link rel="stylesheet" href="../../dist/css/forms.css">
11
- <link rel="stylesheet" href="../../dist/css/helpers.css">
12
- <style>
13
- .theme-panel {
14
- padding: 24px;
15
- }
16
-
17
- html[data-theme="dark"] .theme-panel {
18
- color: var(--fs-color-text);
19
- background-color: var(--fs-color-surface);
20
- }
21
-
22
- .range-row {
23
- display: flex;
24
- align-items: center;
25
- gap: 12px;
26
- max-width: 320px;
27
- margin-bottom: 16px;
28
- }
29
-
30
- .range-row .fs-form-range {
31
- flex: 1;
32
- }
33
- </style>
34
- <link rel="stylesheet" href="../assets/example-theme.css">
35
- <script src="../assets/example-theme.js"></script>
36
- </head>
37
- <body>
38
-
39
- <div class="theme-panel">
40
- <p class="fs-u-fs-sm fs-u-fw-medium fs-u-mt-3 fs-u-mb-2">Padrão</p>
41
- <label for="volume" class="fs-form-label">Volume</label>
42
- <input type="range" class="fs-form-range" id="volume" min="0" max="100" value="40">
43
-
44
- <p class="fs-u-fs-sm fs-u-fw-medium fs-u-mt-3 fs-u-mb-2">Com valor visível (data-fs="range")</p>
45
- <div class="range-row">
46
- <input type="range" class="fs-form-range" id="brilho" min="0" max="100" value="65"
47
- aria-label="Brilho" data-fs="range" data-fs-target="#brilho-output">
48
- <output class="fs-range-output" id="brilho-output" for="brilho">65</output>
49
- </div>
50
-
51
- <p class="fs-u-fs-sm fs-u-fw-medium fs-u-mt-3 fs-u-mb-2">Com marcações (datalist)</p>
52
- <input type="range" class="fs-form-range" min="0" max="100" step="25" value="50" list="marcas-claro" aria-label="Nível (com marcações)">
53
- <datalist id="marcas-claro">
54
- <option value="0"></option>
55
- <option value="25"></option>
56
- <option value="50"></option>
57
- <option value="75"></option>
58
- <option value="100"></option>
59
- </datalist>
60
-
61
- <p class="fs-u-fs-sm fs-u-fw-medium fs-u-mt-3 fs-u-mb-2">Desabilitado</p>
62
- <input type="range" class="fs-form-range" min="0" max="100" value="30" aria-label="Controle desabilitado" disabled>
63
- </div>
64
-
65
-
66
-
67
- <script src="../../dist/js/fokus.js"></script>
68
- </body>
69
- </html>
@@ -1,103 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="UTF-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>Mockup - Rating / Stars</title>
7
-
8
- <!-- STYLES IMPORT -->
9
- <link rel="stylesheet" href="../../dist/css/fonts.css">
10
- <link rel="stylesheet" href="../../dist/css/components.css">
11
- <link rel="stylesheet" href="../../dist/css/helpers.css">
12
- <style>
13
- .theme-panel {
14
- display: flex;
15
- flex-direction: column;
16
- align-items: flex-start;
17
- gap: 16px;
18
- padding: 24px;
19
- background-color: var(--fs-color-subtle);
20
- }
21
-
22
- html[data-theme="dark"] .theme-panel {
23
- color: var(--fs-color-text);
24
- background-color: var(--fs-color-surface);
25
- }
26
- </style>
27
- <link rel="stylesheet" href="../assets/example-theme.css">
28
- <script src="../assets/example-theme.js"></script>
29
- </head>
30
- <body>
31
- <div class="theme-panel">
32
- <p class="fs-u-fs-sm fs-u-fw-medium fs-u-mb-0">Sem seleção</p>
33
- <div class="fs-rating">
34
- <input type="radio" name="r1" id="r1-5" value="5" class="fs-rating-input">
35
- <label for="r1-5" class="fs-rating-star" aria-label="5 estrelas"><svg class="fs-icon" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z"/></svg></label>
36
- <input type="radio" name="r1" id="r1-4" value="4" class="fs-rating-input">
37
- <label for="r1-4" class="fs-rating-star" aria-label="4 estrelas"><svg class="fs-icon" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z"/></svg></label>
38
- <input type="radio" name="r1" id="r1-3" value="3" class="fs-rating-input">
39
- <label for="r1-3" class="fs-rating-star" aria-label="3 estrelas"><svg class="fs-icon" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z"/></svg></label>
40
- <input type="radio" name="r1" id="r1-2" value="2" class="fs-rating-input">
41
- <label for="r1-2" class="fs-rating-star" aria-label="2 estrelas"><svg class="fs-icon" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z"/></svg></label>
42
- <input type="radio" name="r1" id="r1-1" value="1" class="fs-rating-input">
43
- <label for="r1-1" class="fs-rating-star" aria-label="1 estrela"><svg class="fs-icon" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z"/></svg></label>
44
- </div>
45
-
46
- <p class="fs-u-fs-sm fs-u-fw-medium fs-u-mb-0">3 de 5 selecionado</p>
47
- <div class="fs-rating">
48
- <input type="radio" name="r2" id="r2-5" value="5" class="fs-rating-input">
49
- <label for="r2-5" class="fs-rating-star" aria-label="5 estrelas"><svg class="fs-icon" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z"/></svg></label>
50
- <input type="radio" name="r2" id="r2-4" value="4" class="fs-rating-input">
51
- <label for="r2-4" class="fs-rating-star" aria-label="4 estrelas"><svg class="fs-icon" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z"/></svg></label>
52
- <input type="radio" name="r2" id="r2-3" value="3" class="fs-rating-input" checked>
53
- <label for="r2-3" class="fs-rating-star" aria-label="3 estrelas"><svg class="fs-icon" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z"/></svg></label>
54
- <input type="radio" name="r2" id="r2-2" value="2" class="fs-rating-input">
55
- <label for="r2-2" class="fs-rating-star" aria-label="2 estrelas"><svg class="fs-icon" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z"/></svg></label>
56
- <input type="radio" name="r2" id="r2-1" value="1" class="fs-rating-input">
57
- <label for="r2-1" class="fs-rating-star" aria-label="1 estrela"><svg class="fs-icon" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z"/></svg></label>
58
- </div>
59
-
60
- <p class="fs-u-fs-sm fs-u-fw-medium fs-u-mb-0">Tamanhos (sm / padrão / lg)</p>
61
- <div class="fs-rating fs-rating-sm">
62
- <input type="radio" name="r3" id="r3-5" value="5" class="fs-rating-input">
63
- <label for="r3-5" class="fs-rating-star" aria-label="5 estrelas"><svg class="fs-icon" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z"/></svg></label>
64
- <input type="radio" name="r3" id="r3-4" value="4" class="fs-rating-input" checked>
65
- <label for="r3-4" class="fs-rating-star" aria-label="4 estrelas"><svg class="fs-icon" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z"/></svg></label>
66
- <input type="radio" name="r3" id="r3-3" value="3" class="fs-rating-input">
67
- <label for="r3-3" class="fs-rating-star" aria-label="3 estrelas"><svg class="fs-icon" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z"/></svg></label>
68
- <input type="radio" name="r3" id="r3-2" value="2" class="fs-rating-input">
69
- <label for="r3-2" class="fs-rating-star" aria-label="2 estrelas"><svg class="fs-icon" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z"/></svg></label>
70
- <input type="radio" name="r3" id="r3-1" value="1" class="fs-rating-input">
71
- <label for="r3-1" class="fs-rating-star" aria-label="1 estrela"><svg class="fs-icon" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z"/></svg></label>
72
- </div>
73
- <div class="fs-rating fs-rating-lg">
74
- <input type="radio" name="r4" id="r4-5" value="5" class="fs-rating-input" checked>
75
- <label for="r4-5" class="fs-rating-star" aria-label="5 estrelas"><svg class="fs-icon" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z"/></svg></label>
76
- <input type="radio" name="r4" id="r4-4" value="4" class="fs-rating-input">
77
- <label for="r4-4" class="fs-rating-star" aria-label="4 estrelas"><svg class="fs-icon" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z"/></svg></label>
78
- <input type="radio" name="r4" id="r4-3" value="3" class="fs-rating-input">
79
- <label for="r4-3" class="fs-rating-star" aria-label="3 estrelas"><svg class="fs-icon" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z"/></svg></label>
80
- <input type="radio" name="r4" id="r4-2" value="2" class="fs-rating-input">
81
- <label for="r4-2" class="fs-rating-star" aria-label="2 estrelas"><svg class="fs-icon" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z"/></svg></label>
82
- <input type="radio" name="r4" id="r4-1" value="1" class="fs-rating-input">
83
- <label for="r4-1" class="fs-rating-star" aria-label="1 estrela"><svg class="fs-icon" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z"/></svg></label>
84
- </div>
85
-
86
- <p class="fs-u-fs-sm fs-u-fw-medium fs-u-mb-0">Desabilitado (2 de 5)</p>
87
- <div class="fs-rating">
88
- <input type="radio" name="r5" id="r5-5" value="5" class="fs-rating-input" disabled>
89
- <label for="r5-5" class="fs-rating-star" aria-label="5 estrelas"><svg class="fs-icon" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z"/></svg></label>
90
- <input type="radio" name="r5" id="r5-4" value="4" class="fs-rating-input" disabled>
91
- <label for="r5-4" class="fs-rating-star" aria-label="4 estrelas"><svg class="fs-icon" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z"/></svg></label>
92
- <input type="radio" name="r5" id="r5-3" value="3" class="fs-rating-input" disabled>
93
- <label for="r5-3" class="fs-rating-star" aria-label="3 estrelas"><svg class="fs-icon" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z"/></svg></label>
94
- <input type="radio" name="r5" id="r5-2" value="2" class="fs-rating-input" checked disabled>
95
- <label for="r5-2" class="fs-rating-star" aria-label="2 estrelas"><svg class="fs-icon" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z"/></svg></label>
96
- <input type="radio" name="r5" id="r5-1" value="1" class="fs-rating-input" disabled>
97
- <label for="r5-1" class="fs-rating-star" aria-label="1 estrela"><svg class="fs-icon" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z"/></svg></label>
98
- </div>
99
- </div>
100
-
101
-
102
- </body>
103
- </html>
@@ -1,96 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="UTF-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>Mockup - Segmented Control</title>
7
-
8
- <!-- STYLES IMPORT -->
9
- <link rel="stylesheet" href="../../dist/css/fonts.css">
10
- <link rel="stylesheet" href="../../dist/css/components.css">
11
- <link rel="stylesheet" href="../../dist/css/helpers.css">
12
- <style>
13
- .theme-panel {
14
- display: flex;
15
- flex-direction: column;
16
- gap: 16px;
17
- padding: 24px;
18
- background-color: var(--fs-color-subtle);
19
- }
20
-
21
- html[data-theme="dark"] .theme-panel {
22
- color: var(--fs-color-text);
23
- background-color: var(--fs-color-surface);
24
- }
25
- </style>
26
- <link rel="stylesheet" href="../assets/example-theme.css">
27
- <script src="../assets/example-theme.js"></script>
28
- </head>
29
- <body>
30
- <div class="theme-panel">
31
- <p class="fs-u-fs-sm fs-u-fw-medium fs-u-mb-0">Exclusivo (radio) — tamanhos</p>
32
- <div class="fs-segmented-control fs-segmented-control-sm">
33
- <div class="fs-segmented-item">
34
- <input type="radio" name="periodo-sm" id="periodo-sm-dia" class="fs-segmented-input" checked>
35
- <label for="periodo-sm-dia" class="fs-segmented-label">Dia</label>
36
- </div>
37
- <div class="fs-segmented-item">
38
- <input type="radio" name="periodo-sm" id="periodo-sm-semana" class="fs-segmented-input">
39
- <label for="periodo-sm-semana" class="fs-segmented-label">Semana</label>
40
- </div>
41
- <div class="fs-segmented-item">
42
- <input type="radio" name="periodo-sm" id="periodo-sm-mes" class="fs-segmented-input">
43
- <label for="periodo-sm-mes" class="fs-segmented-label">Mês</label>
44
- </div>
45
- </div>
46
-
47
- <div class="fs-segmented-control">
48
- <div class="fs-segmented-item">
49
- <input type="radio" name="periodo" id="periodo-dia" class="fs-segmented-input">
50
- <label for="periodo-dia" class="fs-segmented-label">Dia</label>
51
- </div>
52
- <div class="fs-segmented-item">
53
- <input type="radio" name="periodo" id="periodo-semana" class="fs-segmented-input" checked>
54
- <label for="periodo-semana" class="fs-segmented-label">Semana</label>
55
- </div>
56
- <div class="fs-segmented-item">
57
- <input type="radio" name="periodo" id="periodo-mes" class="fs-segmented-input">
58
- <label for="periodo-mes" class="fs-segmented-label">Mês</label>
59
- </div>
60
- <div class="fs-segmented-item">
61
- <input type="radio" name="periodo" id="periodo-ano" class="fs-segmented-input" disabled>
62
- <label for="periodo-ano" class="fs-segmented-label">Ano</label>
63
- </div>
64
- </div>
65
-
66
- <div class="fs-segmented-control fs-segmented-control-lg">
67
- <div class="fs-segmented-item">
68
- <input type="radio" name="periodo-lg" id="periodo-lg-dia" class="fs-segmented-input" checked>
69
- <label for="periodo-lg-dia" class="fs-segmented-label">Dia</label>
70
- </div>
71
- <div class="fs-segmented-item">
72
- <input type="radio" name="periodo-lg" id="periodo-lg-semana" class="fs-segmented-input">
73
- <label for="periodo-lg-semana" class="fs-segmented-label">Semana</label>
74
- </div>
75
- </div>
76
-
77
- <p class="fs-u-fs-sm fs-u-fw-medium fs-u-mb-0">Inclusivo (checkbox) — múltipla seleção</p>
78
- <div class="fs-segmented-control">
79
- <div class="fs-segmented-item">
80
- <input type="checkbox" id="filtro-negrito" class="fs-segmented-input" checked>
81
- <label for="filtro-negrito" class="fs-segmented-label fs-u-fw-medium">B</label>
82
- </div>
83
- <div class="fs-segmented-item">
84
- <input type="checkbox" id="filtro-italico" class="fs-segmented-input">
85
- <label for="filtro-italico" class="fs-segmented-label">I</label>
86
- </div>
87
- <div class="fs-segmented-item">
88
- <input type="checkbox" id="filtro-sublinhado" class="fs-segmented-input" checked>
89
- <label for="filtro-sublinhado" class="fs-segmented-label">U</label>
90
- </div>
91
- </div>
92
- </div>
93
-
94
-
95
- </body>
96
- </html>
@@ -1,82 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="UTF-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>Mockup - Skeletons</title>
7
-
8
- <!-- STYLES IMPORT -->
9
- <link rel="stylesheet" href="../../dist/css/fonts.css">
10
- <link rel="stylesheet" href="../../dist/css/components.css">
11
- <link rel="stylesheet" href="../../dist/css/helpers.css">
12
- <style>
13
- .theme-panel {
14
- display: flex;
15
- flex-wrap: wrap;
16
- gap: 24px;
17
- padding: 24px;
18
- background-color: var(--fs-color-subtle);
19
- }
20
-
21
- html[data-theme="dark"] .theme-panel {
22
- color: var(--fs-color-text);
23
- background-color: var(--fs-color-surface);
24
- }
25
-
26
- .card-skeleton {
27
- width: 220px;
28
- padding: 16px;
29
- background-color: var(--fs-color-surface);
30
- border-radius: var(--fs-radius-md);
31
- }
32
-
33
- .avatar-row {
34
- display: flex;
35
- align-items: center;
36
- gap: 12px;
37
- width: 220px;
38
- padding: 16px;
39
- background-color: var(--fs-color-surface);
40
- border-radius: var(--fs-radius-md);
41
- }
42
-
43
- .avatar-row .fs-skeleton-circle {
44
- width: 40px;
45
- height: 40px;
46
- }
47
-
48
- .avatar-row .fs-skeleton-text-group {
49
- flex: 1;
50
- }
51
- </style>
52
- <link rel="stylesheet" href="../assets/example-theme.css">
53
- <script src="../assets/example-theme.js"></script>
54
- </head>
55
- <body>
56
- <div class="theme-panel">
57
- <div class="avatar-row">
58
- <div class="fs-skeleton fs-skeleton-circle"></div>
59
- <div class="fs-skeleton-text-group">
60
- <div class="fs-skeleton fs-skeleton-text" style="width: 60%;"></div>
61
- <div class="fs-skeleton fs-skeleton-text" style="width: 40%;"></div>
62
- </div>
63
- </div>
64
-
65
- <div class="card-skeleton">
66
- <div class="fs-skeleton fs-skeleton-rect" style="height: 120px; margin-bottom: 12px;"></div>
67
- <div class="fs-skeleton fs-skeleton-text"></div>
68
- <div class="fs-skeleton fs-skeleton-text"></div>
69
- <div class="fs-skeleton fs-skeleton-text"></div>
70
- </div>
71
-
72
- <div class="card-skeleton">
73
- <p class="fs-u-fs-sm fs-u-fw-medium fs-u-mb-2">Variante wave</p>
74
- <div class="fs-skeleton fs-skeleton-rect fs-skeleton-wave" style="height: 60px; margin-bottom: 12px;"></div>
75
- <div class="fs-skeleton fs-skeleton-text fs-skeleton-wave"></div>
76
- <div class="fs-skeleton fs-skeleton-text fs-skeleton-wave"></div>
77
- </div>
78
- </div>
79
-
80
-
81
- </body>
82
- </html>
@@ -1,130 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="UTF-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>Mockup - Spinner & Progress</title>
7
-
8
- <!-- STYLES IMPORT -->
9
- <link rel="stylesheet" href="../../dist/css/fonts.css">
10
- <link rel="stylesheet" href="../../dist/css/components.css">
11
- <link rel="stylesheet" href="../../dist/css/helpers.css">
12
- <style>
13
- .theme-panel {
14
- padding: 24px;
15
- }
16
-
17
- html[data-theme="dark"] body {
18
- color: var(--fs-color-text);
19
- background-color: var(--fs-color-surface);
20
- }
21
-
22
- .fs-progress {
23
- max-width: 480px;
24
- }
25
-
26
- .spinner-row {
27
- display: flex;
28
- flex-wrap: wrap;
29
- gap: 12px;
30
- align-items: center;
31
- }
32
-
33
- .spinner-context {
34
- display: inline-flex;
35
- gap: 8px;
36
- align-items: center;
37
- color: var(--fs-color-muted);
38
- font-size: var(--fs-font-size-sm);
39
- }
40
- </style>
41
- <link rel="stylesheet" href="../assets/example-theme.css">
42
- <script src="../assets/example-theme.js"></script>
43
- </head>
44
- <body>
45
-
46
- <div class="theme-panel">
47
- <p class="fs-u-fs-sm fs-u-fw-medium fs-u-mt-3 fs-u-mb-1">Spinner - neutro e cores de estado</p>
48
- <div class="spinner-row">
49
- <span class="fs-spinner" role="status" aria-label="Carregando"></span>
50
- <span class="fs-spinner fs-spinner-primary" role="status" aria-label="Carregando"></span>
51
- <span class="fs-spinner fs-spinner-success" role="status" aria-label="Carregando"></span>
52
- <span class="fs-spinner fs-spinner-warning" role="status" aria-label="Carregando"></span>
53
- <span class="fs-spinner fs-spinner-danger" role="status" aria-label="Carregando"></span>
54
- <span class="fs-spinner fs-spinner-info" role="status" aria-label="Carregando"></span>
55
- </div>
56
-
57
- <p class="fs-u-fs-sm fs-u-fw-medium fs-u-mt-3 fs-u-mb-1">Spinner - tamanhos</p>
58
- <div class="spinner-row">
59
- <span class="fs-spinner fs-spinner-primary fs-spinner-sm" role="status" aria-label="Carregando"></span>
60
- <span class="fs-spinner fs-spinner-primary" role="status" aria-label="Carregando"></span>
61
- <span class="fs-spinner fs-spinner-primary fs-spinner-lg" role="status" aria-label="Carregando"></span>
62
- </div>
63
-
64
- <p class="fs-u-fs-sm fs-u-fw-medium fs-u-mt-3 fs-u-mb-1">Spinner - em contexto</p>
65
- <span class="spinner-context" role="status"><span class="fs-spinner fs-spinner-sm" aria-hidden="true"></span>Atualizando dados…</span>
66
-
67
- <p class="fs-u-fs-sm fs-u-fw-medium fs-u-mt-3 fs-u-mb-1">Progress - valores</p>
68
- <div class="fs-progress fs-u-mb-2" role="progressbar" aria-label="Progresso: 25%" aria-valuenow="25" aria-valuemin="0" aria-valuemax="100">
69
- <div class="fs-progress-bar" style="--fs-progress-value: 25"></div>
70
- </div>
71
- <div class="fs-progress fs-u-mb-2" role="progressbar" aria-label="Progresso: 50%" aria-valuenow="50" aria-valuemin="0" aria-valuemax="100">
72
- <div class="fs-progress-bar fs-progress-bar-success" style="--fs-progress-value: 50"></div>
73
- </div>
74
- <div class="fs-progress fs-u-mb-2" role="progressbar" aria-label="Progresso: 75%" aria-valuenow="75" aria-valuemin="0" aria-valuemax="100">
75
- <div class="fs-progress-bar fs-progress-bar-warning" style="--fs-progress-value: 75"></div>
76
- </div>
77
- <div class="fs-progress" role="progressbar" aria-label="Progresso: 100%" aria-valuenow="100" aria-valuemin="0" aria-valuemax="100">
78
- <div class="fs-progress-bar fs-progress-bar-danger" style="--fs-progress-value: 100"></div>
79
- </div>
80
-
81
- <p class="fs-u-fs-sm fs-u-fw-medium fs-u-mt-3 fs-u-mb-1">Progress - tamanhos</p>
82
- <div class="fs-progress fs-progress-sm fs-u-mb-2" role="progressbar" aria-label="Progresso: 60%" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100">
83
- <div class="fs-progress-bar fs-progress-bar-primary" style="--fs-progress-value: 60"></div>
84
- </div>
85
- <div class="fs-progress fs-u-mb-2" role="progressbar" aria-label="Progresso: 60%" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100">
86
- <div class="fs-progress-bar fs-progress-bar-primary" style="--fs-progress-value: 60"></div>
87
- </div>
88
- <div class="fs-progress fs-progress-lg" role="progressbar" aria-label="Progresso: 60%" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100">
89
- <div class="fs-progress-bar fs-progress-bar-primary" style="--fs-progress-value: 60">60%</div>
90
- </div>
91
-
92
- <p class="fs-u-fs-sm fs-u-fw-medium fs-u-mt-3 fs-u-mb-1">Progress - listrado e animado</p>
93
- <div class="fs-progress" role="progressbar" aria-label="Progresso: 70%" aria-valuenow="70" aria-valuemin="0" aria-valuemax="100">
94
- <div class="fs-progress-bar fs-progress-bar-primary fs-progress-bar-striped fs-progress-bar-animated" style="--fs-progress-value: 70"></div>
95
- </div>
96
-
97
- <p class="fs-u-fs-sm fs-u-fw-medium fs-u-mt-3 fs-u-mb-1">Progress - rótulo externo</p>
98
- <div class="fs-progress-meta"><span>Upload de anexos</span><span class="fs-progress-value">3 de 8 arquivos</span></div>
99
- <div class="fs-progress" role="progressbar" aria-label="Upload de anexos" aria-valuetext="3 de 8 arquivos enviados" aria-valuenow="38" aria-valuemin="0" aria-valuemax="100">
100
- <div class="fs-progress-bar" style="--fs-progress-value: 38"></div>
101
- </div>
102
-
103
- <p class="fs-u-fs-sm fs-u-fw-medium fs-u-mt-3 fs-u-mb-1">Progress - indeterminado</p>
104
- <div class="fs-progress fs-progress-indeterminate" role="progressbar" aria-label="Processando pagamento" aria-valuetext="Progresso indeterminado" aria-busy="true">
105
- <div class="fs-progress-bar"></div>
106
- </div>
107
-
108
- <p class="fs-u-fs-sm fs-u-fw-medium fs-u-mt-3 fs-u-mb-1">Progress - concluído e erro</p>
109
- <div class="fs-progress fs-progress-complete" role="progressbar" aria-label="Exportação concluída: 100%" aria-valuenow="100" aria-valuemin="0" aria-valuemax="100">
110
- <div class="fs-progress-bar" style="--fs-progress-value: 100"></div>
111
- </div>
112
- <span class="fs-progress-status"><span class="fs-progress-status-icon" aria-hidden="true"><svg class="fs-icon" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg></span>Exportação concluída</span>
113
- <div class="fs-progress fs-progress-error fs-u-mt-2" role="progressbar" aria-label="Envio interrompido: 62%" aria-valuenow="62" aria-valuemin="0" aria-valuemax="100">
114
- <div class="fs-progress-bar" style="--fs-progress-value: 62"></div>
115
- </div>
116
- <span class="fs-progress-status fs-progress-status-danger">Envio interrompido. Tente novamente.</span>
117
-
118
- <p class="fs-u-fs-sm fs-u-fw-medium fs-u-mt-3 fs-u-mb-1">Progress - meta e início perceptível</p>
119
- <div class="fs-progress-meta"><span>Meta mensal</span><span class="fs-progress-value">42% · meta: 70%</span></div>
120
- <div class="fs-progress" role="progressbar" aria-label="Meta mensal: 42%, meta de 70%" aria-valuenow="42" aria-valuemin="0" aria-valuemax="100">
121
- <div class="fs-progress-bar" style="--fs-progress-value: 42"></div><span class="fs-progress-marker" style="--fs-progress-marker-value: 70" aria-hidden="true"></span>
122
- </div>
123
- <div class="fs-progress-meta fs-u-mt-2"><span>Preparando upload</span><span class="fs-progress-value">1%</span></div>
124
- <div class="fs-progress fs-progress-minimum" role="progressbar" aria-label="Preparando upload: 1%" aria-valuenow="1" aria-valuemin="0" aria-valuemax="100">
125
- <div class="fs-progress-bar" style="--fs-progress-value: 1"></div>
126
- </div>
127
- </div>
128
-
129
- </body>
130
- </html>