blockforce-design-system 2.0.3 → 2.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (109) hide show
  1. package/MIGRATION.md +54 -49
  2. package/lib/ai/components.json +151 -5
  3. package/lib/ai/tokens.md +1 -1
  4. package/lib/commonjs/components/charts/chart-legend/chart-legend.comp.js +1 -1
  5. package/lib/commonjs/components/charts/chart-legend/chart-legend.comp.js.map +1 -1
  6. package/lib/commonjs/components/charts/chart-legend/chart-legend.styles.js +22 -15
  7. package/lib/commonjs/components/charts/chart-legend/chart-legend.styles.js.map +1 -1
  8. package/lib/commonjs/components/data-display/calendar/calendar.styles.js +14 -13
  9. package/lib/commonjs/components/data-display/calendar/calendar.styles.js.map +1 -1
  10. package/lib/commonjs/components/data-display/matrix/matrix.styles.js +22 -21
  11. package/lib/commonjs/components/data-display/matrix/matrix.styles.js.map +1 -1
  12. package/lib/commonjs/components/data-display/side-panel/side-panel.styles.js +11 -10
  13. package/lib/commonjs/components/data-display/side-panel/side-panel.styles.js.map +1 -1
  14. package/lib/commonjs/components/forms/autocomplete/autocomplete.styles.js +8 -21
  15. package/lib/commonjs/components/forms/autocomplete/autocomplete.styles.js.map +1 -1
  16. package/lib/commonjs/components/icons/icon-box/icon-box.comp.js +1 -1
  17. package/lib/commonjs/components/icons/icon-box/icon-box.comp.js.map +1 -1
  18. package/lib/commonjs/components/icons/icon-box/icon-box.styles.js +7 -4
  19. package/lib/commonjs/components/icons/icon-box/icon-box.styles.js.map +1 -1
  20. package/lib/commonjs/components/layout/card/card.styles.js +3 -52
  21. package/lib/commonjs/components/layout/card/card.styles.js.map +1 -1
  22. package/lib/commonjs/components/layout/drawer/drawer.styles.js +7 -5
  23. package/lib/commonjs/components/layout/drawer/drawer.styles.js.map +1 -1
  24. package/lib/commonjs/components/layout/modal/modal.styles.js +7 -18
  25. package/lib/commonjs/components/layout/modal/modal.styles.js.map +1 -1
  26. package/lib/commonjs/components/layout/popover/popover.styles.js +3 -2
  27. package/lib/commonjs/components/layout/popover/popover.styles.js.map +1 -1
  28. package/lib/commonjs/components/layout/slider/slider.styles.js +5 -26
  29. package/lib/commonjs/components/layout/slider/slider.styles.js.map +1 -1
  30. package/lib/commonjs/components/layout/table/table.comp.js +1 -1
  31. package/lib/commonjs/components/layout/table/table.comp.js.map +1 -1
  32. package/lib/commonjs/components/layout/table/table.styles.js +18 -17
  33. package/lib/commonjs/components/layout/table/table.styles.js.map +1 -1
  34. package/lib/commonjs/components/layout/table-head/table-head.comp.js +1 -1
  35. package/lib/commonjs/components/layout/table-head/table-head.comp.js.map +1 -1
  36. package/lib/commonjs/components/layout/table-head/table-head.styles.js +1 -1
  37. package/lib/commonjs/components/layout/table-head/table-head.styles.js.map +1 -1
  38. package/lib/commonjs/components/layout/table-row/table-row.comp.js +1 -1
  39. package/lib/commonjs/components/layout/table-row/table-row.comp.js.map +1 -1
  40. package/lib/commonjs/components/navigation/navigation-card/navigation-card.comp.js +2 -0
  41. package/lib/commonjs/components/navigation/navigation-card/navigation-card.comp.js.map +1 -0
  42. package/lib/commonjs/components/navigation/navigation-card/navigation-card.styles.js +47 -0
  43. package/lib/commonjs/components/navigation/navigation-card/navigation-card.styles.js.map +1 -0
  44. package/lib/commonjs/components/navigation/navigation-card/navigation-cards.comp.js +2 -0
  45. package/lib/commonjs/components/navigation/navigation-card/navigation-cards.comp.js.map +1 -0
  46. package/lib/commonjs/components/navigation/navigation-sections/navigation-sections.comp.js +2 -0
  47. package/lib/commonjs/components/navigation/navigation-sections/navigation-sections.comp.js.map +1 -0
  48. package/lib/commonjs/components/navigation/navigation-sections/navigation-sections.styles.js +91 -0
  49. package/lib/commonjs/components/navigation/navigation-sections/navigation-sections.styles.js.map +1 -0
  50. package/lib/commonjs/index.js +1 -1
  51. package/lib/commonjs/theme/gradient-border.js +51 -0
  52. package/lib/commonjs/theme/gradient-border.js.map +1 -0
  53. package/lib/commonjs/theme/scrollbar.js +39 -0
  54. package/lib/commonjs/theme/scrollbar.js.map +1 -0
  55. package/lib/index.d.ts +168 -4
  56. package/lib/module/components/charts/chart-legend/chart-legend.comp.js +1 -1
  57. package/lib/module/components/charts/chart-legend/chart-legend.comp.js.map +1 -1
  58. package/lib/module/components/charts/chart-legend/chart-legend.styles.js +21 -14
  59. package/lib/module/components/charts/chart-legend/chart-legend.styles.js.map +1 -1
  60. package/lib/module/components/data-display/calendar/calendar.styles.js +17 -16
  61. package/lib/module/components/data-display/calendar/calendar.styles.js.map +1 -1
  62. package/lib/module/components/data-display/matrix/matrix.styles.js +20 -19
  63. package/lib/module/components/data-display/matrix/matrix.styles.js.map +1 -1
  64. package/lib/module/components/data-display/side-panel/side-panel.styles.js +10 -9
  65. package/lib/module/components/data-display/side-panel/side-panel.styles.js.map +1 -1
  66. package/lib/module/components/forms/autocomplete/autocomplete.styles.js +8 -21
  67. package/lib/module/components/forms/autocomplete/autocomplete.styles.js.map +1 -1
  68. package/lib/module/components/icons/icon-box/icon-box.comp.js +1 -1
  69. package/lib/module/components/icons/icon-box/icon-box.comp.js.map +1 -1
  70. package/lib/module/components/icons/icon-box/icon-box.styles.js +7 -4
  71. package/lib/module/components/icons/icon-box/icon-box.styles.js.map +1 -1
  72. package/lib/module/components/layout/card/card.styles.js +3 -52
  73. package/lib/module/components/layout/card/card.styles.js.map +1 -1
  74. package/lib/module/components/layout/drawer/drawer.styles.js +7 -5
  75. package/lib/module/components/layout/drawer/drawer.styles.js.map +1 -1
  76. package/lib/module/components/layout/modal/modal.styles.js +7 -18
  77. package/lib/module/components/layout/modal/modal.styles.js.map +1 -1
  78. package/lib/module/components/layout/popover/popover.styles.js +2 -1
  79. package/lib/module/components/layout/popover/popover.styles.js.map +1 -1
  80. package/lib/module/components/layout/slider/slider.styles.js +5 -26
  81. package/lib/module/components/layout/slider/slider.styles.js.map +1 -1
  82. package/lib/module/components/layout/table/table.comp.js +1 -1
  83. package/lib/module/components/layout/table/table.comp.js.map +1 -1
  84. package/lib/module/components/layout/table/table.styles.js +9 -8
  85. package/lib/module/components/layout/table/table.styles.js.map +1 -1
  86. package/lib/module/components/layout/table-head/table-head.comp.js +1 -1
  87. package/lib/module/components/layout/table-head/table-head.comp.js.map +1 -1
  88. package/lib/module/components/layout/table-head/table-head.styles.js +1 -1
  89. package/lib/module/components/layout/table-head/table-head.styles.js.map +1 -1
  90. package/lib/module/components/layout/table-row/table-row.comp.js +1 -1
  91. package/lib/module/components/layout/table-row/table-row.comp.js.map +1 -1
  92. package/lib/module/components/navigation/navigation-card/navigation-card.comp.js +2 -0
  93. package/lib/module/components/navigation/navigation-card/navigation-card.comp.js.map +1 -0
  94. package/lib/module/components/navigation/navigation-card/navigation-card.styles.js +47 -0
  95. package/lib/module/components/navigation/navigation-card/navigation-card.styles.js.map +1 -0
  96. package/lib/module/components/navigation/navigation-card/navigation-cards.comp.js +2 -0
  97. package/lib/module/components/navigation/navigation-card/navigation-cards.comp.js.map +1 -0
  98. package/lib/module/components/navigation/navigation-sections/navigation-sections.comp.js +2 -0
  99. package/lib/module/components/navigation/navigation-sections/navigation-sections.comp.js.map +1 -0
  100. package/lib/module/components/navigation/navigation-sections/navigation-sections.styles.js +91 -0
  101. package/lib/module/components/navigation/navigation-sections/navigation-sections.styles.js.map +1 -0
  102. package/lib/module/index.js +1 -1
  103. package/lib/module/theme/gradient-border.js +51 -0
  104. package/lib/module/theme/gradient-border.js.map +1 -0
  105. package/lib/module/theme/scrollbar.js +39 -0
  106. package/lib/module/theme/scrollbar.js.map +1 -0
  107. package/llms-full.txt +105 -2
  108. package/llms.txt +15 -2
  109. package/package.json +1 -1
package/MIGRATION.md CHANGED
@@ -57,36 +57,38 @@ Em cada par, o nome antigo e o novo apontam para o mesmo componente. Um teste co
57
57
 
58
58
  ### 3.2 Novos
59
59
 
60
- | Componente | Para que serve |
61
- | -------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- |
62
- | `IconButton` | Botão só com ícone. O `label` é obrigatório e vira o nome acessível. |
63
- | `RadioGroup` | Uma escolha entre poucas opções visíveis. |
64
- | `SearchInput` | Busca com lupa, `debounce` e botão de limpar. |
65
- | `DatePicker`, `DateRangePicker` | Uma data, ou um período com atalhos. O valor é `YYYY-MM-DD`. |
66
- | `Tag` | Etiqueta curta de status ou categoria. Tem `loading`, ícones e gradiente. |
67
- | `Toast` + `ToastProvider` + `useToast()` | Aviso rápido: `toast.success/error/warning/info(msg, { duration?, closable? })`. |
68
- | `Alert` | Aviso fixo na página. |
69
- | `EmptyState` | Área vazia, carregando ou com erro (`state`). |
70
- | `ProgressBar` | Quanto de uma tarefa já foi feito. |
71
- | `Skeleton` | Forma do conteúdo enquanto carrega. |
72
- | `ConfirmDialog` + `ConfirmDialogProvider` + `useConfirm()` | Confirmação antes de uma ação importante, com motivo opcional. |
73
- | `ActionMenu` | Menu de ações de um item. |
74
- | `Breadcrumb` | Caminho de navegação. |
75
- | `Stepper` | Passos de um fluxo longo. |
76
- | `ViewToggle` | Troca de visão do mesmo conteúdo (lista ou árvore, por exemplo). |
77
- | `Card` | Superfície de um bloco (`elevated`, `outlined` ou `subtle`), com borda em gradiente opcional, que pode ser animada. |
78
- | `StatCard` | Indicador de dashboard. |
79
- | `TitleCard` | Cabeçalho de card. |
80
- | `Divider` | Linha que separa blocos. |
81
- | `Calendar` | Mês com eventos por dia. |
82
- | `Matrix` | Grade de linhas × colunas: riscos, materialidade, status. |
83
- | `InfoItem` | Par rótulo e valor. |
84
- | `TintedSection` | Seção com fundo tingido na cor do tema. |
85
- | `TreeNode` (`.Title`, `.Caption`) | Nó da árvore de rastreabilidade. Com `onClick`, exige `aria-label`. |
86
- | `CanvasPanel`, `CanvasButton`, `DirectionToggle`, `FullscreenToggle` | Barra de ferramentas do canvas da árvore. |
87
- | `SidePanel` + `SelectableItem` | Lista lateral recolhível, com busca e item selecionado. |
88
- | `ChartLegend` | Legenda de gráfico. |
89
- | `IconBox` | Ícone dentro de uma caixinha. |
60
+ | Componente | Para que serve |
61
+ | -------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- |
62
+ | `IconButton` | Botão só com ícone. O `label` é obrigatório e vira o nome acessível. |
63
+ | `RadioGroup` | Uma escolha entre poucas opções visíveis. |
64
+ | `SearchInput` | Busca com lupa, `debounce` e botão de limpar. |
65
+ | `DatePicker`, `DateRangePicker` | Uma data, ou um período com atalhos. O valor é `YYYY-MM-DD`. |
66
+ | `Tag` | Etiqueta curta de status ou categoria. Tem `loading`, ícones e gradiente. |
67
+ | `Toast` + `ToastProvider` + `useToast()` | Aviso rápido: `toast.success/error/warning/info(msg, { duration?, closable? })`. |
68
+ | `Alert` | Aviso fixo na página. |
69
+ | `EmptyState` | Área vazia, carregando ou com erro (`state`). |
70
+ | `ProgressBar` | Quanto de uma tarefa já foi feito. |
71
+ | `Skeleton` | Forma do conteúdo enquanto carrega. |
72
+ | `ConfirmDialog` + `ConfirmDialogProvider` + `useConfirm()` | Confirmação antes de uma ação importante, com motivo opcional. |
73
+ | `ActionMenu` | Menu de ações de um item. |
74
+ | `Breadcrumb` | Caminho de navegação. |
75
+ | `Stepper` | Passos de um fluxo longo. |
76
+ | `ViewToggle` | Troca de visão do mesmo conteúdo (lista ou árvore, por exemplo). |
77
+ | `NavigationCard`, `NavigationCards` | Atalhos em card no topo de uma dash, para poucos atalhos (até uns cinco). |
78
+ | `NavigationSections` | Painel de atalhos agrupados em seções, para módulos com muitas telas. |
79
+ | `Card` | Superfície de um bloco (`elevated`, `outlined` ou `subtle`), com borda em gradiente opcional, que pode ser animada. |
80
+ | `StatCard` | Indicador de dashboard. |
81
+ | `TitleCard` | Cabeçalho de card. |
82
+ | `Divider` | Linha que separa blocos. |
83
+ | `Calendar` | Mês com eventos por dia. |
84
+ | `Matrix` | Grade de linhas × colunas: riscos, materialidade, status. |
85
+ | `InfoItem` | Par rótulo e valor. |
86
+ | `TintedSection` | Seção com fundo tingido na cor do tema. |
87
+ | `TreeNode` (`.Title`, `.Caption`) | Nó da árvore de rastreabilidade. Com `onClick`, exige `aria-label`. |
88
+ | `CanvasPanel`, `CanvasButton`, `DirectionToggle`, `FullscreenToggle` | Barra de ferramentas do canvas da árvore. |
89
+ | `SidePanel` + `SelectableItem` | Lista lateral recolhível, com busca e item selecionado. |
90
+ | `ChartLegend` | Legenda de gráfico. `variant="square"` é a das roscas das dashboards: quadradinho e "Nome: valor". |
91
+ | `IconBox` | Ícone dentro de uma caixinha. `shape="circle"` e `gradientBorder` (fixa ou `"animated"`) para o ícone de agente de IA. |
90
92
 
91
93
  **Hooks novos:**
92
94
 
@@ -321,13 +323,15 @@ O `legacyTheme` mantém todos os valores da v1.
321
323
 
322
324
  **Novos:**
323
325
 
324
- | Utilitário | O que faz |
325
- | ----------------------------------------------------------------- | ----------------------------------------------------------- |
326
- | `defaultTheme`, `GlobalStyle`, `tokens` | Agora exportados. |
327
- | `media.up/down` | Breakpoints para usar em styled-components. |
328
- | `getChartColors(theme)`, `CHART_COLOR_ORDER`, `CHART_OTHER_COLOR` | Paleta de gráfico: 7 séries, mais o cinza de "outros". |
329
- | `getContrastRatio`, `getReadableTextColor`, `mixColors` | Contraste e mistura de cores. |
330
- | `createClientTheme` | Monta o tema de cliente. Só aceita hex `#RGB` ou `#RRGGBB`. |
326
+ | Utilitário | O que faz |
327
+ | ----------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- |
328
+ | `defaultTheme`, `GlobalStyle`, `tokens` | Agora exportados. |
329
+ | `media.up/down` | Breakpoints para usar em styled-components. |
330
+ | `getChartColors(theme)`, `CHART_COLOR_ORDER`, `CHART_OTHER_COLOR` | Paleta de gráfico: 7 séries, mais o cinza de "outros". |
331
+ | `getContrastRatio`, `getReadableTextColor`, `mixColors` | Contraste e mistura de cores. |
332
+ | `createClientTheme` | Monta o tema de cliente. Só aceita hex `#RGB` ou `#RRGGBB`. |
333
+ | `thinScrollbar`, `thinScrollbarOnHover` | Barra de rolagem fina (4px, `grey_4`) para usar em styled-components, a mesma das peças do DS. A segunda só aparece com o mouse em cima. |
334
+ | `gradientBorder({ animated, width, radius, theme })` | Borda no gradiente da marca, fixa ou girando, a mesma do `Card` e do `IconBox`. |
331
335
 
332
336
  **Corrigidos:**
333
337
 
@@ -361,18 +365,19 @@ Use para landing, slides, vídeos e HTML sem React.
361
365
 
362
366
  ### 6.1 O que muda sem mudar código
363
367
 
364
- | Onde | O que acontece | Como lidar |
365
- | ---------------------------------------------------------- | ------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- |
366
- | Button `contained` sem `backgroundColor` | O fundo vai de `secondary` para `primary`. | Passe `backgroundColor="secondary"` onde quiser manter. |
367
- | Button `loading` | Não fica mais `disabled`. | Testes com `toBeDisabled()` precisam olhar `aria-busy`. |
368
- | Fonte do tema padrão | Passa de Rubik para Inter. Sem carregar a Inter, cai na fonte do sistema. | Carregue a Inter no `index.html`, ou use `createTheme` com `typography.fontFamily` em Rubik para manter. |
369
- | Spinner sem `variant` | Vira arco fino. | Use `variant="classic"` para o anel da v1. |
370
- | Campos com `state="success"` ou `"warning"` | A borda não muda de cor. | Use `borderColor`, se precisar. |
371
- | Foco dos campos, Switch, Avatar, MonthPicker, FileDropzone | Visual novo. | Nada. |
372
- | Tabs do DS | Sempre pílula. | Nada. |
373
- | `grey_6` e sombras | Novos valores (4.3). | Nada. |
374
- | Modal (z-index 1200) | Listas próprias com z-index 1000 ficam atrás dele. | Suba essas listas para `theme.zIndex.dropdown` (1300). |
375
- | Estilos do projeto que sobrescrevem estilos internos do DS | Podem ganhar ou perder pela ordem de carregamento dos estilos. | Revise as telas. O DoughnutChart foi um caso real, já corrigido. |
368
+ | Onde | O que acontece | Como lidar |
369
+ | ------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- |
370
+ | Button `contained` sem `backgroundColor` | O fundo vai de `secondary` para `primary`. | Passe `backgroundColor="secondary"` onde quiser manter. |
371
+ | Button `loading` | Não fica mais `disabled`. | Testes com `toBeDisabled()` precisam olhar `aria-busy`. |
372
+ | Fonte do tema padrão | Passa de Rubik para Inter. Sem carregar a Inter, cai na fonte do sistema. | Carregue a Inter no `index.html`, ou use `createTheme` com `typography.fontFamily` em Rubik para manter. |
373
+ | Spinner sem `variant` | Vira arco fino. | Use `variant="classic"` para o anel da v1. |
374
+ | Campos com `state="success"` ou `"warning"` | A borda não muda de cor. | Use `borderColor`, se precisar. |
375
+ | Foco dos campos, Switch, Avatar, MonthPicker, FileDropzone | Visual novo. | Nada. |
376
+ | Tabs do DS | Sempre pílula. | Nada. |
377
+ | `grey_6` e sombras | Novos valores (4.3). | Nada. |
378
+ | Modal (z-index 1200) | Listas próprias com z-index 1000 ficam atrás dele. | Suba essas listas para `theme.zIndex.dropdown` (1300). |
379
+ | Estilos do projeto que sobrescrevem estilos internos do DS | Podem ganhar ou perder pela ordem de carregamento dos estilos. | Revise as telas. O DoughnutChart foi um caso real, já corrigido. |
380
+ | Barra de rolagem de Modal, Autocomplete, Carousel, Drawer, Popover, Table, Calendar, SidePanel e Matrix | Fica fina (4px), com polegar `grey_4` e trilho transparente. No Carousel continua aparecendo só no hover. | Nada. Para a mesma barra nas telas do projeto, use `thinScrollbar`. |
376
381
 
377
382
  ### 6.2 Compatibilidades adicionadas
378
383
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "blockforce-design-system",
3
- "version": "2.0.2",
3
+ "version": "2.0.4",
4
4
  "storybook": "https://designsystem.blockforce.ai",
5
5
  "components": [
6
6
  {
@@ -4308,9 +4308,10 @@
4308
4308
  {
4309
4309
  "name": "ChartLegend",
4310
4310
  "group": "Gráficos",
4311
- "description": "Legenda de gráfico: bolinha na cor da série, nome e valor opcional.\nUse ao lado ou abaixo de qualquer gráfico; o DoughnutChart já monta a dele com a prop `legend`.",
4311
+ "description": "Legenda de gráfico: bolinha na cor da série, nome e valor opcional.\nUse ao lado ou abaixo de qualquer gráfico; o DoughnutChart já monta a dele com a prop `legend`.\n`variant=\"square\"` é a legenda das roscas das dashboards: quadradinho e \"Nome: valor\".",
4312
4312
  "examples": [
4313
- "<ChartLegend items={[{ label: 'Aprovados', color: 'success', value: '60%' }]} />"
4313
+ "<ChartLegend items={[{ label: 'Aprovados', color: 'success', value: '60%' }]} />",
4314
+ "<ChartLegend variant=\"square\" direction=\"column\" items={[{ label: 'Pendentes', color: 'chart.purple', value: 850 }]} />"
4314
4315
  ],
4315
4316
  "aliases": [],
4316
4317
  "docs": "https://designsystem.blockforce.ai/?path=/docs/gráficos-chartlegend--docs",
@@ -4334,6 +4335,18 @@
4334
4335
  "default": "row",
4335
4336
  "description": "`row`: itens lado a lado, quebrando linha. `column`: um por linha, com o valor alinhado à direita.",
4336
4337
  "deprecated": null
4338
+ },
4339
+ {
4340
+ "name": "variant",
4341
+ "type": "ChartLegendVariant",
4342
+ "values": [
4343
+ "square",
4344
+ "dot"
4345
+ ],
4346
+ "required": false,
4347
+ "default": "dot",
4348
+ "description": "Visual da legenda.\n- `dot`: bolinha, nome e valor em destaque (à direita no `column`).\n- `square`: quadradinho e \"Nome: valor\" na mesma linha, em texto pequeno. É o das roscas das\n dashboards da plataforma (cards por status).",
4349
+ "deprecated": null
4337
4350
  }
4338
4351
  ]
4339
4352
  },
@@ -4693,9 +4706,10 @@
4693
4706
  {
4694
4707
  "name": "IconBox",
4695
4708
  "group": "Imagens e ícones",
4696
- "description": "Ícone dentro de uma caixinha com borda e sombra leve. É o ícone dos títulos de card e dos números\ndas dashboards. Sem `color`, o ícone vem no gradiente da marca.\nUse para identificar um bloco; não use como botão (use IconButton).",
4709
+ "description": "Ícone dentro de uma caixinha com borda e sombra leve. É o ícone dos títulos de card e dos números\ndas dashboards. Sem `color`, o ícone vem no gradiente da marca.\n`shape=\"circle\"` com `gradientBorder=\"animated\"` é o ícone de um agente de IA ao lado do nome dele.\nUse para identificar um bloco; não use como botão (use IconButton).",
4697
4710
  "examples": [
4698
- "<IconBox icon=\"file_list3\" />"
4711
+ "<IconBox icon=\"file_list3\" />",
4712
+ "<IconBox icon=\"robot2\" shape=\"circle\" gradientBorder=\"animated\" />"
4699
4713
  ],
4700
4714
  "aliases": [],
4701
4715
  "docs": "https://designsystem.blockforce.ai/?path=/docs/imagens-e-ícones-iconbox--docs",
@@ -4718,6 +4732,26 @@
4718
4732
  "description": "Cor do ícone (token do tema). Sem ela, o ícone usa o gradiente da marca.",
4719
4733
  "deprecated": null
4720
4734
  },
4735
+ {
4736
+ "name": "gradientBorder",
4737
+ "type": "boolean | \"animated\"",
4738
+ "required": false,
4739
+ "default": null,
4740
+ "description": "Borda no gradiente da marca, como no Card.\n- `true`: borda fixa (1px), para destacar.\n- `'animated'`: borda (2px) com as cores da marca girando devagar, para algo vivo ou em\n andamento (um agente trabalhando). Use um por tela; quem pediu menos movimento no sistema vê\n a borda parada.",
4741
+ "deprecated": null
4742
+ },
4743
+ {
4744
+ "name": "shape",
4745
+ "type": "IconBoxShape",
4746
+ "values": [
4747
+ "circle",
4748
+ "square"
4749
+ ],
4750
+ "required": false,
4751
+ "default": "square",
4752
+ "description": "Formato da caixa. `square` é o dos títulos de card e números; `circle` é para quem age\n(agente de IA, assistente), ao lado de um nome.",
4753
+ "deprecated": null
4754
+ },
4721
4755
  {
4722
4756
  "name": "size",
4723
4757
  "type": "number",
@@ -5446,6 +5480,99 @@
5446
5480
  }
5447
5481
  ]
5448
5482
  },
5483
+ {
5484
+ "name": "NavigationCard",
5485
+ "group": "Navegação",
5486
+ "description": "Atalho para outra tela, em card: ícone no círculo, título e descrição centralizados e a seta\nno canto. Use em linha, com poucos atalhos (até uns cinco), pelo NavigationCards.\nPara muitos atalhos ou atalhos em grupos, use NavigationSections; para link no meio do texto, TextLink.",
5487
+ "examples": [
5488
+ "<NavigationCard icon=\"barcode_box\" title=\"Produtos\" description=\"Total de produtos cadastrados\" onClick={goToProducts} />"
5489
+ ],
5490
+ "aliases": [],
5491
+ "docs": "https://designsystem.blockforce.ai/?path=/docs/navegação-navigationcard--docs",
5492
+ "props": [
5493
+ {
5494
+ "name": "description",
5495
+ "type": "string",
5496
+ "required": true,
5497
+ "default": null,
5498
+ "description": "Uma frase sobre o que a pessoa encontra lá.",
5499
+ "deprecated": null
5500
+ },
5501
+ {
5502
+ "name": "icon",
5503
+ "type": "IconsName",
5504
+ "valuesIn": "lib/ai/icons.txt",
5505
+ "required": true,
5506
+ "default": null,
5507
+ "description": "Ícone do atalho, em gradiente dentro de um círculo.",
5508
+ "deprecated": null
5509
+ },
5510
+ {
5511
+ "name": "title",
5512
+ "type": "string",
5513
+ "required": true,
5514
+ "default": null,
5515
+ "description": "Nome da tela para onde o atalho leva (ex. \"Produtos\").",
5516
+ "deprecated": null
5517
+ },
5518
+ {
5519
+ "name": "data-testid",
5520
+ "type": "string",
5521
+ "required": false,
5522
+ "default": "'navigation-card'",
5523
+ "description": "`data-testid` do card, para testes.",
5524
+ "deprecated": null
5525
+ },
5526
+ {
5527
+ "name": "onClick",
5528
+ "type": "(() => void)",
5529
+ "required": false,
5530
+ "default": null,
5531
+ "description": "Chamado ao clicar ou apertar Enter/Espaço. Sem ele, o card é só ilustração e não recebe foco.",
5532
+ "deprecated": null
5533
+ }
5534
+ ]
5535
+ },
5536
+ {
5537
+ "name": "NavigationCards",
5538
+ "group": "Navegação",
5539
+ "description": "Linha de atalhos em card (NavigationCard) no topo de uma dashboard. Os cards dividem a\nlargura e descem para a linha de baixo quando não cabem (mínimo de 220px cada).\nUse com poucos atalhos (até uns cinco); para muitos ou em grupos, use NavigationSections.",
5540
+ "examples": [
5541
+ "<NavigationCards\n items={[\n { key: 'products', icon: 'barcode_box', title: 'Produtos', description: 'Total de produtos cadastrados' },\n { key: 'orders', icon: 'checkbox_circle', title: 'Pedidos de compra', description: 'Registre e acompanhe pedidos' },\n ]}\n/>"
5542
+ ],
5543
+ "aliases": [],
5544
+ "docs": "https://designsystem.blockforce.ai/?path=/docs/navegação-navigationcards--docs",
5545
+ "props": [
5546
+ {
5547
+ "name": "items",
5548
+ "type": "NavigationCardsItem[]",
5549
+ "required": true,
5550
+ "default": null,
5551
+ "description": "Atalhos, na ordem em que aparecem (até uns cinco).",
5552
+ "deprecated": null
5553
+ }
5554
+ ]
5555
+ },
5556
+ {
5557
+ "name": "NavigationSections",
5558
+ "group": "Navegação",
5559
+ "description": "Painel de atalhos agrupados em seções, para o topo de módulos com muitas telas (Compliance,\nRelatórios). Cada atalho é uma linha com ícone em caixa, título, descrição de até duas\nlinhas e seta. Para poucos atalhos soltos (até uns cinco), use NavigationCards.",
5560
+ "examples": [
5561
+ "<NavigationSections\n sections={[\n {\n key: 'register',\n icon: 'file_list',\n title: 'Cadastro & Configuração',\n items: [{ key: 'providers', icon: 'user_community', title: 'Fornecedores', description: 'Gerencie e monitore seus fornecedores', onClick: goToProviders }],\n },\n ]}\n/>"
5562
+ ],
5563
+ "aliases": [],
5564
+ "docs": "https://designsystem.blockforce.ai/?path=/docs/navegação-navigationsections--docs",
5565
+ "props": [
5566
+ {
5567
+ "name": "sections",
5568
+ "type": "NavigationSection[]",
5569
+ "required": true,
5570
+ "default": null,
5571
+ "description": "Seções, de cima para baixo. Seção sem atalho não aparece.",
5572
+ "deprecated": null
5573
+ }
5574
+ ]
5575
+ },
5449
5576
  {
5450
5577
  "name": "Stepper",
5451
5578
  "group": "Navegação",
@@ -6362,6 +6489,13 @@
6362
6489
  "description": "Tema padrão Blockforce. Montado a partir dos tokens; para mudar um valor, edite `tokens/*.tokens.json`.",
6363
6490
  "examples": []
6364
6491
  },
6492
+ {
6493
+ "name": "gradientBorder",
6494
+ "description": "Borda no gradiente da marca (45°, roxo → teal), fixa ou girando. Fundo branco por dentro.\nÉ a borda do `Card` com `gradientBorder` e do `IconBox` com `gradientBorder`.\nA animada gira só uma camada com `transform`, sem repintar o conteúdo.",
6495
+ "examples": [
6496
+ "const Box = styled.div`\n ${({ theme }) => gradientBorder({ animated: true, width: 2, radius: theme.radius.full, theme })}\n`"
6497
+ ]
6498
+ },
6365
6499
  {
6366
6500
  "name": "breakpointValues",
6367
6501
  "description": "Larguras de tela em pixels, como número.",
@@ -6374,6 +6508,18 @@
6374
6508
  "const Grid = styled.div`\n grid-template-columns: repeat(3, 1fr);\n ${media.down('md')} { grid-template-columns: 1fr; }\n`"
6375
6509
  ]
6376
6510
  },
6511
+ {
6512
+ "name": "thinScrollbar",
6513
+ "description": "Barra de rolagem fina, a mesma em toda área que rola (regra de ouro 12): 4px, polegar\n`grey_4` (`grey_3` no hover), trilho transparente e raio `full`. Use dentro do styled de\nqualquer contêiner com `overflow: auto`, em vez de escrever `::-webkit-scrollbar`.",
6514
+ "examples": [
6515
+ "const List = styled.ul`\n overflow-y: auto;\n ${thinScrollbar}\n`"
6516
+ ]
6517
+ },
6518
+ {
6519
+ "name": "thinScrollbarOnHover",
6520
+ "description": "Barra fina que só aparece com o mouse em cima, para faixas que rolam de lado (ex. Carousel).\nNo celular, sem hover, a rolagem continua pelo toque.",
6521
+ "examples": []
6522
+ },
6377
6523
  {
6378
6524
  "name": "getThemeColor",
6379
6525
  "description": "Resolve um nome de cor do tema para o valor CSS.\nAceita nomes (`primary`, `success`, `grey_3`), caminhos com ponto (`brand.gradient`, `stateSubtle.error`)\ne, se não achar no tema, devolve o valor como veio (ex. `transparent`).",
package/lib/ai/tokens.md CHANGED
@@ -1,4 +1,4 @@
1
- # Tokens do Blockforce Design System 2.0.2
1
+ # Tokens do Blockforce Design System 2.0.4
2
2
 
3
3
  Gerado de `src/theme` e `tokens/*.tokens.json`. Use sempre o token, nunca o valor solto.
4
4
 
@@ -1,2 +1,2 @@
1
- "use strict";var e=require("react/jsx-runtime"),r=require("./chart-legend.styles.js");exports.ChartLegend=({items:i,direction:t="row"})=>e.jsx(r.List,{$direction:t,"data-testid":"chart-legend",children:i.map((i=>e.jsxs(r.Item,{$direction:t,children:[e.jsx(r.Dot,{$color:i.color,"aria-hidden":"true"}),e.jsx(r.Label,{title:i.label,children:i.label}),void 0!==i.value&&e.jsx(r.Value,{$direction:t,children:i.value})]},i.label)))});
1
+ "use strict";var e=require("react/jsx-runtime"),r=require("./chart-legend.styles.js");exports.ChartLegend=({items:a,direction:l="row",variant:i="dot"})=>e.jsx(r.List,{$direction:l,$variant:i,"data-testid":"chart-legend",children:a.map((a=>e.jsxs(r.Item,{$variant:i,children:[e.jsx(r.Marker,{$color:a.color,$variant:i,"aria-hidden":"true"}),"square"===i?e.jsxs(r.Label,{title:a.label,children:[a.label,void 0!==a.value&&e.jsxs(e.Fragment,{children:[": ",a.value]})]}):e.jsxs(e.Fragment,{children:[e.jsx(r.Label,{title:a.label,children:a.label}),void 0!==a.value&&e.jsx(r.Value,{$direction:l,children:a.value})]})]},a.label)))});
2
2
  //# sourceMappingURL=chart-legend.comp.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"chart-legend.comp.js","sources":["../../../../../src/components/charts/chart-legend/chart-legend.comp.tsx"],"sourcesContent":["import { ChartLegendProps } from './chart-legend.types'\n\nimport * as Styles from './chart-legend.styles'\n\n/**\n * Legenda de gráfico: bolinha na cor da série, nome e valor opcional.\n * Use ao lado ou abaixo de qualquer gráfico; o DoughnutChart já monta a dele com a prop `legend`.\n * @example <ChartLegend items={[{ label: 'Aprovados', color: 'success', value: '60%' }]} />\n */\nexport const ChartLegend = ({ items, direction = 'row' }: ChartLegendProps) => (\n <Styles.List $direction={direction} data-testid=\"chart-legend\">\n {items.map((item) => (\n <Styles.Item key={item.label} $direction={direction}>\n <Styles.Dot $color={item.color} aria-hidden=\"true\" />\n <Styles.Label title={item.label}>{item.label}</Styles.Label>\n {item.value !== undefined && (\n <Styles.Value $direction={direction}>{item.value}</Styles.Value>\n )}\n </Styles.Item>\n ))}\n </Styles.List>\n)\n"],"names":["ChartLegend","items","direction","_jsx","Styles","$direction","children","map","item","_jsxs","$color","color","jsx","title","label","undefined","value"],"mappings":"0GAS2BA,EAAGC,QAAOC,YAAY,SAC/CC,EAAAA,IAACC,EAAAA,KAAW,CAAAC,WAAaH,EAAS,cAAc,eAC7CI,SAAAL,EAAMM,KAAKC,GACVC,EAAAA,KAACL,EAAAA,iBAAyCF,EAASI,SAAA,CACjDH,MAACC,MAAU,CAAAM,OAASF,EAAKG,MAAmB,cAAA,SAC5CR,EAAAS,IAACR,SAAaS,MAAOL,EAAKM,eAAQN,EAAKM,aACvBC,IAAfP,EAAKQ,OACJb,EAAAA,IAACC,EAAAA,MAAyB,CAAAC,WAAAH,EAAYI,SAAAE,EAAKQ,UAJ7BR,EAAKM"}
1
+ {"version":3,"file":"chart-legend.comp.js","sources":["../../../../../src/components/charts/chart-legend/chart-legend.comp.tsx"],"sourcesContent":["import { ChartLegendProps } from './chart-legend.types'\n\nimport * as Styles from './chart-legend.styles'\n\n/**\n * Legenda de gráfico: bolinha na cor da série, nome e valor opcional.\n * Use ao lado ou abaixo de qualquer gráfico; o DoughnutChart já monta a dele com a prop `legend`.\n * `variant=\"square\"` é a legenda das roscas das dashboards: quadradinho e \"Nome: valor\".\n * @example <ChartLegend items={[{ label: 'Aprovados', color: 'success', value: '60%' }]} />\n * @example <ChartLegend variant=\"square\" direction=\"column\" items={[{ label: 'Pendentes', color: 'chart.purple', value: 850 }]} />\n */\nexport const ChartLegend = ({\n items,\n direction = 'row',\n variant = 'dot',\n}: ChartLegendProps) => (\n <Styles.List\n $direction={direction}\n $variant={variant}\n data-testid=\"chart-legend\"\n >\n {items.map((item) => (\n <Styles.Item key={item.label} $variant={variant}>\n <Styles.Marker\n $color={item.color}\n $variant={variant}\n aria-hidden=\"true\"\n />\n {variant === 'square' ? (\n <Styles.Label title={item.label}>\n {item.label}\n {item.value !== undefined && <>: {item.value}</>}\n </Styles.Label>\n ) : (\n <>\n <Styles.Label title={item.label}>{item.label}</Styles.Label>\n {item.value !== undefined && (\n <Styles.Value $direction={direction}>{item.value}</Styles.Value>\n )}\n </>\n )}\n </Styles.Item>\n ))}\n </Styles.List>\n)\n"],"names":["ChartLegend","items","direction","variant","_jsx","Styles","$direction","$variant","children","map","item","_jsxs","jsx","color","title","label","undefined","value","jsxs","_Fragment"],"mappings":"0GAW2BA,EACzBC,QACAC,YAAY,MACZC,UAAU,SAEVC,EAAAA,IAACC,EAAAA,KACa,CAAAC,WAAAJ,EACFK,SAAAJ,gBACE,eAAcK,SAEzBP,EAAMQ,KAAKC,GACVC,EAAAA,KAACN,EAAAA,KAAuC,CAAAE,SAAAJ,YACtCC,EAACQ,IAAAP,iBACSK,EAAKG,MAAKN,SACRJ,EAAO,cACL,SAED,WAAZA,EACCQ,EAAAA,KAACN,EAAAA,MAAY,CAACS,MAAOJ,EAAKK,MAAKP,SAAA,CAC5BE,EAAKK,WACUC,IAAfN,EAAKO,OAAuBN,kCAAKD,EAAKO,YAGzCN,EAAAO,KAAAC,WAAA,CAAAX,SAAA,CACEJ,EAACQ,IAAAP,QAAY,CAACS,MAAOJ,EAAKK,MAAQP,SAAAE,EAAKK,aACvBC,IAAfN,EAAKO,OACJb,EAAAA,IAACC,EAAAA,MAAyB,CAAAC,WAAAJ,EAAYM,SAAAE,EAAKO,aAfjCP,EAAKK"}
@@ -1,40 +1,47 @@
1
- "use strict";var e=require("styled-components"),t=require("../../../theme/theme.util.js");const o=e.styled.ul`
1
+ "use strict";var e=require("styled-components"),t=require("../../../theme/theme.util.js");const s=e.styled.ul`
2
2
  display: flex;
3
3
  margin: 0;
4
4
  padding: 0;
5
5
  list-style: none;
6
6
  font-family: ${({theme:e})=>e.typography.fontFamily};
7
7
 
8
- ${({$direction:t,theme:o})=>"row"===t?e.css`
8
+ ${({$direction:t,$variant:s,theme:i})=>"row"===t?e.css`
9
9
  flex-wrap: wrap;
10
- gap: ${o.spacing.xs} ${o.spacing.md};
10
+ gap: ${i.spacing.xs} ${i.spacing.md};
11
11
  `:e.css`
12
12
  flex-direction: column;
13
- gap: ${o.spacing.sm};
13
+ gap: ${"square"===s?i.spacing.xs:i.spacing.sm};
14
14
  `}
15
- `,s=e.styled.li`
15
+ `,i=e.styled.li`
16
16
  display: flex;
17
17
  align-items: center;
18
18
  gap: ${({theme:e})=>e.spacing.sm};
19
19
  min-width: 0;
20
- font-size: ${({theme:e})=>e.typography.textSize.bodySm};
21
- color: ${({theme:e})=>e.colors.grey_2};
22
- `,i=e.styled.span`
20
+ font-size: ${({$variant:e,theme:t})=>"square"===e?t.typography.textSize.caption:t.typography.textSize.bodySm};
21
+ color: ${({$variant:e,theme:t})=>"square"===e?t.colors.grey_1:t.colors.grey_2};
22
+ `,r=e.styled.span`
23
23
  flex: none;
24
- width: 10px;
25
- height: 10px;
26
- border-radius: 50%;
27
- background: ${({$color:e,theme:o})=>t.getThemeColor(e,o)};
28
- `,l=e.styled.span`
24
+ background: ${({$color:e,theme:s})=>t.getThemeColor(e,s)};
25
+
26
+ ${({$variant:t,theme:s})=>"square"===t?e.css`
27
+ width: ${s.spacing.md};
28
+ height: ${s.spacing.md};
29
+ border-radius: ${s.radius.sm};
30
+ `:e.css`
31
+ width: 10px;
32
+ height: 10px;
33
+ border-radius: 50%;
34
+ `}
35
+ `,a=e.styled.span`
29
36
  min-width: 0;
30
37
  overflow: hidden;
31
38
  text-overflow: ellipsis;
32
39
  white-space: nowrap;
33
- `,n=e.styled.span`
40
+ `,o=e.styled.span`
34
41
  flex: none;
35
42
  margin-left: ${({$direction:e})=>"column"===e?"auto":"0"};
36
43
  padding-left: ${({theme:e})=>e.spacing.sm};
37
44
  font-weight: ${({theme:e})=>e.typography.fontWeight.semibold};
38
45
  color: ${({theme:e})=>e.colors.grey_1};
39
- `;exports.Dot=i,exports.Item=s,exports.Label=l,exports.List=o,exports.Value=n;
46
+ `;exports.Item=i,exports.Label=a,exports.List=s,exports.Marker=r,exports.Value=o;
40
47
  //# sourceMappingURL=chart-legend.styles.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"chart-legend.styles.js","sources":["../../../../../src/components/charts/chart-legend/chart-legend.styles.tsx"],"sourcesContent":["import { css, styled } from 'styled-components'\n\nimport { getThemeColor } from '../../../theme'\n\nexport const List = styled.ul<{ $direction: 'row' | 'column' }>`\n display: flex;\n margin: 0;\n padding: 0;\n list-style: none;\n font-family: ${({ theme }) => theme.typography.fontFamily};\n\n ${({ $direction, theme }) =>\n $direction === 'row'\n ? css`\n flex-wrap: wrap;\n gap: ${theme.spacing.xs} ${theme.spacing.md};\n `\n : css`\n flex-direction: column;\n gap: ${theme.spacing.sm};\n `}\n`\n\nexport const Item = styled.li<{ $direction: 'row' | 'column' }>`\n display: flex;\n align-items: center;\n gap: ${({ theme }) => theme.spacing.sm};\n min-width: 0;\n font-size: ${({ theme }) => theme.typography.textSize.bodySm};\n color: ${({ theme }) => theme.colors.grey_2};\n`\n\nexport const Dot = styled.span<{ $color: string }>`\n flex: none;\n width: 10px;\n height: 10px;\n border-radius: 50%;\n background: ${({ $color, theme }) => getThemeColor($color, theme)};\n`\n\nexport const Label = styled.span`\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n`\n\nexport const Value = styled.span<{ $direction: 'row' | 'column' }>`\n flex: none;\n margin-left: ${({ $direction }) => ($direction === 'column' ? 'auto' : '0')};\n padding-left: ${({ theme }) => theme.spacing.sm};\n font-weight: ${({ theme }) => theme.typography.fontWeight.semibold};\n color: ${({ theme }) => theme.colors.grey_1};\n`\n"],"names":["List","styled","ul","theme","typography","fontFamily","$direction","css","spacing","xs","md","sm","Item","li","textSize","bodySm","colors","grey_2","Dot","span","$color","getThemeColor","Label","Value","fontWeight","semibold","grey_1"],"mappings":"0FAIaA,MAAAA,EAAOC,EAAMA,OAACC,EAAoC;;;;;iBAK9C,EAAGC,WAAYA,EAAMC,WAAWC;;IAE7C,EAAGC,aAAYH,WACA,QAAfG,EACIC,KAAG;;iBAEMJ,EAAMK,QAAQC,MAAMN,EAAMK,QAAQE;UAE3CH,EAAAA,GAAG;;iBAEMJ,EAAMK,QAAQG;;EAIlBC,EAAOX,EAAMA,OAACY,EAAoC;;;SAGtD,EAAGV,WAAYA,EAAMK,QAAQG;;eAEvB,EAAGR,WAAYA,EAAMC,WAAWU,SAASC;WAC7C,EAAGZ,WAAYA,EAAMa,OAAOC;EAG1BC,EAAMjB,EAAMA,OAACkB,IAAwB;;;;;gBAKlC,EAAGC,SAAQjB,WAAYkB,EAAaA,cAACD,EAAQjB;EAGhDmB,EAAQrB,EAAMA,OAACkB,IAAI;;;;;EAOnBI,EAAQtB,EAAMA,OAACkB,IAAsC;;iBAEjD,EAAGb,gBAAiC,WAAfA,EAA0B,OAAS;kBACvD,EAAGH,WAAYA,EAAMK,QAAQG;iBAC9B,EAAGR,WAAYA,EAAMC,WAAWoB,WAAWC;WACjD,EAAGtB,WAAYA,EAAMa,OAAOU;"}
1
+ {"version":3,"file":"chart-legend.styles.js","sources":["../../../../../src/components/charts/chart-legend/chart-legend.styles.tsx"],"sourcesContent":["import { css, styled } from 'styled-components'\n\nimport { getThemeColor } from '../../../theme'\n\nimport { ChartLegendVariant } from './chart-legend.types'\n\nexport const List = styled.ul<{\n $direction: 'row' | 'column'\n $variant: ChartLegendVariant\n}>`\n display: flex;\n margin: 0;\n padding: 0;\n list-style: none;\n font-family: ${({ theme }) => theme.typography.fontFamily};\n\n ${({ $direction, $variant, theme }) =>\n $direction === 'row'\n ? css`\n flex-wrap: wrap;\n gap: ${theme.spacing.xs} ${theme.spacing.md};\n `\n : css`\n flex-direction: column;\n gap: ${$variant === 'square' ? theme.spacing.xs : theme.spacing.sm};\n `}\n`\n\nexport const Item = styled.li<{ $variant: ChartLegendVariant }>`\n display: flex;\n align-items: center;\n gap: ${({ theme }) => theme.spacing.sm};\n min-width: 0;\n font-size: ${({ $variant, theme }) =>\n $variant === 'square'\n ? theme.typography.textSize.caption\n : theme.typography.textSize.bodySm};\n color: ${({ $variant, theme }) =>\n $variant === 'square' ? theme.colors.grey_1 : theme.colors.grey_2};\n`\n\nexport const Marker = styled.span<{\n $color: string\n $variant: ChartLegendVariant\n}>`\n flex: none;\n background: ${({ $color, theme }) => getThemeColor($color, theme)};\n\n ${({ $variant, theme }) =>\n $variant === 'square'\n ? css`\n width: ${theme.spacing.md};\n height: ${theme.spacing.md};\n border-radius: ${theme.radius.sm};\n `\n : css`\n width: 10px;\n height: 10px;\n border-radius: 50%;\n `}\n`\n\nexport const Label = styled.span`\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n`\n\nexport const Value = styled.span<{ $direction: 'row' | 'column' }>`\n flex: none;\n margin-left: ${({ $direction }) => ($direction === 'column' ? 'auto' : '0')};\n padding-left: ${({ theme }) => theme.spacing.sm};\n font-weight: ${({ theme }) => theme.typography.fontWeight.semibold};\n color: ${({ theme }) => theme.colors.grey_1};\n`\n"],"names":["List","styled","ul","theme","typography","fontFamily","$direction","$variant","css","spacing","xs","md","sm","Item","li","textSize","caption","bodySm","colors","grey_1","grey_2","Marker","span","$color","getThemeColor","radius","Label","Value","fontWeight","semibold"],"mappings":"0FAMaA,MAAAA,EAAOC,EAAMA,OAACC,EAGzB;;;;;iBAKe,EAAGC,WAAYA,EAAMC,WAAWC;;IAE7C,EAAGC,aAAYC,WAAUJ,WACV,QAAfG,EACIE,KAAG;;iBAEML,EAAMM,QAAQC,MAAMP,EAAMM,QAAQE;UAE3CH,EAAAA,GAAG;;iBAEmB,WAAbD,EAAwBJ,EAAMM,QAAQC,GAAKP,EAAMM,QAAQG;;EAI7DC,EAAOZ,EAAMA,OAACa,EAAoC;;;SAGtD,EAAGX,WAAYA,EAAMM,QAAQG;;eAEvB,EAAGL,WAAUJ,WACX,WAAbI,EACIJ,EAAMC,WAAWW,SAASC,QAC1Bb,EAAMC,WAAWW,SAASE;WACvB,EAAGV,WAAUJ,WACP,WAAbI,EAAwBJ,EAAMe,OAAOC,OAAShB,EAAMe,OAAOE;EAGlDC,EAASpB,EAAMA,OAACqB,IAG3B;;gBAEc,EAAGC,SAAQpB,WAAYqB,EAAaA,cAACD,EAAQpB;;IAEzD,EAAGI,WAAUJ,WACA,WAAbI,EACIC,KAAG;mBACQL,EAAMM,QAAQE;oBACbR,EAAMM,QAAQE;2BACPR,EAAMsB,OAAOb;UAEhCJ,EAAAA,GAAG;;;;;EAOEkB,EAAQzB,EAAMA,OAACqB,IAAI;;;;;EAOnBK,EAAQ1B,EAAMA,OAACqB,IAAsC;;iBAEjD,EAAGhB,gBAAiC,WAAfA,EAA0B,OAAS;kBACvD,EAAGH,WAAYA,EAAMM,QAAQG;iBAC9B,EAAGT,WAAYA,EAAMC,WAAWwB,WAAWC;WACjD,EAAG1B,WAAYA,EAAMe,OAAOC;"}
@@ -1,20 +1,20 @@
1
- "use strict";var e=require("styled-components"),t=require("../../../theme/media.js"),o=require("../../../theme/theme.util.js");const i=e.styled.div`
1
+ "use strict";var e=require("styled-components"),t=require("../../../theme/media.js"),o=require("../../../theme/theme.util.js"),r=require("../../../theme/scrollbar.js");const i=e.styled.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  gap: ${({theme:e})=>e.spacing.md};
5
5
  width: 100%;
6
6
  min-width: 280px;
7
7
  font-family: ${({theme:e})=>e.typography.fontFamily};
8
- `,r=e.styled.div`
8
+ `,s=e.styled.div`
9
9
  display: flex;
10
10
  align-items: center;
11
11
  justify-content: space-between;
12
12
  gap: ${({theme:e})=>e.spacing.sm};
13
- `,s=e.styled.span`
13
+ `,a=e.styled.span`
14
14
  font-size: ${({theme:e})=>e.typography.textSize.body};
15
15
  font-weight: ${({theme:e})=>e.typography.fontWeight.medium};
16
16
  color: ${({theme:e})=>e.colors.grey_1};
17
- `,a=e.styled.div`
17
+ `,l=e.styled.div`
18
18
  display: grid;
19
19
  grid-template-columns: repeat(7, minmax(0, 1fr));
20
20
  gap: 4px;
@@ -67,16 +67,16 @@
67
67
  min-height: 36px;
68
68
  padding: 2px;
69
69
  }
70
- `,l=e.styled.span`
70
+ `,d=e.styled.span`
71
71
  font-size: ${({theme:e})=>e.typography.textSize.caption};
72
72
  font-weight: ${({$today:e,theme:t})=>e?t.typography.fontWeight.semibold:t.typography.fontWeight.regular};
73
73
  color: ${({$outside:e,$today:t,theme:o})=>t?o.colors.primary:e?o.colors.grey_3:o.colors.grey_1};
74
- `,d=e.styled.span`
74
+ `,m=e.styled.span`
75
75
  display: flex;
76
76
  flex-wrap: wrap;
77
77
  align-items: center;
78
78
  gap: 2px;
79
- `,m=e.styled.span`
79
+ `,h=e.styled.span`
80
80
  flex: none;
81
81
  width: ${({$size:e})=>e??8}px;
82
82
  height: ${({$size:e})=>e??8}px;
@@ -95,7 +95,7 @@
95
95
  &::after {
96
96
  content: attr(data-count);
97
97
  }
98
- `,h=e.styled.ul`
98
+ `,y=e.styled.ul`
99
99
  display: flex;
100
100
  flex-wrap: wrap;
101
101
  justify-content: center;
@@ -103,28 +103,29 @@
103
103
  margin: 0;
104
104
  padding: 0;
105
105
  list-style: none;
106
- `,y=e.styled.li`
106
+ `,c=e.styled.li`
107
107
  display: flex;
108
108
  align-items: center;
109
109
  gap: ${({theme:e})=>e.spacing.sm};
110
110
  font-size: ${({theme:e})=>e.typography.textSize.bodySm};
111
111
  color: ${({theme:e})=>e.colors.grey_2};
112
- `,c=e.styled.div`
112
+ `,x=e.styled.div`
113
113
  display: flex;
114
114
  flex-direction: column;
115
115
  gap: ${({theme:e})=>e.spacing.sm};
116
116
  max-height: 400px;
117
117
  overflow-y: auto;
118
+ ${r.thinScrollbar}
118
119
  padding: ${({theme:e})=>e.spacing.md};
119
- `,x=e.styled.span`
120
+ `,$=e.styled.span`
120
121
  font-size: ${({theme:e})=>e.typography.textSize.bodySm};
121
122
  font-weight: ${({theme:e})=>e.typography.fontWeight.semibold};
122
123
  color: ${({theme:e})=>e.colors.grey_1};
123
- `,$=e.styled.span`
124
+ `,f=e.styled.span`
124
125
  display: flex;
125
126
  align-items: center;
126
127
  gap: ${({theme:e})=>e.spacing.sm};
127
128
  font-size: ${({theme:e})=>e.typography.textSize.bodySm};
128
129
  color: ${({theme:e})=>e.colors.grey_1};
129
- `;exports.Container=i,exports.Day=n,exports.DayNumber=l,exports.Details=c,exports.DetailsItem=$,exports.DetailsTitle=x,exports.Dot=m,exports.Dots=d,exports.Grid=a,exports.Header=r,exports.Legend=h,exports.LegendItem=y,exports.MonthTitle=s,exports.More=g,exports.Weekday=p;
130
+ `;exports.Container=i,exports.Day=n,exports.DayNumber=d,exports.Details=x,exports.DetailsItem=f,exports.DetailsTitle=$,exports.Dot=h,exports.Dots=m,exports.Grid=l,exports.Header=s,exports.Legend=y,exports.LegendItem=c,exports.MonthTitle=a,exports.More=g,exports.Weekday=p;
130
131
  //# sourceMappingURL=calendar.styles.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"calendar.styles.js","sources":["../../../../../src/components/data-display/calendar/calendar.styles.tsx"],"sourcesContent":["import { css, styled } from 'styled-components'\n\nimport { getThemeColor, media } from '../../../theme'\n\nexport const Container = styled.div`\n display: flex;\n flex-direction: column;\n gap: ${({ theme }) => theme.spacing.md};\n width: 100%;\n min-width: 280px;\n font-family: ${({ theme }) => theme.typography.fontFamily};\n`\n\nexport const Header = styled.div`\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: ${({ theme }) => theme.spacing.sm};\n`\n\nexport const MonthTitle = styled.span`\n font-size: ${({ theme }) => theme.typography.textSize.body};\n font-weight: ${({ theme }) => theme.typography.fontWeight.medium};\n color: ${({ theme }) => theme.colors.grey_1};\n`\n\nexport const Grid = styled.div`\n display: grid;\n grid-template-columns: repeat(7, minmax(0, 1fr));\n gap: 4px;\n\n ${media.down('md')} {\n gap: 2px;\n }\n`\n\nexport const Weekday = styled.abbr`\n padding: 4px;\n text-align: center;\n text-decoration: none;\n text-transform: capitalize;\n font-size: ${({ theme }) => theme.typography.textSize.caption};\n font-weight: ${({ theme }) => theme.typography.fontWeight.medium};\n color: ${({ theme }) => theme.colors.grey_2};\n`\n\nexport const Day = styled.button<{\n $outside: boolean\n $today: boolean\n $clickable: boolean\n}>`\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n gap: 2px;\n min-height: 44px;\n padding: 4px;\n border: 1px solid ${({ theme }) => theme.colors.grey_4};\n border-radius: ${({ theme }) => theme.radius.sm};\n background: ${({ $outside, theme }) =>\n $outside ? theme.colors.grey_5 : theme.colors.white};\n font: inherit;\n text-align: left;\n cursor: ${({ $clickable }) => ($clickable ? 'pointer' : 'default')};\n transition:\n background-color ${({ theme }) => theme.motion.duration.fast} ease,\n border-color ${({ theme }) => theme.motion.duration.fast} ease;\n\n ${({ $today, theme }) =>\n $today &&\n css`\n border-color: ${theme.colors.primary};\n box-shadow: inset 0 0 0 1px ${theme.colors.primary};\n `}\n\n ${({ $clickable, theme }) =>\n $clickable &&\n css`\n &:hover {\n background: ${theme.colors.grey_5};\n }\n `}\n\n &:focus-visible {\n outline: 2px solid ${({ theme }) => theme.colors.border.focus};\n outline-offset: 1px;\n }\n\n ${media.down('md')} {\n min-height: 36px;\n padding: 2px;\n }\n`\n\nexport const DayNumber = styled.span<{ $outside: boolean; $today: boolean }>`\n font-size: ${({ theme }) => theme.typography.textSize.caption};\n font-weight: ${({ $today, theme }) =>\n $today\n ? theme.typography.fontWeight.semibold\n : theme.typography.fontWeight.regular};\n color: ${({ $outside, $today, theme }) =>\n $today\n ? theme.colors.primary\n : $outside\n ? theme.colors.grey_3\n : theme.colors.grey_1};\n`\n\nexport const Dots = styled.span`\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: 2px;\n`\n\nexport const Dot = styled.span<{ $color?: string; $size?: number }>`\n flex: none;\n width: ${({ $size }) => $size ?? 8}px;\n height: ${({ $size }) => $size ?? 8}px;\n border-radius: 50%;\n background: ${({ $color, theme }) =>\n getThemeColor($color ?? 'primary', theme)};\n`\n\nexport const More = styled.span`\n flex: none;\n padding: 0 4px;\n border-radius: ${({ theme }) => theme.radius.full};\n background: ${({ theme }) => theme.colors.grey_2};\n color: ${({ theme }) => theme.colors.white};\n font-size: 10px;\n font-weight: ${({ theme }) => theme.typography.fontWeight.medium};\n line-height: 14px;\n\n &::after {\n content: attr(data-count);\n }\n`\n\nexport const Legend = styled.ul`\n display: flex;\n flex-wrap: wrap;\n justify-content: center;\n gap: ${({ theme }) => `${theme.spacing.xs} ${theme.spacing.lg}`};\n margin: 0;\n padding: 0;\n list-style: none;\n`\n\nexport const LegendItem = styled.li`\n display: flex;\n align-items: center;\n gap: ${({ theme }) => theme.spacing.sm};\n font-size: ${({ theme }) => theme.typography.textSize.bodySm};\n color: ${({ theme }) => theme.colors.grey_2};\n`\n\nexport const Details = styled.div`\n display: flex;\n flex-direction: column;\n gap: ${({ theme }) => theme.spacing.sm};\n max-height: 400px;\n overflow-y: auto;\n padding: ${({ theme }) => theme.spacing.md};\n`\n\nexport const DetailsTitle = styled.span`\n font-size: ${({ theme }) => theme.typography.textSize.bodySm};\n font-weight: ${({ theme }) => theme.typography.fontWeight.semibold};\n color: ${({ theme }) => theme.colors.grey_1};\n`\n\nexport const DetailsItem = styled.span`\n display: flex;\n align-items: center;\n gap: ${({ theme }) => theme.spacing.sm};\n font-size: ${({ theme }) => theme.typography.textSize.bodySm};\n color: ${({ theme }) => theme.colors.grey_1};\n`\n"],"names":["Container","styled","div","theme","spacing","md","typography","fontFamily","Header","sm","MonthTitle","span","textSize","body","fontWeight","medium","colors","grey_1","Grid","media","down","Weekday","abbr","caption","grey_2","Day","button","grey_4","radius","$outside","grey_5","white","$clickable","motion","duration","fast","$today","css","primary","border","focus","DayNumber","semibold","regular","grey_3","Dots","Dot","$size","$color","getThemeColor","More","full","Legend","ul","xs","lg","LegendItem","li","bodySm","Details","DetailsTitle","DetailsItem"],"mappings":"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"}
1
+ {"version":3,"file":"calendar.styles.js","sources":["../../../../../src/components/data-display/calendar/calendar.styles.tsx"],"sourcesContent":["import { css, styled } from 'styled-components'\n\nimport { getThemeColor, media, thinScrollbar } from '../../../theme'\n\nexport const Container = styled.div`\n display: flex;\n flex-direction: column;\n gap: ${({ theme }) => theme.spacing.md};\n width: 100%;\n min-width: 280px;\n font-family: ${({ theme }) => theme.typography.fontFamily};\n`\n\nexport const Header = styled.div`\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: ${({ theme }) => theme.spacing.sm};\n`\n\nexport const MonthTitle = styled.span`\n font-size: ${({ theme }) => theme.typography.textSize.body};\n font-weight: ${({ theme }) => theme.typography.fontWeight.medium};\n color: ${({ theme }) => theme.colors.grey_1};\n`\n\nexport const Grid = styled.div`\n display: grid;\n grid-template-columns: repeat(7, minmax(0, 1fr));\n gap: 4px;\n\n ${media.down('md')} {\n gap: 2px;\n }\n`\n\nexport const Weekday = styled.abbr`\n padding: 4px;\n text-align: center;\n text-decoration: none;\n text-transform: capitalize;\n font-size: ${({ theme }) => theme.typography.textSize.caption};\n font-weight: ${({ theme }) => theme.typography.fontWeight.medium};\n color: ${({ theme }) => theme.colors.grey_2};\n`\n\nexport const Day = styled.button<{\n $outside: boolean\n $today: boolean\n $clickable: boolean\n}>`\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n gap: 2px;\n min-height: 44px;\n padding: 4px;\n border: 1px solid ${({ theme }) => theme.colors.grey_4};\n border-radius: ${({ theme }) => theme.radius.sm};\n background: ${({ $outside, theme }) =>\n $outside ? theme.colors.grey_5 : theme.colors.white};\n font: inherit;\n text-align: left;\n cursor: ${({ $clickable }) => ($clickable ? 'pointer' : 'default')};\n transition:\n background-color ${({ theme }) => theme.motion.duration.fast} ease,\n border-color ${({ theme }) => theme.motion.duration.fast} ease;\n\n ${({ $today, theme }) =>\n $today &&\n css`\n border-color: ${theme.colors.primary};\n box-shadow: inset 0 0 0 1px ${theme.colors.primary};\n `}\n\n ${({ $clickable, theme }) =>\n $clickable &&\n css`\n &:hover {\n background: ${theme.colors.grey_5};\n }\n `}\n\n &:focus-visible {\n outline: 2px solid ${({ theme }) => theme.colors.border.focus};\n outline-offset: 1px;\n }\n\n ${media.down('md')} {\n min-height: 36px;\n padding: 2px;\n }\n`\n\nexport const DayNumber = styled.span<{ $outside: boolean; $today: boolean }>`\n font-size: ${({ theme }) => theme.typography.textSize.caption};\n font-weight: ${({ $today, theme }) =>\n $today\n ? theme.typography.fontWeight.semibold\n : theme.typography.fontWeight.regular};\n color: ${({ $outside, $today, theme }) =>\n $today\n ? theme.colors.primary\n : $outside\n ? theme.colors.grey_3\n : theme.colors.grey_1};\n`\n\nexport const Dots = styled.span`\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: 2px;\n`\n\nexport const Dot = styled.span<{ $color?: string; $size?: number }>`\n flex: none;\n width: ${({ $size }) => $size ?? 8}px;\n height: ${({ $size }) => $size ?? 8}px;\n border-radius: 50%;\n background: ${({ $color, theme }) =>\n getThemeColor($color ?? 'primary', theme)};\n`\n\nexport const More = styled.span`\n flex: none;\n padding: 0 4px;\n border-radius: ${({ theme }) => theme.radius.full};\n background: ${({ theme }) => theme.colors.grey_2};\n color: ${({ theme }) => theme.colors.white};\n font-size: 10px;\n font-weight: ${({ theme }) => theme.typography.fontWeight.medium};\n line-height: 14px;\n\n &::after {\n content: attr(data-count);\n }\n`\n\nexport const Legend = styled.ul`\n display: flex;\n flex-wrap: wrap;\n justify-content: center;\n gap: ${({ theme }) => `${theme.spacing.xs} ${theme.spacing.lg}`};\n margin: 0;\n padding: 0;\n list-style: none;\n`\n\nexport const LegendItem = styled.li`\n display: flex;\n align-items: center;\n gap: ${({ theme }) => theme.spacing.sm};\n font-size: ${({ theme }) => theme.typography.textSize.bodySm};\n color: ${({ theme }) => theme.colors.grey_2};\n`\n\nexport const Details = styled.div`\n display: flex;\n flex-direction: column;\n gap: ${({ theme }) => theme.spacing.sm};\n max-height: 400px;\n overflow-y: auto;\n ${thinScrollbar}\n padding: ${({ theme }) => theme.spacing.md};\n`\n\nexport const DetailsTitle = styled.span`\n font-size: ${({ theme }) => theme.typography.textSize.bodySm};\n font-weight: ${({ theme }) => theme.typography.fontWeight.semibold};\n color: ${({ theme }) => theme.colors.grey_1};\n`\n\nexport const DetailsItem = styled.span`\n display: flex;\n align-items: center;\n gap: ${({ theme }) => theme.spacing.sm};\n font-size: ${({ theme }) => theme.typography.textSize.bodySm};\n color: ${({ theme }) => theme.colors.grey_1};\n`\n"],"names":["Container","styled","div","theme","spacing","md","typography","fontFamily","Header","sm","MonthTitle","span","textSize","body","fontWeight","medium","colors","grey_1","Grid","media","down","Weekday","abbr","caption","grey_2","Day","button","grey_4","radius","$outside","grey_5","white","$clickable","motion","duration","fast","$today","css","primary","border","focus","DayNumber","semibold","regular","grey_3","Dots","Dot","$size","$color","getThemeColor","More","full","Legend","ul","xs","lg","LegendItem","li","bodySm","Details","thinScrollbar","DetailsTitle","DetailsItem"],"mappings":"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"}