blockforce-design-system 2.0.3 → 2.0.4

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 (85) hide show
  1. package/MIGRATION.md +23 -19
  2. package/lib/ai/components.json +106 -1
  3. package/lib/ai/tokens.md +1 -1
  4. package/lib/commonjs/components/data-display/calendar/calendar.styles.js +14 -13
  5. package/lib/commonjs/components/data-display/calendar/calendar.styles.js.map +1 -1
  6. package/lib/commonjs/components/data-display/matrix/matrix.styles.js +22 -21
  7. package/lib/commonjs/components/data-display/matrix/matrix.styles.js.map +1 -1
  8. package/lib/commonjs/components/data-display/side-panel/side-panel.styles.js +11 -10
  9. package/lib/commonjs/components/data-display/side-panel/side-panel.styles.js.map +1 -1
  10. package/lib/commonjs/components/forms/autocomplete/autocomplete.styles.js +8 -21
  11. package/lib/commonjs/components/forms/autocomplete/autocomplete.styles.js.map +1 -1
  12. package/lib/commonjs/components/layout/drawer/drawer.styles.js +7 -5
  13. package/lib/commonjs/components/layout/drawer/drawer.styles.js.map +1 -1
  14. package/lib/commonjs/components/layout/modal/modal.styles.js +7 -18
  15. package/lib/commonjs/components/layout/modal/modal.styles.js.map +1 -1
  16. package/lib/commonjs/components/layout/popover/popover.styles.js +3 -2
  17. package/lib/commonjs/components/layout/popover/popover.styles.js.map +1 -1
  18. package/lib/commonjs/components/layout/slider/slider.styles.js +5 -26
  19. package/lib/commonjs/components/layout/slider/slider.styles.js.map +1 -1
  20. package/lib/commonjs/components/layout/table/table.comp.js +1 -1
  21. package/lib/commonjs/components/layout/table/table.comp.js.map +1 -1
  22. package/lib/commonjs/components/layout/table/table.styles.js +18 -17
  23. package/lib/commonjs/components/layout/table/table.styles.js.map +1 -1
  24. package/lib/commonjs/components/layout/table-head/table-head.comp.js +1 -1
  25. package/lib/commonjs/components/layout/table-head/table-head.comp.js.map +1 -1
  26. package/lib/commonjs/components/layout/table-head/table-head.styles.js +1 -1
  27. package/lib/commonjs/components/layout/table-head/table-head.styles.js.map +1 -1
  28. package/lib/commonjs/components/layout/table-row/table-row.comp.js +1 -1
  29. package/lib/commonjs/components/layout/table-row/table-row.comp.js.map +1 -1
  30. package/lib/commonjs/components/navigation/navigation-card/navigation-card.comp.js +2 -0
  31. package/lib/commonjs/components/navigation/navigation-card/navigation-card.comp.js.map +1 -0
  32. package/lib/commonjs/components/navigation/navigation-card/navigation-card.styles.js +47 -0
  33. package/lib/commonjs/components/navigation/navigation-card/navigation-card.styles.js.map +1 -0
  34. package/lib/commonjs/components/navigation/navigation-card/navigation-cards.comp.js +2 -0
  35. package/lib/commonjs/components/navigation/navigation-card/navigation-cards.comp.js.map +1 -0
  36. package/lib/commonjs/components/navigation/navigation-sections/navigation-sections.comp.js +2 -0
  37. package/lib/commonjs/components/navigation/navigation-sections/navigation-sections.comp.js.map +1 -0
  38. package/lib/commonjs/components/navigation/navigation-sections/navigation-sections.styles.js +91 -0
  39. package/lib/commonjs/components/navigation/navigation-sections/navigation-sections.styles.js.map +1 -0
  40. package/lib/commonjs/index.js +1 -1
  41. package/lib/commonjs/theme/scrollbar.js +39 -0
  42. package/lib/commonjs/theme/scrollbar.js.map +1 -0
  43. package/lib/index.d.ts +112 -1
  44. package/lib/module/components/data-display/calendar/calendar.styles.js +17 -16
  45. package/lib/module/components/data-display/calendar/calendar.styles.js.map +1 -1
  46. package/lib/module/components/data-display/matrix/matrix.styles.js +20 -19
  47. package/lib/module/components/data-display/matrix/matrix.styles.js.map +1 -1
  48. package/lib/module/components/data-display/side-panel/side-panel.styles.js +10 -9
  49. package/lib/module/components/data-display/side-panel/side-panel.styles.js.map +1 -1
  50. package/lib/module/components/forms/autocomplete/autocomplete.styles.js +8 -21
  51. package/lib/module/components/forms/autocomplete/autocomplete.styles.js.map +1 -1
  52. package/lib/module/components/layout/drawer/drawer.styles.js +7 -5
  53. package/lib/module/components/layout/drawer/drawer.styles.js.map +1 -1
  54. package/lib/module/components/layout/modal/modal.styles.js +7 -18
  55. package/lib/module/components/layout/modal/modal.styles.js.map +1 -1
  56. package/lib/module/components/layout/popover/popover.styles.js +2 -1
  57. package/lib/module/components/layout/popover/popover.styles.js.map +1 -1
  58. package/lib/module/components/layout/slider/slider.styles.js +5 -26
  59. package/lib/module/components/layout/slider/slider.styles.js.map +1 -1
  60. package/lib/module/components/layout/table/table.comp.js +1 -1
  61. package/lib/module/components/layout/table/table.comp.js.map +1 -1
  62. package/lib/module/components/layout/table/table.styles.js +9 -8
  63. package/lib/module/components/layout/table/table.styles.js.map +1 -1
  64. package/lib/module/components/layout/table-head/table-head.comp.js +1 -1
  65. package/lib/module/components/layout/table-head/table-head.comp.js.map +1 -1
  66. package/lib/module/components/layout/table-head/table-head.styles.js +1 -1
  67. package/lib/module/components/layout/table-head/table-head.styles.js.map +1 -1
  68. package/lib/module/components/layout/table-row/table-row.comp.js +1 -1
  69. package/lib/module/components/layout/table-row/table-row.comp.js.map +1 -1
  70. package/lib/module/components/navigation/navigation-card/navigation-card.comp.js +2 -0
  71. package/lib/module/components/navigation/navigation-card/navigation-card.comp.js.map +1 -0
  72. package/lib/module/components/navigation/navigation-card/navigation-card.styles.js +47 -0
  73. package/lib/module/components/navigation/navigation-card/navigation-card.styles.js.map +1 -0
  74. package/lib/module/components/navigation/navigation-card/navigation-cards.comp.js +2 -0
  75. package/lib/module/components/navigation/navigation-card/navigation-cards.comp.js.map +1 -0
  76. package/lib/module/components/navigation/navigation-sections/navigation-sections.comp.js +2 -0
  77. package/lib/module/components/navigation/navigation-sections/navigation-sections.comp.js.map +1 -0
  78. package/lib/module/components/navigation/navigation-sections/navigation-sections.styles.js +91 -0
  79. package/lib/module/components/navigation/navigation-sections/navigation-sections.styles.js.map +1 -0
  80. package/lib/module/index.js +1 -1
  81. package/lib/module/theme/scrollbar.js +39 -0
  82. package/lib/module/theme/scrollbar.js.map +1 -0
  83. package/llms-full.txt +87 -2
  84. package/llms.txt +15 -2
  85. package/package.json +1 -1
@@ -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":"iKAIaA,MAAAA,EAAYC,EAAOC,GAAG;;;SAG1B,EAAGC,WAAYA,EAAMC,QAAQC;;;iBAGrB,EAAGF,WAAYA,EAAMG,WAAWC;EAGpCC,EAASP,EAAOC,GAAG;;;;SAIvB,EAAGC,WAAYA,EAAMC,QAAQK;EAGzBC,EAAaT,EAAOU,IAAI;eACtB,EAAGR,WAAYA,EAAMG,WAAWM,SAASC;iBACvC,EAAGV,WAAYA,EAAMG,WAAWQ,WAAWC;WACjD,EAAGZ,WAAYA,EAAMa,OAAOC;EAG1BC,EAAOjB,EAAOC,GAAG;;;;;IAK1BiB,EAAMC,KAAK;;;EAKFC,EAAUpB,EAAOqB,IAAI;;;;;eAKnB,EAAGnB,WAAYA,EAAMG,WAAWM,SAASW;iBACvC,EAAGpB,WAAYA,EAAMG,WAAWQ,WAAWC;WACjD,EAAGZ,WAAYA,EAAMa,OAAOQ;EAG1BC,EAAMxB,EAAOyB,MAIxB;;;;;;;sBAOoB,EAAGvB,WAAYA,EAAMa,OAAOW;mBAC/B,EAAGxB,WAAYA,EAAMyB,OAAOnB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AAOwD,EAAE;;;SAG1B,EAAGtD,WAAYA,EAAMC,QAAQK;eACvB,EAAGN,WAAYA,EAAMG,WAAWM,SAAS8C;WAC7C,EAAGvD,WAAYA,EAAMa,OAAOQ;EAG1BmC,EAAU1D,EAAOC,GAAG;;;SAGxB,EAAGC,WAAYA,EAAMC,QAAQK;;;aAGzB,EAAGN,WAAYA,EAAMC,QAAQC;EAG7BuD,EAAe3D,EAAOU,IAAI;eACxB,EAAGR,WAAYA,EAAMG,WAAWM,SAAS8C;iBACvC,EAAGvD,WAAYA,EAAMG,WAAWQ,WAAW4B;WACjD,EAAGvC,WAAYA,EAAMa,OAAOC;EAG1B4C,EAAc5D,EAAOU,IAAI;;;SAG7B,EAAGR,WAAYA,EAAMC,QAAQK;eACvB,EAAGN,WAAYA,EAAMG,WAAWM,SAAS8C;WAC7C,EAAGvD,WAAYA,EAAMa,OAAOC;"}
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":"6NAIaA,MAAAA,EAAYC,EAAOC,GAAG;;;SAG1B,EAAGC,WAAYA,E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"../../../theme/theme.util.js";const i=(e,t)=>`color-mix(in srgb, ${t.colors.primary} 10%, ${e})`,r=e.div`
1
+ import{styled as e,css as t}from"styled-components";import{thinScrollbar as o}from"../../../theme/scrollbar.js";import{getThemeColor as i}from"../../../theme/theme.util.js";const r=(e,t)=>`color-mix(in srgb, ${t.colors.primary} 10%, ${e})`,n=e.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: 0;
7
7
  font-family: ${({theme:e})=>e.typography.fontFamily};
8
- `,n=e.div`
8
+ `,a=e.div`
9
9
  display: flex;
10
10
  align-items: stretch;
11
11
  gap: ${({theme:e})=>e.spacing.sm};
12
12
  min-width: 0;
13
- `,a=e.span`
13
+ `,l=e.span`
14
14
  flex: none;
15
15
  align-self: center;
16
16
  font-size: ${({theme:e})=>e.typography.textSize.caption};
@@ -24,11 +24,12 @@ import{styled as e,css as t}from"styled-components";import{getThemeColor as o}fr
24
24
  writing-mode: vertical-rl;
25
25
  transform: rotate(180deg);
26
26
  `}
27
- `,l=e.div`
27
+ `,s=e.div`
28
28
  flex: 1;
29
29
  min-width: 0;
30
30
  overflow-x: auto;
31
- `,s=e.div`
31
+ ${o}
32
+ `,h=e.div`
32
33
  display: grid;
33
34
  grid-template-columns: ${({$columns:e})=>e};
34
35
  grid-template-rows: ${({$rows:e})=>e};
@@ -46,7 +47,7 @@ import{styled as e,css as t}from"styled-components";import{getThemeColor as o}fr
46
47
  width: max-content;
47
48
  margin: 0 auto;
48
49
  `}
49
- `,h=e.div`
50
+ `,p=e.div`
50
51
  display: flex;
51
52
  flex-direction: column;
52
53
  justify-content: center;
@@ -56,7 +57,7 @@ import{styled as e,css as t}from"styled-components";import{getThemeColor as o}fr
56
57
  padding: 4px 8px;
57
58
  text-align: ${({$row:e,$variant:t})=>e&&"chip"===t?"left":"center"};
58
59
  background: ${({$variant:e,theme:t})=>"fill"===e?t.colors.grey_5:"transparent"};
59
- `,p=e.span`
60
+ `,m=e.span`
60
61
  max-width: 100%;
61
62
  overflow: hidden;
62
63
  text-overflow: ellipsis;
@@ -84,8 +85,8 @@ import{styled as e,css as t}from"styled-components";import{getThemeColor as o}fr
84
85
  font: inherit;
85
86
  font-size: ${({$variant:e,theme:t})=>"chip"===e?t.typography.textSize.caption:t.typography.textSize.bodySm};
86
87
  font-weight: ${({theme:e})=>e.typography.fontWeight.semibold};
87
- background: ${({$background:e,$variant:t,$highlighted:r,theme:n})=>{const a=e?o(e,n):"chip"===t?n.colors.grey_5:n.colors.white;return r?i(a,n):a}};
88
- color: ${({$color:e,theme:t})=>e?o(e,t):t.colors.grey_1};
88
+ background: ${({$background:e,$variant:t,$highlighted:o,theme:n})=>{const a=e?i(e,n):"chip"===t?n.colors.grey_5:n.colors.white;return o?r(a,n):a}};
89
+ color: ${({$color:e,theme:t})=>e?i(e,t):t.colors.grey_1};
89
90
  border-radius: ${({$variant:e,theme:t})=>"chip"===e?t.radius.sm:"0"};
90
91
  cursor: ${({$clickable:e})=>e?"pointer":"default"};
91
92
  transition:
@@ -105,7 +106,7 @@ import{styled as e,css as t}from"styled-components";import{getThemeColor as o}fr
105
106
  outline: 2px solid ${({theme:e})=>e.colors.border.focus};
106
107
  outline-offset: -2px;
107
108
  }
108
- `,m=e.span`
109
+ `,g=e.span`
109
110
  display: inline-flex;
110
111
  align-items: center;
111
112
  justify-content: center;
@@ -117,14 +118,14 @@ import{styled as e,css as t}from"styled-components";import{getThemeColor as o}fr
117
118
  box-shadow: ${({theme:e})=>e.shadow.xs};
118
119
  font-size: ${({theme:e})=>e.typography.textSize.caption};
119
120
  color: ${({theme:e})=>e.colors.grey_1};
120
- `,g=e.span`
121
+ `,$=e.span`
121
122
  flex: none;
122
123
  width: 14px;
123
124
  height: 14px;
124
125
  border-radius: 50%;
125
126
  border: 2px solid ${({theme:e})=>e.colors.white};
126
- background: ${({$color:e,theme:t})=>o(e??"primary",t)};
127
- `,$=e.span`
127
+ background: ${({$color:e,theme:t})=>i(e??"primary",t)};
128
+ `,f=e.span`
128
129
  font-size: 11px;
129
130
  color: ${({theme:e})=>e.colors.grey_2};
130
131
 
@@ -139,13 +140,13 @@ import{styled as e,css as t}from"styled-components";import{getThemeColor as o}fr
139
140
  margin: 0;
140
141
  padding: 0;
141
142
  list-style: none;
142
- `,f=e.li`
143
+ `,x=e.li`
143
144
  display: flex;
144
145
  align-items: center;
145
146
  gap: ${({theme:e})=>e.spacing.sm};
146
147
  font-size: ${({theme:e})=>e.typography.textSize.bodySm};
147
148
  color: ${({theme:e})=>e.colors.grey_2};
148
- `,x=e.span`
149
+ `,w=e.span`
149
150
  display: inline-flex;
150
151
  flex: none;
151
152
  align-items: center;
@@ -153,15 +154,15 @@ import{styled as e,css as t}from"styled-components";import{getThemeColor as o}fr
153
154
  width: 18px;
154
155
  height: 18px;
155
156
  border-radius: ${({theme:e})=>e.radius.sm};
156
- background: ${({$color:e,$highlighted:t,theme:r})=>t?i(r.colors.white,r):o(e,r)};
157
+ background: ${({$color:e,$highlighted:t,theme:o})=>t?r(o.colors.white,o):i(e,o)};
157
158
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
158
159
  font-size: 11px;
159
160
  font-weight: ${({theme:e})=>e.typography.fontWeight.bold};
160
- color: ${({$symbolColor:e,theme:t})=>e?o(e,t):t.colors.grey_1};
161
- `,w=e.div`
161
+ color: ${({$symbolColor:e,theme:t})=>e?i(e,t):t.colors.grey_1};
162
+ `,u=e.div`
162
163
  padding: ${({theme:e})=>e.spacing.md};
163
164
  font-size: ${({theme:e})=>e.typography.textSize.bodySm};
164
165
  line-height: ${({theme:e})=>e.typography.lineHeight.normal};
165
166
  color: ${({theme:e})=>e.colors.grey_1};
166
- `;export{a as AxisTitle,n as Body,d as Cell,m as Count,g as Dot,s as Grid,h as Header,p as HeaderLabel,c as HeaderSublabel,y as Legend,w as LegendDescription,f as LegendItem,$ as More,l as Scroll,x as Swatch,r as Wrapper};
167
+ `;export{l as AxisTitle,a as Body,d as Cell,g as Count,$ as Dot,h as Grid,p as Header,m as HeaderLabel,c as HeaderSublabel,y as Legend,u as LegendDescription,x as LegendItem,f as More,s as Scroll,w as Swatch,n as Wrapper};
167
168
  //# sourceMappingURL=matrix.styles.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"matrix.styles.js","sources":["../../../../../src/components/data-display/matrix/matrix.styles.tsx"],"sourcesContent":["import { css, styled } from 'styled-components'\n\nimport { getThemeColor } from '../../../theme'\n\ntype Variant = 'fill' | 'chip'\n\n/** Fundo da zona destacada: um véu roxo leve sobre o fundo da célula. */\nconst highlightTint = (base: string, theme: any) =>\n `color-mix(in srgb, ${theme.colors.primary} 10%, ${base})`\n\nexport const Wrapper = styled.div`\n display: flex;\n flex-direction: column;\n gap: ${({ theme }) => theme.spacing.md};\n width: 100%;\n min-width: 0;\n font-family: ${({ theme }) => theme.typography.fontFamily};\n`\n\nexport const Body = styled.div`\n display: flex;\n align-items: stretch;\n gap: ${({ theme }) => theme.spacing.sm};\n min-width: 0;\n`\n\nexport const AxisTitle = styled.span<{ $vertical?: boolean }>`\n flex: none;\n align-self: center;\n font-size: ${({ theme }) => theme.typography.textSize.caption};\n font-weight: ${({ theme }) => theme.typography.fontWeight.semibold};\n letter-spacing: 0.04em;\n text-transform: uppercase;\n text-align: center;\n color: ${({ theme }) => theme.colors.grey_2};\n\n ${({ $vertical }) =>\n $vertical &&\n css`\n writing-mode: vertical-rl;\n transform: rotate(180deg);\n `}\n`\n\nexport const Scroll = styled.div`\n flex: 1;\n min-width: 0;\n overflow-x: auto;\n`\n\nexport const Grid = styled.div<{\n $variant: Variant\n $columns: string\n $rows: string\n}>`\n display: grid;\n grid-template-columns: ${({ $columns }) => $columns};\n grid-template-rows: ${({ $rows }) => $rows};\n min-width: min-content;\n\n ${({ $variant, theme }) =>\n $variant === 'fill'\n ? css`\n gap: 1px;\n border: 1px solid ${theme.colors.grey_4};\n border-radius: ${theme.radius.md};\n background: ${theme.colors.grey_4};\n overflow: hidden;\n `\n : css`\n gap: 4px;\n align-items: center;\n width: max-content;\n margin: 0 auto;\n `}\n`\n\nexport const Header = styled.div<{ $variant: Variant; $row?: boolean }>`\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: ${({ $row, $variant }) =>\n $row && $variant === 'chip' ? 'flex-start' : 'center'};\n gap: 2px;\n min-width: 0;\n padding: 4px 8px;\n text-align: ${({ $row, $variant }) =>\n $row && $variant === 'chip' ? 'left' : 'center'};\n background: ${({ $variant, theme }) =>\n $variant === 'fill' ? theme.colors.grey_5 : 'transparent'};\n`\n\nexport const HeaderLabel = styled.span<{ $variant: Variant; $row?: boolean }>`\n max-width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n font-size: ${({ $variant, $row, theme }) =>\n $variant === 'chip' && $row\n ? theme.typography.textSize.bodySm\n : theme.typography.textSize.caption};\n font-weight: ${({ theme }) => theme.typography.fontWeight.semibold};\n color: ${({ $variant, $row, theme }) =>\n $variant === 'chip' && $row ? theme.colors.grey_1 : theme.colors.grey_2};\n`\n\nexport const HeaderSublabel = styled.span`\n font-size: 11px;\n line-height: 1.2;\n color: ${({ theme }) => theme.colors.grey_2};\n`\n\nexport const Cell = styled.div<{\n $variant: Variant\n $background?: string\n $color?: string\n $highlighted: boolean\n $clickable: boolean\n}>`\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n justify-content: center;\n align-content: center;\n gap: 4px;\n min-width: 0;\n height: 100%;\n margin: 0;\n padding: 4px;\n border: none;\n font: inherit;\n font-size: ${({ $variant, theme }) =>\n $variant === 'chip'\n ? theme.typography.textSize.caption\n : theme.typography.textSize.bodySm};\n font-weight: ${({ theme }) => theme.typography.fontWeight.semibold};\n background: ${({ $background, $variant, $highlighted, theme }) => {\n const base = $background\n ? getThemeColor($background, theme)\n : $variant === 'chip'\n ? theme.colors.grey_5\n : theme.colors.white\n return $highlighted ? highlightTint(base, theme) : base\n }};\n color: ${({ $color, theme }) =>\n $color ? getThemeColor($color, theme) : theme.colors.grey_1};\n border-radius: ${({ $variant, theme }) =>\n $variant === 'chip' ? theme.radius.sm : '0'};\n cursor: ${({ $clickable }) => ($clickable ? 'pointer' : 'default')};\n transition:\n transform ${({ theme }) => theme.motion.duration.fast} ease,\n box-shadow ${({ theme }) => theme.motion.duration.fast} ease;\n\n ${({ $clickable, theme }) =>\n $clickable &&\n css`\n &:hover {\n z-index: 1;\n transform: scale(1.03);\n box-shadow: ${theme.shadow.md};\n }\n `}\n\n &:focus-visible {\n z-index: 1;\n outline: 2px solid ${({ theme }) => theme.colors.border.focus};\n outline-offset: -2px;\n }\n`\n\nexport const Count = styled.span`\n display: inline-flex;\n align-items: center;\n justify-content: center;\n min-width: 24px;\n height: 24px;\n padding: 0 6px;\n border-radius: ${({ theme }) => theme.radius.full};\n background: ${({ theme }) => theme.colors.white};\n box-shadow: ${({ theme }) => theme.shadow.xs};\n font-size: ${({ theme }) => theme.typography.textSize.caption};\n color: ${({ theme }) => theme.colors.grey_1};\n`\n\nexport const Dot = styled.span<{ $color?: string }>`\n flex: none;\n width: 14px;\n height: 14px;\n border-radius: 50%;\n border: 2px solid ${({ theme }) => theme.colors.white};\n background: ${({ $color, theme }) =>\n getThemeColor($color ?? 'primary', theme)};\n`\n\nexport const More = styled.span`\n font-size: 11px;\n color: ${({ theme }) => theme.colors.grey_2};\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 Swatch = styled.span<{\n $color: string\n $symbolColor?: string\n $highlighted?: boolean\n}>`\n display: inline-flex;\n flex: none;\n align-items: center;\n justify-content: center;\n width: 18px;\n height: 18px;\n border-radius: ${({ theme }) => theme.radius.sm};\n background: ${({ $color, $highlighted, theme }) =>\n $highlighted\n ? highlightTint(theme.colors.white, theme)\n : getThemeColor($color, theme)};\n box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);\n font-size: 11px;\n font-weight: ${({ theme }) => theme.typography.fontWeight.bold};\n color: ${({ $symbolColor, theme }) =>\n $symbolColor ? getThemeColor($symbolColor, theme) : theme.colors.grey_1};\n`\n\nexport const LegendDescription = styled.div`\n padding: ${({ theme }) => theme.spacing.md};\n font-size: ${({ theme }) => theme.typography.textSize.bodySm};\n line-height: ${({ theme }) => theme.typography.lineHeight.normal};\n color: ${({ theme }) => theme.colors.grey_1};\n`\n"],"names":["highlightTint","base","theme","colors","primary","Wrapper","styled","div","spacing","md","typography","fontFamily","Body","sm","AxisTitle","span","textSize","caption","fontWeight","semibold","grey_2","$vertical","css","Scroll","Grid","$columns","$rows","$variant","grey_4","radius","Header","$row","grey_5","HeaderLabel","bodySm","grey_1","HeaderSublabel","Cell","$background","$highlighted","getThemeColor","white","$color","$clickable","motion","duration","fast","shadow","border","focus","Count","full","xs","Dot","More","Legend","ul","lg","LegendItem","li","Swatch","bold","$symbolColor","LegendDescription","lineHeight","normal"],"mappings":"iHAOA,MAAMA,EAAgBA,CAACC,EAAcC,IACb,sBAAAA,EAAMC,OAAOC,gBAAgBH,KAExCI,EAAUC,EAAOC,GAAG;;;SAGxB,EAAGL,WAAYA,EAAMM,QAAQC;;;iBAGrB,EAAGP,WAAYA,EAAMQ,WAAWC;EAGpCC,EAAON,EAAOC,GAAG;;;SAGrB,EAAGL,WAAYA,EAAMM,QAAQK;;EAIzBC,EAAYR,EAAOS,IAA6B;;;eAG9C,EAAGb,WAAYA,EAAMQ,WAAWM,SAASC;iBACvC,EAAGf,WAAYA,EAAMQ,WAAWQ,WAAWC;;;;WAIjD,EAAGjB,WAAYA,EAAMC,OAAOiB;;IAEnC,E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WACrCqC,EACIvC,EAAcE,EAAMC,OAAOsC,MAAOvC,GAClCsC,EAAcE,EAAQxC;;;iBAGb,EAAGA,WAAYA,EAAMQ,WAAWQ,WAAW2C;WACjD,EAAGC,eAAc5D,WACxB4D,EAAetB,EAAcsB,EAAc5D,GAASA,EAAMC,OAAOgC;EAGxD4B,EAAoBzD,EAAOC,GAAG;aAC9B,EAAGL,WAAYA,EAAMM,QAAQC;eAC3B,EAAGP,WAAYA,EAAMQ,WAAWM,SAASkB;iBACvC,EAAGhC,WAAYA,EAAMQ,WAAWsD,WAAWC;WACjD,EAAG/D,WAAYA,EAAMC,OAAOgC;"}
1
+ {"version":3,"file":"matrix.styles.js","sources":["../../../../../src/components/data-display/matrix/matrix.styles.tsx"],"sourcesContent":["import { css, styled } from 'styled-components'\n\nimport { getThemeColor, thinScrollbar } from '../../../theme'\n\ntype Variant = 'fill' | 'chip'\n\n/** Fundo da zona destacada: um véu roxo leve sobre o fundo da célula. */\nconst highlightTint = (base: string, theme: any) =>\n `color-mix(in srgb, ${theme.colors.primary} 10%, ${base})`\n\nexport const Wrapper = styled.div`\n display: flex;\n flex-direction: column;\n gap: ${({ theme }) => theme.spacing.md};\n width: 100%;\n min-width: 0;\n font-family: ${({ theme }) => theme.typography.fontFamily};\n`\n\nexport const Body = styled.div`\n display: flex;\n align-items: stretch;\n gap: ${({ theme }) => theme.spacing.sm};\n min-width: 0;\n`\n\nexport const AxisTitle = styled.span<{ $vertical?: boolean }>`\n flex: none;\n align-self: center;\n font-size: ${({ theme }) => theme.typography.textSize.caption};\n font-weight: ${({ theme }) => theme.typography.fontWeight.semibold};\n letter-spacing: 0.04em;\n text-transform: uppercase;\n text-align: center;\n color: ${({ theme }) => theme.colors.grey_2};\n\n ${({ $vertical }) =>\n $vertical &&\n css`\n writing-mode: vertical-rl;\n transform: rotate(180deg);\n `}\n`\n\nexport const Scroll = styled.div`\n flex: 1;\n min-width: 0;\n overflow-x: auto;\n ${thinScrollbar}\n`\n\nexport const Grid = styled.div<{\n $variant: Variant\n $columns: string\n $rows: string\n}>`\n display: grid;\n grid-template-columns: ${({ $columns }) => $columns};\n grid-template-rows: ${({ $rows }) => $rows};\n min-width: min-content;\n\n ${({ $variant, theme }) =>\n $variant === 'fill'\n ? css`\n gap: 1px;\n border: 1px solid ${theme.colors.grey_4};\n border-radius: ${theme.radius.md};\n background: ${theme.colors.grey_4};\n overflow: hidden;\n `\n : css`\n gap: 4px;\n align-items: center;\n width: max-content;\n margin: 0 auto;\n `}\n`\n\nexport const Header = styled.div<{ $variant: Variant; $row?: boolean }>`\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: ${({ $row, $variant }) =>\n $row && $variant === 'chip' ? 'flex-start' : 'center'};\n gap: 2px;\n min-width: 0;\n padding: 4px 8px;\n text-align: ${({ $row, $variant }) =>\n $row && $variant === 'chip' ? 'left' : 'center'};\n background: ${({ $variant, theme }) =>\n $variant === 'fill' ? theme.colors.grey_5 : 'transparent'};\n`\n\nexport const HeaderLabel = styled.span<{ $variant: Variant; $row?: boolean }>`\n max-width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n font-size: ${({ $variant, $row, theme }) =>\n $variant === 'chip' && $row\n ? theme.typography.textSize.bodySm\n : theme.typography.textSize.caption};\n font-weight: ${({ theme }) => theme.typography.fontWeight.semibold};\n color: ${({ $variant, $row, theme }) =>\n $variant === 'chip' && $row ? theme.colors.grey_1 : theme.colors.grey_2};\n`\n\nexport const HeaderSublabel = styled.span`\n font-size: 11px;\n line-height: 1.2;\n color: ${({ theme }) => theme.colors.grey_2};\n`\n\nexport const Cell = styled.div<{\n $variant: Variant\n $background?: string\n $color?: string\n $highlighted: boolean\n $clickable: boolean\n}>`\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n justify-content: center;\n align-content: center;\n gap: 4px;\n min-width: 0;\n height: 100%;\n margin: 0;\n padding: 4px;\n border: none;\n font: inherit;\n font-size: ${({ $variant, theme }) =>\n $variant === 'chip'\n ? theme.typography.textSize.caption\n : theme.typography.textSize.bodySm};\n font-weight: ${({ theme }) => theme.typography.fontWeight.semibold};\n background: ${({ $background, $variant, $highlighted, theme }) => {\n const base = $background\n ? getThemeColor($background, theme)\n : $variant === 'chip'\n ? theme.colors.grey_5\n : theme.colors.white\n return $highlighted ? highlightTint(base, theme) : base\n }};\n color: ${({ $color, theme }) =>\n $color ? getThemeColor($color, theme) : theme.colors.grey_1};\n border-radius: ${({ $variant, theme }) =>\n $variant === 'chip' ? theme.radius.sm : '0'};\n cursor: ${({ $clickable }) => ($clickable ? 'pointer' : 'default')};\n transition:\n transform ${({ theme }) => theme.motion.duration.fast} ease,\n box-shadow ${({ theme }) => theme.motion.duration.fast} ease;\n\n ${({ $clickable, theme }) =>\n $clickable &&\n css`\n &:hover {\n z-index: 1;\n transform: scale(1.03);\n box-shadow: ${theme.shadow.md};\n }\n `}\n\n &:focus-visible {\n z-index: 1;\n outline: 2px solid ${({ theme }) => theme.colors.border.focus};\n outline-offset: -2px;\n }\n`\n\nexport const Count = styled.span`\n display: inline-flex;\n align-items: center;\n justify-content: center;\n min-width: 24px;\n height: 24px;\n padding: 0 6px;\n border-radius: ${({ theme }) => theme.radius.full};\n background: ${({ theme }) => theme.colors.white};\n box-shadow: ${({ theme }) => theme.shadow.xs};\n font-size: ${({ theme }) => theme.typography.textSize.caption};\n color: ${({ theme }) => theme.colors.grey_1};\n`\n\nexport const Dot = styled.span<{ $color?: string }>`\n flex: none;\n width: 14px;\n height: 14px;\n border-radius: 50%;\n border: 2px solid ${({ theme }) => theme.colors.white};\n background: ${({ $color, theme }) =>\n getThemeColor($color ?? 'primary', theme)};\n`\n\nexport const More = styled.span`\n font-size: 11px;\n color: ${({ theme }) => theme.colors.grey_2};\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 Swatch = styled.span<{\n $color: string\n $symbolColor?: string\n $highlighted?: boolean\n}>`\n display: inline-flex;\n flex: none;\n align-items: center;\n justify-content: center;\n width: 18px;\n height: 18px;\n border-radius: ${({ theme }) => theme.radius.sm};\n background: ${({ $color, $highlighted, theme }) =>\n $highlighted\n ? highlightTint(theme.colors.white, theme)\n : getThemeColor($color, theme)};\n box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);\n font-size: 11px;\n font-weight: ${({ theme }) => theme.typography.fontWeight.bold};\n color: ${({ $symbolColor, theme }) =>\n $symbolColor ? getThemeColor($symbolColor, theme) : theme.colors.grey_1};\n`\n\nexport const LegendDescription = styled.div`\n padding: ${({ theme }) => theme.spacing.md};\n font-size: ${({ theme }) => theme.typography.textSize.bodySm};\n line-height: ${({ theme }) => theme.typography.lineHeight.normal};\n color: ${({ theme }) => theme.colors.grey_1};\n`\n"],"names":["highlightTint","base","theme","colors","primary","Wrapper","styled","div","spacing","md","typography","fontFamily","Body","sm","AxisTitle","span","textSize","caption","fontWeight","semibold","grey_2","$vertical","css","Scroll","thinScrollbar","Grid","$columns","$rows","$variant","grey_4","radius","Header","$row","grey_5","HeaderLabel","bodySm","grey_1","HeaderSublabel","Cell","$background","$highlighted","getThemeColor","white","$color","$clickable","motion","duration","fast","shadow","border","focus","Count","full","xs","Dot","More","Legend","ul","lg","LegendItem","li","Swatch","bold","$symbolColor","LegendDescription","lineHeight","normal"],"mappings":"6KAOA,MAAMA,EAAgBA,CAACC,EAAcC,IACb,sBAAAA,EAAMC,OAAOC,gBAAgBH,KAExCI,EAAUC,EAAOC,GAAG;;;SAGxB,EAAGL,WAAYA,EAAMM,QAAQC;;;iBAGrB,EAAGP,WAAYA,EAAM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AAarD,EAAOsD,EAAE;;;SAG1B,EAAG1D,WAAYA,EAAMM,QAAQK;eACvB,EAAGX,WAAYA,EAAMQ,WAAWM,SAASmB;WAC7C,EAAGjC,WAAYA,EAAMC,OAAOiB;EAG1ByC,EAASvD,EAAOS,IAI3B;;;;;;;mBAOiB,EAAGb,WAAYA,EAAM4B,OAAOjB;gBAC/B,EAAG8B,SAAQH,eAActC,WACrCsC,EACIxC,EAAcE,EAAMC,OAAOuC,MAAOxC,GAClCuC,EAAcE,EAAQzC;;;iBAGb,EAAGA,WAAYA,EAAMQ,WAAWQ,WAAW4C;WACjD,EAAGC,eAAc7D,WACxB6D,EAAetB,EAAcsB,EAAc7D,GAASA,EAAMC,OAAOiC;EAGxD4B,EAAoB1D,EAAOC,GAAG;aAC9B,EAAGL,WAAYA,EAAMM,QAAQC;eAC3B,EAAGP,WAAYA,EAAMQ,WAAWM,SAASmB;iBACvC,EAAGjC,WAAYA,EAAMQ,WAAWuD,WAAWC;WACjD,EAAGhE,WAAYA,EAAMC,OAAOiC;"}
@@ -1,4 +1,4 @@
1
- import{styled as e,css as o}from"styled-components";const t=e.aside`
1
+ import{styled as e,css as o}from"styled-components";import{thinScrollbar as t}from"../../../theme/scrollbar.js";const r=e.aside`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: ${({$width:e})=>e};
@@ -17,32 +17,33 @@ import{styled as e,css as o}from"styled-components";const t=e.aside`
17
17
  gap: ${({theme:e})=>e.spacing.sm};
18
18
  padding: ${({theme:e})=>e.spacing.md};
19
19
  padding-bottom: ${({theme:e})=>e.spacing.sm};
20
- `,r=e.div`
20
+ `,d=e.div`
21
21
  display: flex;
22
22
  align-items: flex-start;
23
23
  justify-content: space-between;
24
24
  gap: ${({theme:e})=>e.spacing.sm};
25
- `,d=e.h3`
25
+ `,n=e.h3`
26
26
  margin: 0;
27
27
  font-size: ${({theme:e})=>e.typography.textSize.bodySm};
28
28
  font-weight: ${({theme:e})=>e.typography.fontWeight.semibold};
29
29
  color: ${({theme:e})=>e.colors.grey_1};
30
- `,n=e.p`
30
+ `,s=e.p`
31
31
  margin: 2px 0 0;
32
32
  font-size: ${({theme:e})=>e.typography.textSize.caption};
33
33
  color: ${({theme:e})=>e.colors.grey_2};
34
- `,s=e.div`
34
+ `,a=e.div`
35
35
  display: flex;
36
36
  flex: 1;
37
37
  flex-direction: column;
38
38
  gap: ${({theme:e})=>e.spacing.sm};
39
39
  min-height: 0;
40
40
  overflow-y: auto;
41
+ ${t}
41
42
  padding: ${({theme:e})=>e.spacing.sm} ${({theme:e})=>e.spacing.md};
42
- `,a=e.div`
43
+ `,l=e.div`
43
44
  padding: ${({theme:e})=>e.spacing.sm} ${({theme:e})=>e.spacing.md};
44
45
  border-top: 1px solid ${({theme:e})=>e.colors.grey_5};
45
- `,l=e.button`
46
+ `,m=e.button`
46
47
  display: flex;
47
48
  flex: none;
48
49
  align-items: flex-start;
@@ -63,7 +64,7 @@ import{styled as e,css as o}from"styled-components";const t=e.aside`
63
64
  outline: 2px solid ${({theme:e})=>e.colors.border.focus};
64
65
  outline-offset: 2px;
65
66
  }
66
- `,m=e.button`
67
+ `,c=e.button`
67
68
  display: flex;
68
69
  flex-direction: column;
69
70
  gap: 4px;
@@ -106,5 +107,5 @@ import{styled as e,css as o}from"styled-components";const t=e.aside`
106
107
  outline: 2px solid ${({theme:e})=>e.colors.border.focus};
107
108
  outline-offset: 2px;
108
109
  }
109
- `;export{l as CollapsedStrip,n as Description,a as Footer,i as Header,m as Item,s as List,t as Panel,d as Title,r as TitleRow};
110
+ `;export{m as CollapsedStrip,s as Description,l as Footer,i as Header,c as Item,a as List,r as Panel,n as Title,d as TitleRow};
110
111
  //# sourceMappingURL=side-panel.styles.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"side-panel.styles.js","sources":["../../../../../src/components/data-display/side-panel/side-panel.styles.tsx"],"sourcesContent":["import { css, styled } from 'styled-components'\n\nexport const Panel = styled.aside<{ $width: string }>`\n display: flex;\n flex-direction: column;\n width: ${({ $width }) => $width};\n min-width: 0;\n min-height: 0;\n max-height: 100%;\n border: 1px solid ${({ theme }) => theme.colors.grey_5};\n border-radius: ${({ theme }) => theme.radius.xl};\n background: ${({ theme }) => theme.colors.white};\n box-shadow: ${({ theme }) => theme.box_shadow.card};\n font-family: ${({ theme }) => theme.typography.fontFamily};\n overflow: hidden;\n`\n\nexport const Header = styled.div`\n display: flex;\n flex-direction: column;\n gap: ${({ theme }) => theme.spacing.sm};\n padding: ${({ theme }) => theme.spacing.md};\n padding-bottom: ${({ theme }) => theme.spacing.sm};\n`\n\nexport const TitleRow = styled.div`\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n gap: ${({ theme }) => theme.spacing.sm};\n`\n\nexport const Title = styled.h3`\n margin: 0;\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 Description = styled.p`\n margin: 2px 0 0;\n font-size: ${({ theme }) => theme.typography.textSize.caption};\n color: ${({ theme }) => theme.colors.grey_2};\n`\n\nexport const List = styled.div`\n display: flex;\n flex: 1;\n flex-direction: column;\n gap: ${({ theme }) => theme.spacing.sm};\n min-height: 0;\n overflow-y: auto;\n padding: ${({ theme }) => theme.spacing.sm} ${({ theme }) => theme.spacing.md};\n`\n\nexport const Footer = styled.div`\n padding: ${({ theme }) => theme.spacing.sm} ${({ theme }) => theme.spacing.md};\n border-top: 1px solid ${({ theme }) => theme.colors.grey_5};\n`\n\nexport const CollapsedStrip = styled.button`\n display: flex;\n flex: none;\n align-items: flex-start;\n justify-content: center;\n width: 40px;\n min-height: 120px;\n padding: ${({ theme }) => theme.spacing.sm};\n border: none;\n border-radius: ${({ theme }) => theme.radius.md};\n background: ${({ theme }) => theme.colors.grey_6};\n cursor: pointer;\n\n &:hover {\n background: ${({ theme }) => theme.colors.grey_5};\n }\n\n &:focus-visible {\n outline: 2px solid ${({ theme }) => theme.colors.border.focus};\n outline-offset: 2px;\n }\n`\n\nexport const Item = styled.button<{ $selected: boolean }>`\n display: flex;\n flex-direction: column;\n gap: 4px;\n width: 100%;\n padding: ${({ theme }) => theme.spacing.sm}\n ${({ theme }) => theme.spacing[1.5]};\n border: 1px solid ${({ theme }) => theme.colors.grey_4};\n border-radius: ${({ theme }) => theme.radius.md};\n background: ${({ theme }) => theme.colors.white};\n font: inherit;\n text-align: left;\n cursor: pointer;\n transition: background-color ${({ theme }) => theme.motion.duration.fast} ease;\n\n &:hover:not(:disabled) {\n background: ${({ theme }) => theme.colors.grey_6};\n }\n\n ${({ $selected, theme }) =>\n $selected &&\n css`\n border-color: transparent;\n background:\n linear-gradient(${theme.colors.white}, ${theme.colors.white})\n padding-box,\n ${theme.colors.brand.gradient} border-box;\n\n &:hover:not(:disabled) {\n background:\n linear-gradient(${theme.colors.grey_6}, ${theme.colors.grey_6})\n padding-box,\n ${theme.colors.brand.gradient} border-box;\n }\n `}\n\n &:disabled {\n cursor: not-allowed;\n opacity: 0.5;\n }\n\n &:focus-visible {\n outline: 2px solid ${({ theme }) => theme.colors.border.focus};\n outline-offset: 2px;\n }\n`\n"],"names":["Panel","styled","aside","$width","theme","colors","grey_5","radius","xl","white","box_shadow","card","typography","fontFamily","Header","div","spacing","sm","md","TitleRow","Title","h3","textSize","bodySm","fontWeight","semibold","grey_1","Description","p","caption","grey_2","List","Footer","CollapsedStrip","button","grey_6","border","focus","Item","grey_4","motion","duration","fast","$selected","css","brand","gradient"],"mappings":"oDAEaA,MAAAA,EAAQC,EAAOC,KAAyB;;;WAG1C,EAAGC,YAAaA;;;;sBAIL,EAAGC,WAAYA,EAAMC,OAAOC;mBAC/B,EAAGF,WAAYA,EAAMG,OAAOC;gBAC/B,EAAGJ,WAAYA,EAAMC,OAAOI;gBAC5B,EAAGL,WAAYA,EAAMM,WAAWC;iBAC/B,EAAGP,WAAYA,EAAMQ,WAAWC;;EAIpCC,EAASb,EAAOc,GAAG;;;SAGvB,EAAGX,WA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;;kBAGpD,EAAGtC,WAAYA,EAAMC,OAAO8B;;;IAG1C,EAAGQ,YAAWvC,WACduC,GACAC,CAAG;;;0BAGmBxC,EAAMC,OAAOI,UAAUL,EAAMC,OAAOI;;UAEpDL,EAAMC,OAAOwC,MAAMC;;;;4BAID1C,EAAMC,OAAO8B,WAAW/B,EAAMC,OAAO8B;;YAErD/B,EAAMC,OAAOwC,MAAMC;;;;;;;;;;yBAUN,EAAG1C,WAAYA,EAAMC,OAAO+B,OAAOC;;;"}
1
+ {"version":3,"file":"side-panel.styles.js","sources":["../../../../../src/components/data-display/side-panel/side-panel.styles.tsx"],"sourcesContent":["import { css, styled } from 'styled-components'\n\nimport { thinScrollbar } from '../../../theme'\n\nexport const Panel = styled.aside<{ $width: string }>`\n display: flex;\n flex-direction: column;\n width: ${({ $width }) => $width};\n min-width: 0;\n min-height: 0;\n max-height: 100%;\n border: 1px solid ${({ theme }) => theme.colors.grey_5};\n border-radius: ${({ theme }) => theme.radius.xl};\n background: ${({ theme }) => theme.colors.white};\n box-shadow: ${({ theme }) => theme.box_shadow.card};\n font-family: ${({ theme }) => theme.typography.fontFamily};\n overflow: hidden;\n`\n\nexport const Header = styled.div`\n display: flex;\n flex-direction: column;\n gap: ${({ theme }) => theme.spacing.sm};\n padding: ${({ theme }) => theme.spacing.md};\n padding-bottom: ${({ theme }) => theme.spacing.sm};\n`\n\nexport const TitleRow = styled.div`\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n gap: ${({ theme }) => theme.spacing.sm};\n`\n\nexport const Title = styled.h3`\n margin: 0;\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 Description = styled.p`\n margin: 2px 0 0;\n font-size: ${({ theme }) => theme.typography.textSize.caption};\n color: ${({ theme }) => theme.colors.grey_2};\n`\n\nexport const List = styled.div`\n display: flex;\n flex: 1;\n flex-direction: column;\n gap: ${({ theme }) => theme.spacing.sm};\n min-height: 0;\n overflow-y: auto;\n ${thinScrollbar}\n padding: ${({ theme }) => theme.spacing.sm} ${({ theme }) =>\n theme.spacing.md};\n`\n\nexport const Footer = styled.div`\n padding: ${({ theme }) => theme.spacing.sm} ${({ theme }) => theme.spacing.md};\n border-top: 1px solid ${({ theme }) => theme.colors.grey_5};\n`\n\nexport const CollapsedStrip = styled.button`\n display: flex;\n flex: none;\n align-items: flex-start;\n justify-content: center;\n width: 40px;\n min-height: 120px;\n padding: ${({ theme }) => theme.spacing.sm};\n border: none;\n border-radius: ${({ theme }) => theme.radius.md};\n background: ${({ theme }) => theme.colors.grey_6};\n cursor: pointer;\n\n &:hover {\n background: ${({ theme }) => theme.colors.grey_5};\n }\n\n &:focus-visible {\n outline: 2px solid ${({ theme }) => theme.colors.border.focus};\n outline-offset: 2px;\n }\n`\n\nexport const Item = styled.button<{ $selected: boolean }>`\n display: flex;\n flex-direction: column;\n gap: 4px;\n width: 100%;\n padding: ${({ theme }) => theme.spacing.sm}\n ${({ theme }) => theme.spacing[1.5]};\n border: 1px solid ${({ theme }) => theme.colors.grey_4};\n border-radius: ${({ theme }) => theme.radius.md};\n background: ${({ theme }) => theme.colors.white};\n font: inherit;\n text-align: left;\n cursor: pointer;\n transition: background-color ${({ theme }) => theme.motion.duration.fast} ease;\n\n &:hover:not(:disabled) {\n background: ${({ theme }) => theme.colors.grey_6};\n }\n\n ${({ $selected, theme }) =>\n $selected &&\n css`\n border-color: transparent;\n background:\n linear-gradient(${theme.colors.white}, ${theme.colors.white})\n padding-box,\n ${theme.colors.brand.gradient} border-box;\n\n &:hover:not(:disabled) {\n background:\n linear-gradient(${theme.colors.grey_6}, ${theme.colors.grey_6})\n padding-box,\n ${theme.colors.brand.gradient} border-box;\n }\n `}\n\n &:disabled {\n cursor: not-allowed;\n opacity: 0.5;\n }\n\n &:focus-visible {\n outline: 2px solid ${({ theme }) => theme.colors.border.focus};\n outline-offset: 2px;\n }\n`\n"],"names":["Panel","styled","aside","$width","theme","colors","grey_5","radius","xl","white","box_shadow","card","typography","fontFamily","Header","div","spacing","sm","md","TitleRow","Title","h3","textSize","bodySm","fontWeight","semibold","grey_1","Description","p","caption","grey_2","List","thinScrollbar","Footer","CollapsedStrip","button","grey_6","border","focus","Item","grey_4","motion","duration","fast","$selected","css","brand","gradient"],"mappings":"gHAIaA,MAAAA,EAAQC,EAAOC,KAAyB;;;WAG1C,EAAGC,YAAaA;;;;sBAIL,EAAGC,WAAYA,EAAMC,OAAOC;mBAC/B,EAAGF,WAAYA,EAAMG,OAAOC;gBAC/B,EAAGJ,WAAYA,EAAMC,OAAOI;gBAC5B,EAAGL,WAAYA,EAAMM,WAAWC;iBAC/B,EAAGP,WAAYA,EAAMQ,WAAWC;;EAIpCC,EAASb,EAAOc,GAAG;;;SAGvB,EAAGX,WAAYA,EAAMY,QAAQC;aACzB,EAAGb,WAAYA,EAAMY,QAAQE;oBACtB,EAAGd,WAAYA,EAAMY,QAAQC;EAGpCE,EAAWlB,EAAOc,GAAG;;;;SAIzB,EAAGX,WAAYA,EAAMY,QAAQC;EAGzBG,EAAQnB,EAAOoB,EAAE;;eAEf,EAAGjB,WAAYA,EAAMQ,WAAWU,SAASC;iBACvC,EAAGnB,WAAYA,EAAMQ,WAAWY,WAAWC;WACjD,EAAGrB,WAAYA,EAAMC,OAAOqB;EAG1BC,EAAc1B,EAAO2B,CAAC;;eAEpB,EAAGxB,WAAYA,EAAMQ,WAAWU,SAASO;WAC7C,EAAGzB,WAAYA,EAAMC,OAAOyB;EAG1BC,EAAO9B,EAAOc,GAAG;;;;SAIrB,EAAGX,WAAYA,EAAMY,QAAQC;;;IAGlCe;aACS,EAAG5B,WAAYA,EAAMY,QAAQC,MAAM,EAAGb,WAC/CA,EAAMY,QAAQE;EAGLe,EAAShC,EAAOc,GAAG;aACnB,EAAGX,WAAYA,EAAMY,QAAQC,MAAM,EAAGb,WAAYA,EAAMY,QAAQE;0BACnD,EAAGd,WAAYA,EAAMC,OAAOC;EAGzC4B,EAAiBjC,EAAOkC,MAAM;;;;;;;aAO9B,EAAG/B,WAAYA,EAAMY,QAAQC;;mBAEvB,EAAGb,WAAYA,EAAMG,OAAOW;gBAC/B,EAAGd,WAAYA,EAAMC,OAAO+B;;;;kBAI1B,EAAGhC,WAAYA,EAAMC,OAAOC;;;;yBAIrB,EAAGF,WAAYA,EAAMC,OAAOgC,OAAOC;;;EAK/CC,EAAOtC,EAAOkC,MAA8B;;;;;aAK5C,EAAG/B,WAAYA,EAAMY,QAAQC;MACpC,EAAGb,WAAYA,EAAMY,QAAQ;sBACb,EAAGZ,WAAYA,EAAMC,OAAOmC;mBAC/B,EAAGpC,WAAYA,EAAMG,OAAOW;gBAC/B,EAAGd,WAAYA,EAAMC,OAAOI;;;;iCAIX,EAAGL,WAAYA,EAAMqC,OAAOC,SAASC;;;kBAGpD,EAAGvC,WAAYA,EAAMC,OAAO+B;;;IAG1C,EAAGQ,YAAWxC,WACdwC,GACAC,CAAG;;;0BAGmBzC,EAAMC,OAAOI,UAAUL,EAAMC,OAAOI;;UAEpDL,EAAMC,OAAOyC,MAAMC;;;;4BAID3C,EAAMC,OAAO+B,WAAWhC,EAAMC,OAAO+B;;YAErDhC,EAAMC,OAAOyC,MAAMC;;;;;;;;;;yBAUN,EAAG3C,WAAYA,EAAMC,OAAOgC,OAAOC;;;"}
@@ -1,4 +1,4 @@
1
- import{styled as e}from"styled-components";import{fieldShadow as o,fieldBorder as r}from"../form.styles.js";import{Box as t}from"../../layout/box/box.comp.js";import{getThemeColor as i}from"../../../theme/theme.util.js";import{Text as d}from"../../typography/text/text.comp.js";const a=e(t).withConfig({shouldForwardProp:e=>!["focused"].includes(e)})`
1
+ import{styled as e}from"styled-components";import{fieldShadow as o,fieldBorder as r}from"../form.styles.js";import{Box as t}from"../../layout/box/box.comp.js";import{getThemeColor as i}from"../../../theme/theme.util.js";import{thinScrollbar as d}from"../../../theme/scrollbar.js";import{Text as n}from"../../typography/text/text.comp.js";const s=e(t).withConfig({shouldForwardProp:e=>!["focused"].includes(e)})`
2
2
  min-height: 44px;
3
3
  width: 100%;
4
4
  border-radius: ${({theme:e})=>e.border_radius.input};
@@ -16,7 +16,7 @@ import{styled as e}from"styled-components";import{fieldShadow as o,fieldBorder a
16
16
  ${({disabled:e,theme:o})=>e&&`background-color: ${i("grey_5",o)};`}
17
17
 
18
18
  ${r}
19
- `,n=e.input.withConfig({shouldForwardProp:e=>![""].includes(e)})`
19
+ `,a=e.input.withConfig({shouldForwardProp:e=>![""].includes(e)})`
20
20
  min-height: 100%;
21
21
  width: 100%;
22
22
  border: none;
@@ -27,25 +27,12 @@ import{styled as e}from"styled-components";import{fieldShadow as o,fieldBorder a
27
27
  &:focus {
28
28
  outline: none;
29
29
  }
30
- `,s=e(t)`
30
+ `,m=e(t)`
31
31
  flex-direction: column;
32
32
  max-height: 300px;
33
33
  overflow-y: auto;
34
34
  background-color: ${({theme:e})=>i("white",e)};
35
-
36
- &::-webkit-scrollbar {
37
- width: 10px;
38
- }
39
- &::-webkit-scrollbar-track {
40
- background: ${e=>i("white",e.theme)};
41
- }
42
- &::-webkit-scrollbar-thumb {
43
- border-radius: 8px;
44
- background: ${e=>i("grey_5",e.theme)};
45
- }
46
- &::-webkit-scrollbar-thumb:hover {
47
- background: ${e=>i("grey_4",e.theme)};
48
- }
35
+ ${d}
49
36
 
50
37
  div {
51
38
  border-bottom: 1px solid ${({theme:e})=>i("grey_5",e)};
@@ -69,7 +56,7 @@ import{styled as e}from"styled-components";import{fieldShadow as o,fieldBorder a
69
56
  gap: ${({theme:e})=>e.spacing[1]};
70
57
  max-width: 50%;
71
58
  flex-wrap: wrap;
72
- `,m=e(t)`
59
+ `,p=e(t)`
73
60
  background-color: ${({theme:e})=>i("grey_5",e)};
74
61
  border: 1px solid ${({theme:e})=>i("grey_4",e)};
75
62
  padding: 2px 4px;
@@ -78,14 +65,14 @@ import{styled as e}from"styled-components";import{fieldShadow as o,fieldBorder a
78
65
  align-items: center;
79
66
  gap: ${({theme:e})=>e.spacing[1]};
80
67
  max-width: 100%;
81
- `,p=e(t)`
68
+ `,c=e(t)`
82
69
  overflow: hidden;
83
- `,c=e(d)`
70
+ `,g=e(n)`
84
71
  width: 100%;
85
72
  p {
86
73
  text-overflow: ellipsis;
87
74
  white-space: nowrap;
88
75
  overflow: hidden;
89
76
  }
90
- `;export{a as InputContainer,h as Option,s as OptionsContainer,n as StyledInput,m as Tag,l as TagContainer,c as TagText,p as TagTextContainer};
77
+ `;export{s as InputContainer,h as Option,m as OptionsContainer,a as StyledInput,p as Tag,l as TagContainer,g as TagText,c as TagTextContainer};
91
78
  //# sourceMappingURL=autocomplete.styles.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"autocomplete.styles.js","sources":["../../../../../src/components/forms/autocomplete/autocomplete.styles.tsx"],"sourcesContent":["import { styled } from 'styled-components'\n\nimport { getThemeColor } from '../../../theme'\nimport { IconsName } from '../../icons'\nimport { Box } from '../../layout'\nimport { Text } from '../../typography'\nimport { fieldBorder, fieldShadow } from '../form.styles'\nimport { InputState } from '../form.types'\n\nexport const InputContainer = styled(Box).withConfig({\n shouldForwardProp: (prop) => !['focused'].includes(prop),\n})<{\n focused?: boolean\n disabled?: boolean\n state?: InputState\n $borderColor?: string\n}>`\n min-height: 44px;\n width: 100%;\n border-radius: ${({ theme }) => theme.border_radius.input};\n padding: ${({ theme }) => `${theme.spacing['1']} ${theme.spacing['2']}`};\n border: 1px solid ${({ theme }) => getThemeColor('grey_4', theme)};\n box-shadow: ${({ theme, state, focused, $borderColor }) =>\n fieldShadow(theme, state, !!focused, $borderColor)};\n transition:\n box-shadow 250ms ease-out,\n border-color 200ms ease;\n width: 100%;\n align-items: center;\n background-color: ${({ theme }) => getThemeColor('white', theme)};\n outline: none;\n\n ${({ disabled, theme }) =>\n disabled && `background-color: ${getThemeColor('grey_5', theme)};`}\n\n ${fieldBorder}\n`\nexport const StyledInput = styled.input.withConfig({\n shouldForwardProp: (prop) => ![''].includes(prop),\n})<{ icon?: IconsName }>`\n min-height: 100%;\n width: 100%;\n border: none;\n background: none;\n color: ${({ theme }) => getThemeColor('grey_1', theme)};\n font-size: ${({ theme }) => theme.typography.body_size.normal};\n\n &:focus {\n outline: none;\n }\n`\n\nexport const OptionsContainer = styled(Box)`\n flex-direction: column;\n max-height: 300px;\n overflow-y: auto;\n background-color: ${({ theme }) => getThemeColor('white', theme)};\n\n &::-webkit-scrollbar {\n width: 10px;\n }\n &::-webkit-scrollbar-track {\n background: ${(props) => getThemeColor('white', props.theme)};\n }\n &::-webkit-scrollbar-thumb {\n border-radius: 8px;\n background: ${(props) => getThemeColor('grey_5', props.theme)};\n }\n &::-webkit-scrollbar-thumb:hover {\n background: ${(props) => getThemeColor('grey_4', props.theme)};\n }\n\n div {\n border-bottom: 1px solid ${({ theme }) => getThemeColor('grey_5', theme)};\n }\n\n div:last-child {\n border-bottom: none;\n }\n`\n\nexport const Option = styled(Box)<{ selected: boolean; disabled?: boolean }>`\n width: 100%;\n padding: ${({ theme }) => `${theme.spacing['1']} ${theme.spacing['2']}`};\n background-color: ${({ selected, theme }) =>\n selected ? getThemeColor('secondary', theme) : 'transparent'};\n border-bottom: 1px solid ${({ theme }) => getThemeColor('grey_5', theme)};\n cursor: ${({ disabled }) => (disabled ? 'initial' : 'pointer')};\n\n &:hover {\n background-color: ${({ selected, disabled, theme }) =>\n selected || disabled ? undefined : getThemeColor('grey_5', theme)};\n }\n`\n\nexport const TagContainer = styled(Box)`\n display: flex;\n gap: ${({ theme }) => theme.spacing['1']};\n max-width: 50%;\n flex-wrap: wrap;\n`\n\nexport const Tag = styled(Box)`\n background-color: ${({ theme }) => getThemeColor('grey_5', theme)};\n border: 1px solid ${({ theme }) => getThemeColor('grey_4', theme)};\n padding: 2px 4px;\n border-radius: ${({ theme }) => theme.border_radius.input};\n display: flex;\n align-items: center;\n gap: ${({ theme }) => theme.spacing['1']};\n max-width: 100%;\n`\n\nexport const TagTextContainer = styled(Box)`\n overflow: hidden;\n`\n\nexport const TagText = styled(Text)`\n width: 100%;\n p {\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n }\n`\n"],"names":["InputContainer","styled","Box","withConfig","shouldForwardProp","prop","includes","theme","border_radius","input","spacing","getThemeColor","state","focused","$borderColor","fieldShadow","disabled","fieldBorder","StyledInput","typography","body_size","normal","OptionsContainer","props","Option","selected","undefined","TagContainer","Tag","TagTextContainer","TagText","Text"],"mappings":"sRASO,MAAMA,EAAiBC,EAAOC,GAAKC,WAAW,CACnDC,kBAAoBC,IAAU,CAAC,WAAWC,SAASD,IAMnD;;;mBAGiB,EAAGE,WAAYA,EAAMC,cAAcC;aACzC,EAAGF,WAAY,GAAGA,EAAMG,QAAQ,MAAQH,EAAMG,QAAQ;sBAC7C,EAAGH,WAAYI,EAAc,SAAUJ;gBAC7C,EAAGA,QAAOK,QAAOC,UAASC,kBACtCC,EAAYR,EAAOK,IAASC,EAASC;;;;;;sBAMnB,EAAGP,WAAYI,EAAc,QAASJ;;;IAGxD,EAAGS,WAAUT,WACbS,wBAAiCL,EAAc,SAAUJ;;IAEzDU;EAESC,EAAcjB,EAAOQ,MAAMN,WAAW,CACjDC,kBAAoBC,IAAU,CAAC,IAAIC,SAASD,IACtB;;;;;WAKb,EAAGE,WAAYI,EAAc,SAAUJ;eACnC,EAAGA,WAAYA,EAAMY,WAAWC,UAAUC;;;;;EAO5CC,EAAmBrB,EAAOC,EAAI;;;;sBAIrB,EAAGK,WAAYI,EAAc,QAASJ;;;;;;kBAMzCgB,GAAUZ,EAAc,QAASY,EAAMhB;;;;kBAIvCgB,GAAUZ,EAAc,SAAUY,EAAMhB;;;kBAGxCgB,GAAUZ,EAAc,SAAUY,EAAMhB;;;;+BAI5B,EAAGA,WAAYI,EAAc,SAAUJ;;;;;;EAQzDiB,EAASvB,EAAOC,EAA+C;;aAE/D,EAAGK,WAAY,GAAGA,EAAMG,QAAQ,MAAQH,EAAMG,QAAQ;sBAC7C,EAAGe,WAAUlB,WAC/BkB,EAAWd,EAAc,YAAaJ,GAAS;6BACtB,EAAGA,WAAYI,EAAc,SAAUJ;YACxD,EAAGS,cAAgBA,EAAW,UAAY;;;wBAG9B,EAAGS,WAAUT,WAAUT,WACzCkB,GAAYT,OAAWU,EAAYf,EAAc,SAAUJ;;EAIpDoB,EAAe1B,EAAOC,EAAI;;SAE9B,EAAGK,WAAYA,EAAMG,QAAQ;;;EAKzBkB,EAAM3B,EAAOC,EAAI;sBACR,EAAGK,WAAYI,EAAc,SAAUJ;sBACvC,EAAGA,WAAYI,EAAc,SAAUJ;;mBAE1C,EAAGA,WAAYA,EAAMC,cAAcC;;;SAG7C,EAAGF,WAAYA,EAAMG,QAAQ;;EAIzBmB,EAAmB5B,EAAOC,EAAI;;EAI9B4B,EAAU7B,EAAO8B,EAAK;;;;;;;"}
1
+ {"version":3,"file":"autocomplete.styles.js","sources":["../../../../../src/components/forms/autocomplete/autocomplete.styles.tsx"],"sourcesContent":["import { styled } from 'styled-components'\n\nimport { getThemeColor, thinScrollbar } from '../../../theme'\nimport { IconsName } from '../../icons'\nimport { Box } from '../../layout'\nimport { Text } from '../../typography'\nimport { fieldBorder, fieldShadow } from '../form.styles'\nimport { InputState } from '../form.types'\n\nexport const InputContainer = styled(Box).withConfig({\n shouldForwardProp: (prop) => !['focused'].includes(prop),\n})<{\n focused?: boolean\n disabled?: boolean\n state?: InputState\n $borderColor?: string\n}>`\n min-height: 44px;\n width: 100%;\n border-radius: ${({ theme }) => theme.border_radius.input};\n padding: ${({ theme }) => `${theme.spacing['1']} ${theme.spacing['2']}`};\n border: 1px solid ${({ theme }) => getThemeColor('grey_4', theme)};\n box-shadow: ${({ theme, state, focused, $borderColor }) =>\n fieldShadow(theme, state, !!focused, $borderColor)};\n transition:\n box-shadow 250ms ease-out,\n border-color 200ms ease;\n width: 100%;\n align-items: center;\n background-color: ${({ theme }) => getThemeColor('white', theme)};\n outline: none;\n\n ${({ disabled, theme }) =>\n disabled && `background-color: ${getThemeColor('grey_5', theme)};`}\n\n ${fieldBorder}\n`\nexport const StyledInput = styled.input.withConfig({\n shouldForwardProp: (prop) => ![''].includes(prop),\n})<{ icon?: IconsName }>`\n min-height: 100%;\n width: 100%;\n border: none;\n background: none;\n color: ${({ theme }) => getThemeColor('grey_1', theme)};\n font-size: ${({ theme }) => theme.typography.body_size.normal};\n\n &:focus {\n outline: none;\n }\n`\n\nexport const OptionsContainer = styled(Box)`\n flex-direction: column;\n max-height: 300px;\n overflow-y: auto;\n background-color: ${({ theme }) => getThemeColor('white', theme)};\n ${thinScrollbar}\n\n div {\n border-bottom: 1px solid ${({ theme }) => getThemeColor('grey_5', theme)};\n }\n\n div:last-child {\n border-bottom: none;\n }\n`\n\nexport const Option = styled(Box)<{ selected: boolean; disabled?: boolean }>`\n width: 100%;\n padding: ${({ theme }) => `${theme.spacing['1']} ${theme.spacing['2']}`};\n background-color: ${({ selected, theme }) =>\n selected ? getThemeColor('secondary', theme) : 'transparent'};\n border-bottom: 1px solid ${({ theme }) => getThemeColor('grey_5', theme)};\n cursor: ${({ disabled }) => (disabled ? 'initial' : 'pointer')};\n\n &:hover {\n background-color: ${({ selected, disabled, theme }) =>\n selected || disabled ? undefined : getThemeColor('grey_5', theme)};\n }\n`\n\nexport const TagContainer = styled(Box)`\n display: flex;\n gap: ${({ theme }) => theme.spacing['1']};\n max-width: 50%;\n flex-wrap: wrap;\n`\n\nexport const Tag = styled(Box)`\n background-color: ${({ theme }) => getThemeColor('grey_5', theme)};\n border: 1px solid ${({ theme }) => getThemeColor('grey_4', theme)};\n padding: 2px 4px;\n border-radius: ${({ theme }) => theme.border_radius.input};\n display: flex;\n align-items: center;\n gap: ${({ theme }) => theme.spacing['1']};\n max-width: 100%;\n`\n\nexport const TagTextContainer = styled(Box)`\n overflow: hidden;\n`\n\nexport const TagText = styled(Text)`\n width: 100%;\n p {\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n }\n`\n"],"names":["InputContainer","styled","Box","withConfig","shouldForwardProp","prop","includes","theme","border_radius","input","spacing","getThemeColor","state","focused","$borderColor","fieldShadow","disabled","fieldBorder","StyledInput","typography","body_size","normal","OptionsContainer","thinScrollbar","Option","selected","undefined","TagContainer","Tag","TagTextContainer","TagText","Text"],"mappings":"kVASO,MAAMA,EAAiBC,EAAOC,GAAKC,WAAW,CACnDC,kBAAoBC,IAAU,CAAC,WAAWC,SAASD,IAMnD;;;mBAGiB,EAAGE,WAAYA,EAAMC,cAAcC;aACzC,EAAGF,WAAY,GAAGA,EAAMG,QAAQ,MAAQH,EAAMG,QAAQ;sBAC7C,EAAGH,WAAYI,EAAc,SAAUJ;gBAC7C,EAAGA,QAAOK,QAAOC,UAASC,kBACtCC,EAAYR,EAAOK,IAASC,EAASC;;;;;;sBAMnB,EAAGP,WAAYI,EAAc,QAASJ;;;IAGxD,EAAGS,WAAUT,WACbS,wBAAiCL,EAAc,SAAUJ;;IAEzDU;EAESC,EAAcjB,EAAOQ,MAAMN,WAAW,CACjDC,kBAAoBC,IAAU,CAAC,IAAIC,SAASD,IACtB;;;;;WAKb,EAAGE,WAAYI,EAAc,SAAUJ;eACnC,EAAGA,WAAYA,EAAMY,WAAWC,UAAUC;;;;;EAO5CC,EAAmBrB,EAAOC,EAAI;;;;sBAIrB,EAAGK,WAAYI,EAAc,QAASJ;IACxDgB;;;+BAG2B,EAAGhB,WAAYI,EAAc,SAAUJ;;;;;;EAQzDiB,EAASvB,EAAOC,EAA+C;;aAE/D,EAAGK,WAAY,GAAGA,EAAMG,QAAQ,MAAQH,EAAMG,QAAQ;sBAC7C,EAAGe,WAAUlB,WAC/BkB,EAAWd,EAAc,YAAaJ,GAAS;6BACtB,EAAGA,WAAYI,EAAc,SAAUJ;YACxD,EAAGS,cAAgBA,EAAW,UAAY;;;wBAG9B,EAAGS,WAAUT,WAAUT,WACzCkB,GAAYT,OAAWU,EAAYf,EAAc,SAAUJ;;EAIpDoB,EAAe1B,EAAOC,EAAI;;SAE9B,EAAGK,WAAYA,EAAMG,QAAQ;;;EAKzBkB,EAAM3B,EAAOC,EAAI;sBACR,EAAGK,WAAYI,EAAc,SAAUJ;sBACvC,EAAGA,WAAYI,EAAc,SAAUJ;;mBAE1C,EAAGA,WAAYA,EAAMC,cAAcC;;;SAG7C,EAAGF,WAAYA,EAAMG,QAAQ;;EAIzBmB,EAAmB5B,EAAOC,EAAI;;EAI9B4B,EAAU7B,EAAO8B,EAAK;;;;;;;"}
@@ -1,4 +1,4 @@
1
- import{styled as r,css as e}from"styled-components";import{Box as t}from"../box/box.comp.js";const o=r(t)`
1
+ import{styled as r,css as e}from"styled-components";import{Box as t}from"../box/box.comp.js";import{thinScrollbar as o}from"../../../theme/scrollbar.js";const i=r(t)`
2
2
  position: fixed;
3
3
  top: 0;
4
4
  left: 0;
@@ -11,7 +11,7 @@ import{styled as r,css as e}from"styled-components";import{Box as t}from"../box/
11
11
  transition:
12
12
  opacity 0.3s ease,
13
13
  visibility 0.3s ease;
14
- `,i=r(t).attrs((({$transform:r})=>({style:{transform:r}})))`
14
+ `,a=r(t).attrs((({$transform:r})=>({style:{transform:r}})))`
15
15
  position: absolute;
16
16
  background-color: transparent;
17
17
  transition: transform 0.3s ease;
@@ -52,7 +52,7 @@ import{styled as r,css as e}from"styled-components";import{Box as t}from"../box/
52
52
  border-radius: 1rem 1rem 0 0;
53
53
  box-shadow: ${i.shadow.lg};
54
54
  `}}}
55
- `,a=r(t)`
55
+ `,s=r(t)`
56
56
  position: sticky;
57
57
  top: 0;
58
58
  flex-shrink: 0;
@@ -77,17 +77,19 @@ import{styled as r,css as e}from"styled-components";import{Box as t}from"../box/
77
77
  width: 100%;
78
78
  border-radius: 1rem 1rem 0 0;
79
79
  `}}};
80
- `,s=r(t)`
80
+ `,n=r(t)`
81
81
  width: 100%;
82
82
  height: 100%;
83
83
  flex: 1;
84
84
  overflow: auto;
85
+ ${o}
85
86
  flex-direction: column;
86
87
  background-color: ${({theme:r})=>r.colors.white};
87
88
  & > div {
88
89
  overflow: auto;
90
+ ${o}
89
91
  display: flex;
90
92
  flex-direction: column;
91
93
  }
92
- `,n=r(t).attrs((({$dragging:r})=>({style:{cursor:r?"grabbing":"grab",transition:r?"none":"transform 0.2s ease"}})))``;export{n as DragArea,a as DrawerButton,s as DrawerChildren,i as DrawerContainer,o as Overlay};
94
+ `,d=r(t).attrs((({$dragging:r})=>({style:{cursor:r?"grabbing":"grab",transition:r?"none":"transform 0.2s ease"}})))``;export{d as DragArea,s as DrawerButton,n as DrawerChildren,a as DrawerContainer,i as Overlay};
93
95
  //# sourceMappingURL=drawer.styles.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"drawer.styles.js","sources":["../../../../../src/components/layout/drawer/drawer.styles.tsx"],"sourcesContent":["import { css, styled } from 'styled-components'\n\nimport { Box } from '../box'\n\nexport const Overlay = styled(Box)<{\n open: boolean\n}>`\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background-color: transparent;\n z-index: ${({ theme }) => theme.zIndex?.drawer ?? 1100};\n opacity: ${({ open }) => (open ? 1 : 0)};\n visibility: ${({ open }) => (open ? 'visible' : 'hidden')};\n transition:\n opacity 0.3s ease,\n visibility 0.3s ease;\n`\n\nexport const DrawerContainer = styled(Box).attrs<{ $transform?: string }>(\n ({ $transform }) => ({ style: { transform: $transform } }),\n)<{\n open: boolean\n $anchor?: 'left' | 'right' | 'top' | 'bottom'\n height?: string | number\n}>`\n position: absolute;\n background-color: transparent;\n transition: transform 0.3s ease;\n cursor: pointer;\n max-width: 100%;\n box-sizing: border-box;\n\n ${({ open, $anchor, height, theme }) => {\n switch ($anchor) {\n case 'left':\n return css`\n top: 0;\n left: 0;\n height: 100%;\n width: ${typeof height === 'number' ? `${height}px` : height};\n transform: ${open ? 'translateX(0)' : 'translateX(-100%)'};\n border-radius: 0 1rem 1rem 0;\n box-shadow: ${theme.shadow.lg};\n `\n case 'right':\n return css`\n top: 0;\n right: 0;\n height: 100%;\n width: ${typeof height === 'number' ? `${height}px` : height};\n transform: ${open ? 'translateX(0)' : 'translateX(100%)'};\n border-radius: 1rem 0 0 1rem;\n box-shadow: ${theme.shadow.lg};\n `\n case 'top':\n return css`\n top: 0;\n left: 0;\n right: 0;\n height: ${typeof height === 'number' ? `${height}px` : height};\n transform: ${open ? 'translateY(0)' : 'translateY(-100%)'};\n border-radius: 0 0 1rem 1rem;\n box-shadow: ${theme.shadow.lg};\n `\n case 'bottom':\n default:\n return css`\n bottom: 0;\n left: 0;\n right: 0;\n height: ${typeof height === 'number' ? `${height}px` : height};\n transform: ${open ? 'translateY(0)' : 'translateY(100%)'};\n border-radius: 1rem 1rem 0 0;\n box-shadow: ${theme.shadow.lg};\n `\n }\n }}\n`\n\nexport const DrawerButton = styled(Box)<{\n $anchor?: 'left' | 'right' | 'top' | 'bottom'\n}>`\n position: sticky;\n top: 0;\n flex-shrink: 0;\n justify-content: center;\n align-items: center;\n padding: 0.25rem;\n background-color: ${({ theme }) => theme.colors.grey_5};\n min-height: 1.5rem;\n\n ${({ $anchor }) => {\n switch ($anchor) {\n case 'left':\n return css`\n border-radius: 0 1rem 1rem 0;\n height: 100%;\n width: 2rem;\n `\n case 'right':\n return css`\n border-radius: 1rem 0 0 1rem;\n height: 100%;\n width: 2rem;\n `\n case 'top':\n return css`\n width: 100%;\n border-radius: 0 0 1rem 1rem;\n `\n case 'bottom':\n default:\n return css`\n width: 100%;\n border-radius: 1rem 1rem 0 0;\n `\n }\n }};\n`\n\nexport const DrawerChildren = styled(Box)`\n width: 100%;\n height: 100%;\n flex: 1;\n overflow: auto;\n flex-direction: column;\n background-color: ${({ theme }) => theme.colors.white};\n & > div {\n overflow: auto;\n display: flex;\n flex-direction: column;\n }\n`\n\nexport const DragArea = styled(Box).attrs<{ $dragging: boolean }>(\n ({ $dragging }) => ({\n style: {\n cursor: $dragging ? 'grabbing' : 'grab',\n transition: $dragging ? 'none' : 'transform 0.2s ease',\n },\n }),\n)``\n"],"names":["Overlay","styled","Box","theme","zIndex","drawer","open","DrawerContainer","attrs","$transform","style","transform","$anchor","height","css","shadow","lg","DrawerButton","colors","grey_5","DrawerChildren","white","DragArea","$dragging","cursor","transition"],"mappings":"mGAIaA,EAAUC,EAAOC,EAE5B;;;;;;;aAOW,EAAGC,WAAYA,EAAMC,QAAQC,QAAU;aACvC,EAAGC,UAAYA,EAAO,EAAI;gBACvB,EAAGA,UAAYA,EAAO,UAAY;;;;EAMrCC,EAAkBN,EAAOC,GAAKM,OACzC,EAAGC,iBAAkB,CAAEC,MAAO,CAAEC,UAAWF,MAK3C;;;;;;;;IAQE,EAAGH,OAAMM,UAASC,SAAQV,YAC1B,OAAQS,GACN,IAAK,OACH,OAAOE,CAAG;;;;mBAImB,iBAAXD,EAAyB,GAAAA,MAAaA;uBACzCP,EAAO,gBAAkB;;wBAExBH,EAAMY,OAAOC;UAE/B,IAAK,QACH,OAAOF,CAAG;;;;mBAImB,iBAAXD,EAAyB,GAAAA,MAAaA;uBACzCP,EAAO,gBAAkB;;wBAExBH,EAAMY,OAAOC;UAE/B,IAAK,MACH,OAAOF,CAAG;;;;oBAIoB,iBAAXD,EAAyB,GAAAA,MAAaA;uBAC1CP,EAAO,gBAAkB;;wBAExBH,EAAMY,OAAOC;UAG/B,QACE,OAAOF,CAAG;;;;oBAIoB,iBAAXD,EAAyB,GAAAA,MAAaA;uBAC1CP,EAAO,gBAAkB;;wBAExBH,EAAMY,OAAOC;UAEjC;EAISC,EAAehB,EAAOC,EAEjC;;;;;;;sBAOoB,EAAGC,WAAYA,EAAMe,OAAOC;;;IAG9C,EAAGP,cACH,OAAQA,GACN,IAAK,OACH,OAAOE,CAAG;;;;UAKZ,IAAK,QACH,OAAOA,CAAG;;;;UAKZ,IAAK,MACH,OAAOA,CAAG;;;UAKZ,QACE,OAAOA,CAAG;;;UAId;EAISM,EAAiBnB,EAAOC,EAAI;;;;;;sBAMnB,EAAGC,WAAYA,EAAMe,OAAOG;;;;;;EAQrCC,EAAWrB,EAAOC,GAAKM,OAClC,EAAGe,gBAAiB,CAClBb,MAAO,CACLc,OAAQD,EAAY,WAAa,OACjCE,WAAYF,EAAY,OAAS,0BAGtC"}
1
+ {"version":3,"file":"drawer.styles.js","sources":["../../../../../src/components/layout/drawer/drawer.styles.tsx"],"sourcesContent":["import { css, styled } from 'styled-components'\n\nimport { thinScrollbar } from '../../../theme'\nimport { Box } from '../box'\n\nexport const Overlay = styled(Box)<{\n open: boolean\n}>`\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background-color: transparent;\n z-index: ${({ theme }) => theme.zIndex?.drawer ?? 1100};\n opacity: ${({ open }) => (open ? 1 : 0)};\n visibility: ${({ open }) => (open ? 'visible' : 'hidden')};\n transition:\n opacity 0.3s ease,\n visibility 0.3s ease;\n`\n\nexport const DrawerContainer = styled(Box).attrs<{ $transform?: string }>(\n ({ $transform }) => ({ style: { transform: $transform } }),\n)<{\n open: boolean\n $anchor?: 'left' | 'right' | 'top' | 'bottom'\n height?: string | number\n}>`\n position: absolute;\n background-color: transparent;\n transition: transform 0.3s ease;\n cursor: pointer;\n max-width: 100%;\n box-sizing: border-box;\n\n ${({ open, $anchor, height, theme }) => {\n switch ($anchor) {\n case 'left':\n return css`\n top: 0;\n left: 0;\n height: 100%;\n width: ${typeof height === 'number' ? `${height}px` : height};\n transform: ${open ? 'translateX(0)' : 'translateX(-100%)'};\n border-radius: 0 1rem 1rem 0;\n box-shadow: ${theme.shadow.lg};\n `\n case 'right':\n return css`\n top: 0;\n right: 0;\n height: 100%;\n width: ${typeof height === 'number' ? `${height}px` : height};\n transform: ${open ? 'translateX(0)' : 'translateX(100%)'};\n border-radius: 1rem 0 0 1rem;\n box-shadow: ${theme.shadow.lg};\n `\n case 'top':\n return css`\n top: 0;\n left: 0;\n right: 0;\n height: ${typeof height === 'number' ? `${height}px` : height};\n transform: ${open ? 'translateY(0)' : 'translateY(-100%)'};\n border-radius: 0 0 1rem 1rem;\n box-shadow: ${theme.shadow.lg};\n `\n case 'bottom':\n default:\n return css`\n bottom: 0;\n left: 0;\n right: 0;\n height: ${typeof height === 'number' ? `${height}px` : height};\n transform: ${open ? 'translateY(0)' : 'translateY(100%)'};\n border-radius: 1rem 1rem 0 0;\n box-shadow: ${theme.shadow.lg};\n `\n }\n }}\n`\n\nexport const DrawerButton = styled(Box)<{\n $anchor?: 'left' | 'right' | 'top' | 'bottom'\n}>`\n position: sticky;\n top: 0;\n flex-shrink: 0;\n justify-content: center;\n align-items: center;\n padding: 0.25rem;\n background-color: ${({ theme }) => theme.colors.grey_5};\n min-height: 1.5rem;\n\n ${({ $anchor }) => {\n switch ($anchor) {\n case 'left':\n return css`\n border-radius: 0 1rem 1rem 0;\n height: 100%;\n width: 2rem;\n `\n case 'right':\n return css`\n border-radius: 1rem 0 0 1rem;\n height: 100%;\n width: 2rem;\n `\n case 'top':\n return css`\n width: 100%;\n border-radius: 0 0 1rem 1rem;\n `\n case 'bottom':\n default:\n return css`\n width: 100%;\n border-radius: 1rem 1rem 0 0;\n `\n }\n }};\n`\n\nexport const DrawerChildren = styled(Box)`\n width: 100%;\n height: 100%;\n flex: 1;\n overflow: auto;\n ${thinScrollbar}\n flex-direction: column;\n background-color: ${({ theme }) => theme.colors.white};\n & > div {\n overflow: auto;\n ${thinScrollbar}\n display: flex;\n flex-direction: column;\n }\n`\n\nexport const DragArea = styled(Box).attrs<{ $dragging: boolean }>(\n ({ $dragging }) => ({\n style: {\n cursor: $dragging ? 'grabbing' : 'grab',\n transition: $dragging ? 'none' : 'transform 0.2s ease',\n },\n }),\n)``\n"],"names":["Overlay","styled","Box","theme","zIndex","drawer","open","DrawerContainer","attrs","$transform","style","transform","$anchor","height","css","shadow","lg","DrawerButton","colors","grey_5","DrawerChildren","thinScrollbar","white","DragArea","$dragging","cursor","transition"],"mappings":"+JAKaA,EAAUC,EAAOC,EAE5B;;;;;;;aAOW,EAAGC,WAAYA,EAAMC,QAAQC,QAAU;aACvC,EAAGC,UAAYA,EAAO,EAAI;gBACvB,EAAGA,UAAYA,EAAO,UAAY;;;;EAMrCC,EAAkBN,EAAOC,GAAKM,OACzC,EAAGC,iBAAkB,CAAEC,MAAO,CAAEC,UAAWF,MAK3C;;;;;;;;IAQE,EAAGH,OAAMM,UAASC,SAAQV,YAC1B,OAAQS,GACN,IAAK,OACH,OAAOE,CAAG;;;;mBAImB,iBAAXD,EAAyB,GAAAA,MAAaA;uBACzCP,EAAO,gBAAkB;;wBAExBH,EAAMY,OAAOC;UAE/B,IAAK,QACH,OAAOF,CAAG;;;;mBAImB,iBAAXD,EAAyB,GAAAA,MAAaA;uBACzCP,EAAO,gBAAkB;;wBAExBH,EAAMY,OAAOC;UAE/B,IAAK,MACH,OAAOF,CAAG;;;;oBAIoB,iBAAXD,EAAyB,GAAAA,MAAaA;uBAC1CP,EAAO,gBAAkB;;wBAExBH,EAAMY,OAAOC;UAG/B,QACE,OAAOF,CAAG;;;;oBAIoB,iBAAXD,EAAyB,GAAAA,MAAaA;uBAC1CP,EAAO,gBAAkB;;wBAExBH,EAAMY,OAAOC;UAEjC;EAISC,EAAehB,EAAOC,EAEjC;;;;;;;sBAOoB,EAAGC,WAAYA,EAAMe,OAAOC;;;IAG9C,EAAGP,cACH,OAAQA,GACN,IAAK,OACH,OAAOE,CAAG;;;;UAKZ,IAAK,QACH,OAAOA,CAAG;;;;UAKZ,IAAK,MACH,OAAOA,CAAG;;;UAKZ,QACE,OAAOA,CAAG;;;UAId;EAISM,EAAiBnB,EAAOC,EAAI;;;;;IAKrCmB;;sBAEkB,EAAGlB,WAAYA,EAAMe,OAAOI;;;MAG5CD;;;;EAMOE,EAAWtB,EAAOC,GAAKM,OAClC,EAAGgB,gBAAiB,CAClBd,MAAO,CACLe,OAAQD,EAAY,WAAa,OACjCE,WAAYF,EAAY,OAAS,0BAGtC"}
@@ -1,4 +1,4 @@
1
- import{styled as e}from"styled-components";import{getThemeColor as t}from"../../../theme/theme.util.js";const i=e.div`
1
+ import{styled as e}from"styled-components";import{thinScrollbar as i}from"../../../theme/scrollbar.js";import{getThemeColor as t}from"../../../theme/theme.util.js";const o=e.div`
2
2
  display: ${e=>e.open?"flex":"none"};
3
3
  position: fixed;
4
4
  top: 0;
@@ -20,13 +20,13 @@ import{styled as e}from"styled-components";import{getThemeColor as t}from"../../
20
20
  opacity: 1;
21
21
  }
22
22
  }
23
- `,o=e.div`
23
+ `,n=e.div`
24
24
  position: fixed;
25
25
  width: 100%;
26
26
  height: 100%;
27
27
  background-color: rgba(0, 0, 0, 0.534);
28
28
  z-index: -1;
29
- `,r=e.div.withConfig({shouldForwardProp:e=>!["minWidth","minHeight","maxWidth","maxHeight"].includes(e)})`
29
+ `,a=e.div.withConfig({shouldForwardProp:e=>!["minWidth","minHeight","maxWidth","maxHeight"].includes(e)})`
30
30
  &:focus {
31
31
  outline: none;
32
32
  }
@@ -61,24 +61,13 @@ import{styled as e}from"styled-components";import{getThemeColor as t}from"../../
61
61
  transform: translate(-50%, -50%) scale(1);
62
62
  }
63
63
  }
64
- `,a=e.div`
64
+ `,h=e.div`
65
65
  display: flex;
66
66
  justify-content: space-between;
67
- `,h=e.div`
68
- &::-webkit-scrollbar {
69
- width: 10px;
70
- }
71
- &::-webkit-scrollbar-track {
72
- background: ${e=>t(e.theme.colors.grey_5,e.theme)};
73
- }
74
- &::-webkit-scrollbar-thumb {
75
- background: ${e=>t(e.theme.colors.grey_4,e.theme)};
76
- }
77
- &::-webkit-scrollbar-thumb:hover {
78
- background: ${e=>t(e.theme.colors.grey_3,e.theme)};
79
- }
67
+ `,m=e.div`
80
68
  display: flex;
81
69
  height: 100%;
82
70
  overflow: auto;
83
- `;export{o as Background,r as ModalCard,i as ModalComp,h as ModalContent,a as ModalHeader};
71
+ ${i}
72
+ `;export{n as Background,a as ModalCard,o as ModalComp,m as ModalContent,h as ModalHeader};
84
73
  //# sourceMappingURL=modal.styles.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"modal.styles.js","sources":["../../../../../src/components/layout/modal/modal.styles.tsx"],"sourcesContent":["import { styled } from 'styled-components'\n\nimport { getThemeColor } from '../../../theme'\n\nexport const ModalComp = styled.div<{\n open: boolean\n}>`\n display: ${(props) => (props.open ? 'flex' : 'none')};\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n z-index: ${({ theme }) => theme.zIndex?.modal ?? 1200};\n flex-direction: column;\n\n animation: overlayShow 150ms cubic-bezier(0.16, 1, 0.3, 1);\n\n @keyframes overlayShow {\n from {\n opacity: 0;\n }\n\n to {\n opacity: 1;\n }\n }\n`\n\nexport const Background = styled.div`\n position: fixed;\n width: 100%;\n height: 100%;\n background-color: rgba(0, 0, 0, 0.534);\n z-index: -1;\n`\n\nexport const ModalCard = styled.div.withConfig({\n shouldForwardProp: (prop) =>\n !['minWidth', 'minHeight', 'maxWidth', 'maxHeight'].includes(prop),\n})<{\n width?: string\n minWidth?: string\n height?: string\n minHeight?: string\n maxWidth?: string\n maxHeight?: string\n}>`\n &:focus {\n outline: none;\n }\n\n display: flex;\n flex-direction: column;\n gap: 1rem;\n background-color: ${(props) =>\n getThemeColor(props.theme.colors.custom.white, props.theme)};\n border-radius: 1rem;\n box-shadow: ${({ theme }) => theme.shadow.lg};\n position: fixed;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: ${(props) => props.width};\n min-width: ${(props) => props.minWidth ?? '300px'};\n max-width: ${(props) => props.maxWidth ?? '90vw'};\n height: ${(props) => props.height};\n min-height: ${(props) => props.minHeight};\n max-height: ${(props) => props.maxHeight ?? '90vh'};\n padding: ${(props) => props.theme.spacing['3']};\n animation: contentShow 150ms cubic-bezier(0.16, 1, 0.3, 1);\n\n @keyframes contentShow {\n from {\n opacity: 0;\n transform: translate(-50%, -48%) scale(0.96);\n }\n\n to {\n opacity: 1;\n transform: translate(-50%, -50%) scale(1);\n }\n }\n`\nexport const ModalHeader = styled.div`\n display: flex;\n justify-content: space-between;\n`\nexport const ModalContent = styled.div`\n &::-webkit-scrollbar {\n width: 10px;\n }\n &::-webkit-scrollbar-track {\n background: ${(props) =>\n getThemeColor(props.theme.colors.grey_5, props.theme)};\n }\n &::-webkit-scrollbar-thumb {\n background: ${(props) =>\n getThemeColor(props.theme.colors.grey_4, props.theme)};\n }\n &::-webkit-scrollbar-thumb:hover {\n background: ${(props) =>\n getThemeColor(props.theme.colors.grey_3, props.theme)};\n }\n display: flex;\n height: 100%;\n overflow: auto;\n`\n"],"names":["ModalComp","styled","div","props","open","theme","zIndex","modal","Background","ModalCard","withConfig","shouldForwardProp","prop","includes","getThemeColor","colors","custom","white","shadow","lg","width","minWidth","maxWidth","height","minHeight","maxHeight","spacing","ModalHeader","ModalContent","grey_5","grey_4","grey_3"],"mappings":"wGAIaA,MAAAA,EAAYC,EAAOC,GAE9B;aACYC,GAAWA,EAAMC,KAAO,OAAS;;;;;;;aAOlC,EAAGC,WAAYA,EAAMC,QAAQC,OAAS;;;;;;;;;;;;;;EAgBtCC,EAAaP,EAAOC,GAAG;;;;;;EAQvBO,EAAYR,EAAOC,IAAIQ,WAAW,CAC7CC,kBAAoBC,IACjB,CAAC,WAAY,YAAa,WAAY,aAAaC,SAASD,IAQ/D;;;;;;;;sBAQqBT,GACnBW,EAAcX,EAAME,MAAMU,OAAOC,OAAOC,MAAOd,EAAME;;gBAEzC,EAAGA,WAAYA,EAAMa,OAAOC;;;;;WAKhChB,GAAUA,EAAMiB;eACZjB,GAAUA,EAAMkB,UAAY;eAC5BlB,GAAUA,EAAMmB,UAAY;YAC/BnB,GAAUA,EAAMoB;gBACZpB,GAAUA,EAAMqB;gBAChBrB,GAAUA,EAAMsB,WAAa;aAChCtB,GAAUA,EAAME,MAAMqB,QAAQ;;;;;;;;;;;;;;EAe/BC,EAAc1B,EAAOC,GAAG;;;EAIxB0B,EAAe3B,EAAOC,GAAG;;;;;kBAKnBC,GACbW,EAAcX,EAAME,MAAMU,OAAOc,OAAQ1B,EAAME;;;kBAGlCF,GACbW,EAAcX,EAAME,MAAMU,OAAOe,OAAQ3B,EAAME;;;kBAGlCF,GACbW,EAAcX,EAAME,MAAMU,OAAOgB,OAAQ5B,EAAME;;;;;"}
1
+ {"version":3,"file":"modal.styles.js","sources":["../../../../../src/components/layout/modal/modal.styles.tsx"],"sourcesContent":["import { styled } from 'styled-components'\n\nimport { getThemeColor, thinScrollbar } from '../../../theme'\n\nexport const ModalComp = styled.div<{\n open: boolean\n}>`\n display: ${(props) => (props.open ? 'flex' : 'none')};\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n z-index: ${({ theme }) => theme.zIndex?.modal ?? 1200};\n flex-direction: column;\n\n animation: overlayShow 150ms cubic-bezier(0.16, 1, 0.3, 1);\n\n @keyframes overlayShow {\n from {\n opacity: 0;\n }\n\n to {\n opacity: 1;\n }\n }\n`\n\nexport const Background = styled.div`\n position: fixed;\n width: 100%;\n height: 100%;\n background-color: rgba(0, 0, 0, 0.534);\n z-index: -1;\n`\n\nexport const ModalCard = styled.div.withConfig({\n shouldForwardProp: (prop) =>\n !['minWidth', 'minHeight', 'maxWidth', 'maxHeight'].includes(prop),\n})<{\n width?: string\n minWidth?: string\n height?: string\n minHeight?: string\n maxWidth?: string\n maxHeight?: string\n}>`\n &:focus {\n outline: none;\n }\n\n display: flex;\n flex-direction: column;\n gap: 1rem;\n background-color: ${(props) =>\n getThemeColor(props.theme.colors.custom.white, props.theme)};\n border-radius: 1rem;\n box-shadow: ${({ theme }) => theme.shadow.lg};\n position: fixed;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: ${(props) => props.width};\n min-width: ${(props) => props.minWidth ?? '300px'};\n max-width: ${(props) => props.maxWidth ?? '90vw'};\n height: ${(props) => props.height};\n min-height: ${(props) => props.minHeight};\n max-height: ${(props) => props.maxHeight ?? '90vh'};\n padding: ${(props) => props.theme.spacing['3']};\n animation: contentShow 150ms cubic-bezier(0.16, 1, 0.3, 1);\n\n @keyframes contentShow {\n from {\n opacity: 0;\n transform: translate(-50%, -48%) scale(0.96);\n }\n\n to {\n opacity: 1;\n transform: translate(-50%, -50%) scale(1);\n }\n }\n`\nexport const ModalHeader = styled.div`\n display: flex;\n justify-content: space-between;\n`\nexport const ModalContent = styled.div`\n display: flex;\n height: 100%;\n overflow: auto;\n ${thinScrollbar}\n`\n"],"names":["ModalComp","styled","div","props","open","theme","zIndex","modal","Background","ModalCard","withConfig","shouldForwardProp","prop","includes","getThemeColor","colors","custom","white","shadow","lg","width","minWidth","maxWidth","height","minHeight","maxHeight","spacing","ModalHeader","ModalContent","thinScrollbar"],"mappings":"oKAIaA,MAAAA,EAAYC,EAAOC,GAE9B;aACYC,GAAWA,EAAMC,KAAO,OAAS;;;;;;;aAOlC,EAAGC,WAAYA,EAAMC,QAAQC,OAAS;;;;;;;;;;;;;;EAgBtCC,EAAaP,EAAOC,GAAG;;;;;;EAQvBO,EAAYR,EAAOC,IAAIQ,WAAW,CAC7CC,kBAAoBC,IACjB,CAAC,WAAY,YAAa,WAAY,aAAaC,SAASD,IAQ/D;;;;;;;;sBAQqBT,GACnBW,EAAcX,EAAME,MAAMU,OAAOC,OAAOC,MAAOd,EAAME;;gBAEzC,EAAGA,WAAYA,EAAMa,OAAOC;;;;;WAKhChB,GAAUA,EAAMiB;eACZjB,GAAUA,EAAMkB,UAAY;eAC5BlB,GAAUA,EAAMmB,UAAY;YAC/BnB,GAAUA,EAAMoB;gBACZpB,GAAUA,EAAMqB;gBAChBrB,GAAUA,EAAMsB,WAAa;aAChCtB,GAAUA,EAAME,MAAMqB,QAAQ;;;;;;;;;;;;;;EAe/BC,EAAc1B,EAAOC,GAAG;;;EAIxB0B,EAAe3B,EAAOC,GAAG;;;;IAIlC2B;"}
@@ -1,4 +1,4 @@
1
- import{styled as o}from"styled-components";import{getThemeColor as e}from"../../../theme/theme.util.js";const d=o.div.withConfig({shouldForwardProp:o=>!["visible","boxShadow","borderRadius","maxHeight"].includes(o)}).attrs((({$popperStyle:o})=>({style:o})))`
1
+ import{styled as o}from"styled-components";import{getThemeColor as e}from"../../../theme/theme.util.js";import{thinScrollbar as r}from"../../../theme/scrollbar.js";const d=o.div.withConfig({shouldForwardProp:o=>!["visible","boxShadow","borderRadius","maxHeight"].includes(o)}).attrs((({$popperStyle:o})=>({style:o})))`
2
2
  background-color: ${({theme:o})=>e("white",o)};
3
3
  border-radius: ${({borderRadius:o,theme:e})=>o??e.border_radius.card};
4
4
  box-shadow: ${({boxShadow:o,theme:e})=>o??e.box_shadow.box};
@@ -7,6 +7,7 @@ import{styled as o}from"styled-components";import{getThemeColor as e}from"../../
7
7
  border: 1px solid ${({theme:o})=>e("grey_4",o)};
8
8
  overflow-x: hidden;
9
9
  overflow-y: auto;
10
+ ${r}
10
11
  max-height: ${({maxHeight:o})=>o??void 0};
11
12
  z-index: ${({theme:o})=>o.zIndex?.dropdown??1300};
12
13
  `;export{d as PopoverContent};
@@ -1 +1 @@
1
- {"version":3,"file":"popover.styles.js","sources":["../../../../../src/components/layout/popover/popover.styles.tsx"],"sourcesContent":["import { styled } from 'styled-components'\n\nimport { getThemeColor } from '../../../theme'\n\nexport const PopoverContent = styled.div\n .withConfig({\n shouldForwardProp: (prop) =>\n !['visible', 'boxShadow', 'borderRadius', 'maxHeight'].includes(prop),\n })\n .attrs<{ $popperStyle?: React.CSSProperties }>(({ $popperStyle }) => ({\n style: $popperStyle,\n }))<{\n width: string\n visible?: boolean\n boxShadow?: string\n borderRadius?: string\n maxHeight?: string\n}>`\n background-color: ${({ theme }) => getThemeColor('white', theme)};\n border-radius: ${({ borderRadius, theme }) =>\n borderRadius ?? theme.border_radius.card};\n box-shadow: ${({ boxShadow, theme }) => boxShadow ?? theme.box_shadow.box};\n width: ${({ width }) => width};\n display: ${({ visible }) => (visible ? 'block' : 'none')};\n border: 1px solid ${({ theme }) => getThemeColor('grey_4', theme)};\n overflow-x: hidden;\n overflow-y: auto;\n max-height: ${({ maxHeight }) => maxHeight ?? undefined};\n z-index: ${({ theme }) => theme.zIndex?.dropdown ?? 1300};\n`\n"],"names":["PopoverContent","styled","div","withConfig","shouldForwardProp","prop","includes","attrs","$popperStyle","style","theme","getThemeColor","borderRadius","border_radius","card","boxShadow","box_shadow","box","width","visible","maxHeight","undefined","zIndex","dropdown"],"mappings":"wGAIO,MAAMA,EAAiBC,EAAOC,IAClCC,WAAW,CACVC,kBAAoBC,IACjB,CAAC,UAAW,YAAa,eAAgB,aAAaC,SAASD,KAEnEE,OAA8C,EAAGC,mBAAoB,CACpEC,MAAOD,KAOT;sBACoB,EAAGE,WAAYC,EAAc,QAASD;mBACzC,EAAGE,eAAcF,WAChCE,GAAgBF,EAAMG,cAAcC;gBACxB,EAAGC,YAAWL,WAAYK,GAAaL,EAAMM,WAAWC;WAC7D,EAAGC,WAAYA;aACb,EAAGC,aAAeA,EAAU,QAAU;sBAC7B,EAAGT,WAAYC,EAAc,SAAUD;;;gBAG7C,EAAGU,eAAgBA,QAAaC;aACnC,EAAGX,WAAYA,EAAMY,QAAQC,UAAY;"}
1
+ {"version":3,"file":"popover.styles.js","sources":["../../../../../src/components/layout/popover/popover.styles.tsx"],"sourcesContent":["import { styled } from 'styled-components'\n\nimport { getThemeColor, thinScrollbar } from '../../../theme'\n\nexport const PopoverContent = styled.div\n .withConfig({\n shouldForwardProp: (prop) =>\n !['visible', 'boxShadow', 'borderRadius', 'maxHeight'].includes(prop),\n })\n .attrs<{ $popperStyle?: React.CSSProperties }>(({ $popperStyle }) => ({\n style: $popperStyle,\n }))<{\n width: string\n visible?: boolean\n boxShadow?: string\n borderRadius?: string\n maxHeight?: string\n}>`\n background-color: ${({ theme }) => getThemeColor('white', theme)};\n border-radius: ${({ borderRadius, theme }) =>\n borderRadius ?? theme.border_radius.card};\n box-shadow: ${({ boxShadow, theme }) => boxShadow ?? theme.box_shadow.box};\n width: ${({ width }) => width};\n display: ${({ visible }) => (visible ? 'block' : 'none')};\n border: 1px solid ${({ theme }) => getThemeColor('grey_4', theme)};\n overflow-x: hidden;\n overflow-y: auto;\n ${thinScrollbar}\n max-height: ${({ maxHeight }) => maxHeight ?? undefined};\n z-index: ${({ theme }) => theme.zIndex?.dropdown ?? 1300};\n`\n"],"names":["PopoverContent","styled","div","withConfig","shouldForwardProp","prop","includes","attrs","$popperStyle","style","theme","getThemeColor","borderRadius","border_radius","card","boxShadow","box_shadow","box","width","visible","thinScrollbar","maxHeight","undefined","zIndex","dropdown"],"mappings":"oKAIO,MAAMA,EAAiBC,EAAOC,IAClCC,WAAW,CACVC,kBAAoBC,IACjB,CAAC,UAAW,YAAa,eAAgB,aAAaC,SAASD,KAEnEE,OAA8C,EAAGC,mBAAoB,CACpEC,MAAOD,KAOT;sBACoB,EAAGE,WAAYC,EAAc,QAASD;mBACzC,EAAGE,eAAcF,WAChCE,GAAgBF,EAAMG,cAAcC;gBACxB,EAAGC,YAAWL,WAAYK,GAAaL,EAAMM,WAAWC;WAC7D,EAAGC,WAAYA;aACb,EAAGC,aAAeA,EAAU,QAAU;sBAC7B,EAAGT,WAAYC,EAAc,SAAUD;;;IAGzDU;gBACY,EAAGC,eAAgBA,QAAaC;aACnC,EAAGZ,WAAYA,EAAMa,QAAQC,UAAY;"}