@infonomic/uikit 5.27.0 → 5.28.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (188) hide show
  1. package/dist/components/accordion/accordion.js +5 -5
  2. package/dist/components/accordion/accordion.module.css +11 -5
  3. package/dist/components/accordion/accordion_module.css +7 -7
  4. package/dist/components/avatar/avatar.d.ts.map +1 -1
  5. package/dist/components/avatar/avatar.js +5 -4
  6. package/dist/components/avatar/avatar.module.css +17 -11
  7. package/dist/components/avatar/avatar_module.css +6 -6
  8. package/dist/components/badge/badge.js +1 -1
  9. package/dist/components/badge/badge.module.css +8 -8
  10. package/dist/components/badge/badge_module.css +8 -8
  11. package/dist/components/button/button-group.module.css +5 -3
  12. package/dist/components/button/button-group_module.css +2 -2
  13. package/dist/components/button/button.js +1 -1
  14. package/dist/components/button/button.module.css +50 -50
  15. package/dist/components/button/button_module.css +38 -38
  16. package/dist/components/button/control-buttons.js +1 -1
  17. package/dist/components/button/control-buttons.module.css +6 -2
  18. package/dist/components/button/control-buttons_module.css +1 -1
  19. package/dist/components/button/copy-button.d.ts.map +1 -1
  20. package/dist/components/button/copy-button.js +2 -2
  21. package/dist/components/button/copy-button.module.css +14 -13
  22. package/dist/components/button/copy-button_module.css +7 -7
  23. package/dist/components/card/card.js +6 -6
  24. package/dist/components/card/card.module.css +10 -10
  25. package/dist/components/card/card_module.css +10 -10
  26. package/dist/components/chips/chip.js +5 -5
  27. package/dist/components/chips/chip.module.css +49 -45
  28. package/dist/components/chips/chip_module.css +35 -35
  29. package/dist/components/container/container.d.ts.map +1 -1
  30. package/dist/components/container/container.js +1 -1
  31. package/dist/components/container/container.module.css +14 -10
  32. package/dist/components/container/container_module.css +4 -4
  33. package/dist/components/dropdown/dropdown.js +8 -8
  34. package/dist/components/dropdown/dropdown.module.css +18 -11
  35. package/dist/components/dropdown/dropdown_module.css +8 -9
  36. package/dist/components/forms/checkbox.js +5 -5
  37. package/dist/components/forms/checkbox.module.css +62 -33
  38. package/dist/components/forms/checkbox_module.css +26 -26
  39. package/dist/components/forms/error-text.module.css +8 -7
  40. package/dist/components/forms/error-text_module.css +1 -1
  41. package/dist/components/forms/help-text.js +1 -1
  42. package/dist/components/forms/help-text.module.css +8 -7
  43. package/dist/components/forms/help-text_module.css +1 -1
  44. package/dist/components/forms/input-adornment.js +1 -1
  45. package/dist/components/forms/input-adornment.module.css +10 -9
  46. package/dist/components/forms/input-adornment_module.css +3 -3
  47. package/dist/components/forms/input.js +5 -5
  48. package/dist/components/forms/input.module.css +50 -49
  49. package/dist/components/forms/input_module.css +37 -37
  50. package/dist/components/forms/label.module.css +9 -8
  51. package/dist/components/forms/label_module.css +2 -2
  52. package/dist/components/forms/radio-group.js +1 -1
  53. package/dist/components/forms/radio-group.module.css +44 -24
  54. package/dist/components/forms/radio-group_module.css +42 -15
  55. package/dist/components/forms/select.js +3 -3
  56. package/dist/components/forms/select.module.css +23 -14
  57. package/dist/components/forms/select_module.css +17 -6
  58. package/dist/components/forms/text-area.js +1 -1
  59. package/dist/components/forms/text-area.module.css +12 -12
  60. package/dist/components/forms/text-area_module.css +2 -2
  61. package/dist/components/notifications/alert.js +10 -10
  62. package/dist/components/notifications/alert.module.css +39 -22
  63. package/dist/components/notifications/alert_module.css +19 -15
  64. package/dist/components/notifications/toast.js +5 -5
  65. package/dist/components/notifications/toast.module.css +53 -24
  66. package/dist/components/notifications/toast_module.css +66 -13
  67. package/dist/components/overlay/overlay.module.css +14 -6
  68. package/dist/components/overlay/overlay_module.css +4 -4
  69. package/dist/components/pager/pagination.js +2 -2
  70. package/dist/components/pager/pagination.module.css +12 -11
  71. package/dist/components/pager/pagination_module.css +18 -2
  72. package/dist/components/scroll-area/scroll-area.d.ts.map +1 -1
  73. package/dist/components/scroll-area/scroll-area.js +7 -7
  74. package/dist/components/scroll-area/scroll-area.module.css +17 -11
  75. package/dist/components/scroll-area/scroll-area_module.css +9 -9
  76. package/dist/components/scroll-to-top/scroll-to-top.js +2 -2
  77. package/dist/components/scroll-to-top/scroll-to-top.module.css +16 -14
  78. package/dist/components/scroll-to-top/scroll-to-top_module.css +9 -9
  79. package/dist/components/section/section.d.ts.map +1 -1
  80. package/dist/components/section/section.js +1 -1
  81. package/dist/components/section/section.module.css +8 -7
  82. package/dist/components/section/section_module.css +1 -1
  83. package/dist/components/shimmer/shimmer.module.css +14 -6
  84. package/dist/components/shimmer/shimmer_module.css +6 -6
  85. package/dist/components/table/table.js +8 -8
  86. package/dist/components/table/table.module.css +29 -14
  87. package/dist/components/table/table_module.css +25 -13
  88. package/dist/components/tabs/tabs.js +4 -4
  89. package/dist/components/tabs/tabs.module.css +15 -10
  90. package/dist/components/tabs/tabs_module.css +9 -9
  91. package/dist/components/tooltip/tooltip.d.ts.map +1 -1
  92. package/dist/components/tooltip/tooltip.js +3 -2
  93. package/dist/components/tooltip/tooltip.module.css +11 -10
  94. package/dist/components/tooltip/tooltip_module.css +2 -2
  95. package/dist/styles/components-vanilla.css +1 -1
  96. package/dist/widgets/datepicker/datepicker.module.css +2 -2
  97. package/dist/widgets/datepicker/datepicker.module.js +0 -1
  98. package/dist/widgets/datepicker/datepicker_module.css +1 -1
  99. package/dist/widgets/drawer/drawer-container.js +1 -1
  100. package/dist/widgets/drawer/drawer-content.js +1 -1
  101. package/dist/widgets/drawer/drawer-header.js +1 -1
  102. package/dist/widgets/drawer/drawer-top-actions.js +1 -1
  103. package/dist/widgets/drawer/drawer-wrapper.js +1 -1
  104. package/dist/widgets/drawer/drawer.module.css +37 -16
  105. package/dist/widgets/drawer/drawer_module.css +63 -5
  106. package/dist/widgets/modal/modal-actions.js +1 -1
  107. package/dist/widgets/modal/modal-container.js +1 -1
  108. package/dist/widgets/modal/modal-content.js +1 -1
  109. package/dist/widgets/modal/modal-header.js +1 -1
  110. package/dist/widgets/modal/modal-wrapper.d.ts.map +1 -1
  111. package/dist/widgets/modal/modal-wrapper.js +2 -1
  112. package/dist/widgets/modal/modal.module.css +18 -8
  113. package/dist/widgets/modal/modal_module.css +14 -6
  114. package/dist/widgets/timeline/timeline.module.css +28 -16
  115. package/dist/widgets/timeline/timeline_module.css +15 -9
  116. package/package.json +17 -17
  117. package/src/components/accordion/accordion.module.css +11 -5
  118. package/src/components/accordion/accordion.tsx +5 -5
  119. package/src/components/avatar/avatar.module.css +17 -11
  120. package/src/components/avatar/avatar.tsx +5 -4
  121. package/src/components/badge/badge.module.css +8 -8
  122. package/src/components/badge/badge.tsx +1 -1
  123. package/src/components/button/button-group.module.css +5 -3
  124. package/src/components/button/button.module.css +50 -50
  125. package/src/components/button/button.tsx +5 -5
  126. package/src/components/button/control-buttons.module.css +6 -2
  127. package/src/components/button/control-buttons.tsx +1 -1
  128. package/src/components/button/copy-button.module.css +14 -13
  129. package/src/components/button/copy-button.tsx +6 -2
  130. package/src/components/card/card.module.css +10 -10
  131. package/src/components/card/card.tsx +6 -6
  132. package/src/components/chips/chip.module.css +49 -45
  133. package/src/components/chips/chip.tsx +10 -10
  134. package/src/components/container/container.module.css +14 -10
  135. package/src/components/container/container.tsx +2 -2
  136. package/src/components/dropdown/dropdown.module.css +18 -11
  137. package/src/components/dropdown/dropdown.tsx +8 -8
  138. package/src/components/forms/checkbox.module.css +62 -33
  139. package/src/components/forms/checkbox.tsx +8 -8
  140. package/src/components/forms/error-text.module.css +8 -7
  141. package/src/components/forms/help-text.module.css +8 -7
  142. package/src/components/forms/help-text.tsx +1 -1
  143. package/src/components/forms/input-adornment.module.css +10 -9
  144. package/src/components/forms/input-adornment.tsx +2 -2
  145. package/src/components/forms/input.module.css +50 -49
  146. package/src/components/forms/input.tsx +8 -8
  147. package/src/components/forms/label.module.css +9 -8
  148. package/src/components/forms/radio-group.module.css +44 -24
  149. package/src/components/forms/radio-group.tsx +1 -1
  150. package/src/components/forms/select.module.css +23 -14
  151. package/src/components/forms/select.tsx +3 -3
  152. package/src/components/forms/text-area.module.css +12 -12
  153. package/src/components/forms/text-area.tsx +3 -3
  154. package/src/components/notifications/alert.module.css +39 -22
  155. package/src/components/notifications/alert.tsx +10 -10
  156. package/src/components/notifications/toast.module.css +53 -24
  157. package/src/components/notifications/toast.tsx +5 -5
  158. package/src/components/overlay/overlay.module.css +14 -6
  159. package/src/components/pager/pagination.module.css +12 -11
  160. package/src/components/pager/pagination.tsx +2 -2
  161. package/src/components/scroll-area/scroll-area.module.css +17 -11
  162. package/src/components/scroll-area/scroll-area.tsx +8 -8
  163. package/src/components/scroll-to-top/scroll-to-top.module.css +16 -14
  164. package/src/components/scroll-to-top/scroll-to-top.tsx +2 -2
  165. package/src/components/section/section.module.css +8 -7
  166. package/src/components/section/section.tsx +2 -2
  167. package/src/components/shimmer/shimmer.module.css +14 -6
  168. package/src/components/table/table.module.css +29 -14
  169. package/src/components/table/table.tsx +8 -8
  170. package/src/components/tabs/tabs.module.css +15 -10
  171. package/src/components/tabs/tabs.tsx +4 -4
  172. package/src/components/tooltip/tooltip.module.css +11 -10
  173. package/src/components/tooltip/tooltip.tsx +5 -2
  174. package/src/styles/components/loaders.css +1 -1
  175. package/src/widgets/datepicker/datepicker.module.css +2 -2
  176. package/src/widgets/drawer/drawer-container.tsx +1 -1
  177. package/src/widgets/drawer/drawer-content.tsx +1 -1
  178. package/src/widgets/drawer/drawer-header.tsx +1 -1
  179. package/src/widgets/drawer/drawer-top-actions.tsx +1 -1
  180. package/src/widgets/drawer/drawer-wrapper.tsx +1 -1
  181. package/src/widgets/drawer/drawer.module.css +37 -16
  182. package/src/widgets/modal/modal-actions.tsx +1 -1
  183. package/src/widgets/modal/modal-container.tsx +1 -1
  184. package/src/widgets/modal/modal-content.tsx +1 -1
  185. package/src/widgets/modal/modal-header.tsx +1 -1
  186. package/src/widgets/modal/modal-wrapper.tsx +2 -1
  187. package/src/widgets/modal/modal.module.css +18 -8
  188. package/src/widgets/timeline/timeline.module.css +28 -16
@@ -1,18 +1,19 @@
1
1
  @layer infonomic-base,
2
- infonomic-functional,
3
- infonomic-utilities,
4
- infonomic-theme,
5
- infonomic-typography,
6
- infonomic-components;
2
+ infonomic-functional,
3
+ infonomic-utilities,
4
+ infonomic-theme,
5
+ infonomic-typography,
6
+ infonomic-components;
7
7
 
8
8
  @layer infonomic-components {
9
+
9
10
  .copy-button-container,
10
- :global(.copy-button-container) {
11
+ :global(.infonomic-copy-button-container) {
11
12
  display: inline-block;
12
13
  }
13
14
 
14
15
  .copy-button svg,
15
- :global(.copy-button) svg {
16
+ :global(.infonomic-copy-button) svg {
16
17
  width: 90%;
17
18
  height: 90%;
18
19
  display: block;
@@ -20,7 +21,7 @@
20
21
 
21
22
  /* Sizes */
22
23
  .xs,
23
- :global(.copy-button-xs) {
24
+ :global(.infonomic-copy-button-xs) {
24
25
  width: 26px;
25
26
  height: 26px;
26
27
  min-height: 26px;
@@ -28,7 +29,7 @@
28
29
  }
29
30
 
30
31
  .sm,
31
- :global(.copy-button-sm) {
32
+ :global(.infonomic-copy-button-sm) {
32
33
  width: 32px;
33
34
  height: 32px;
34
35
  min-height: 32px;
@@ -36,7 +37,7 @@
36
37
  }
37
38
 
38
39
  .md,
39
- :global(.copy-button-md) {
40
+ :global(.infonomic-copy-button-md) {
40
41
  width: 38px;
41
42
  height: 38px;
42
43
  min-height: 38px;
@@ -44,7 +45,7 @@
44
45
  }
45
46
 
46
47
  .lg,
47
- :global(.copy-button-lg) {
48
+ :global(.infonomic-copy-button-lg) {
48
49
  width: 46px;
49
50
  height: 46px;
50
51
  min-height: 46px;
@@ -52,10 +53,10 @@
52
53
  }
53
54
 
54
55
  .xl,
55
- :global(.copy-button-xl) {
56
+ :global(.infonomic-copy-button-xl) {
56
57
  width: 54px;
57
58
  height: 54px;
58
59
  min-height: 54px;
59
60
  padding: 0.65rem;
60
61
  }
61
- }
62
+ }
@@ -1,45 +1,45 @@
1
1
  @layer infonomic-base, infonomic-functional, infonomic-utilities, infonomic-theme, infonomic-typography;
2
2
 
3
3
  @layer infonomic-components {
4
- :is(.copy-button-container-vCNz8o, .copy-button-container) {
4
+ :is(.copy-button-container-vCNz8o, .infonomic-copy-button-container) {
5
5
  display: inline-block;
6
6
  }
7
7
 
8
- :is(.copy-button-oa4bdj svg, .copy-button svg) {
8
+ :is(.copy-button-oa4bdj svg, .infonomic-copy-button svg) {
9
9
  width: 90%;
10
10
  height: 90%;
11
11
  display: block;
12
12
  }
13
13
 
14
- :is(.xs-lZmf78, .copy-button-xs) {
14
+ :is(.xs-lZmf78, .infonomic-copy-button-xs) {
15
15
  width: 26px;
16
16
  height: 26px;
17
17
  min-height: 26px;
18
18
  padding: .25rem;
19
19
  }
20
20
 
21
- :is(.sm-KNN1e5, .copy-button-sm) {
21
+ :is(.sm-KNN1e5, .infonomic-copy-button-sm) {
22
22
  width: 32px;
23
23
  height: 32px;
24
24
  min-height: 32px;
25
25
  padding: .35rem;
26
26
  }
27
27
 
28
- :is(.md-OoH0l4, .copy-button-md) {
28
+ :is(.md-OoH0l4, .infonomic-copy-button-md) {
29
29
  width: 38px;
30
30
  height: 38px;
31
31
  min-height: 38px;
32
32
  padding: .45rem;
33
33
  }
34
34
 
35
- :is(.lg-uu5ujz, .copy-button-lg) {
35
+ :is(.lg-uu5ujz, .infonomic-copy-button-lg) {
36
36
  width: 46px;
37
37
  height: 46px;
38
38
  min-height: 46px;
39
39
  padding: .55rem;
40
40
  }
41
41
 
42
- :is(.xl-pFYyrS, .copy-button-xl) {
42
+ :is(.xl-pFYyrS, .infonomic-copy-button-xl) {
43
43
  width: 54px;
44
44
  height: 54px;
45
45
  min-height: 54px;
@@ -8,7 +8,7 @@ const Card = ({ className, hover, children, asChild, ref, ...rest })=>{
8
8
  const classes = classnames(card_module.card, hoverClasses, className);
9
9
  return /*#__PURE__*/ jsx(Comp, {
10
10
  ref: ref,
11
- className: classes,
11
+ className: classnames('infonomic-card', classes),
12
12
  ...rest,
13
13
  children: children
14
14
  });
@@ -16,31 +16,31 @@ const Card = ({ className, hover, children, asChild, ref, ...rest })=>{
16
16
  Card.displayName = 'Card';
17
17
  const Header = ({ className, ref, ...props })=>/*#__PURE__*/ jsx("div", {
18
18
  ref: ref,
19
- className: classnames(card_module["card-header"], className),
19
+ className: classnames('infonomic-card-header', card_module["card-header"], className),
20
20
  ...props
21
21
  });
22
22
  Header.displayName = 'CardHeader';
23
23
  const Title = ({ className, ref, ...props })=>/*#__PURE__*/ jsx("div", {
24
24
  ref: ref,
25
- className: classnames(card_module["card-title"], className),
25
+ className: classnames('infonomic-card-title', card_module["card-title"], className),
26
26
  ...props
27
27
  });
28
28
  Title.displayName = 'CardTitle';
29
29
  const Description = ({ className, ref, ...props })=>/*#__PURE__*/ jsx("div", {
30
30
  ref: ref,
31
- className: classnames(card_module["card-description"], className),
31
+ className: classnames("infonomic-card-description", card_module["card-description"], className),
32
32
  ...props
33
33
  });
34
34
  Description.displayName = "CardDescription";
35
35
  const Content = ({ className, ref, ...props })=>/*#__PURE__*/ jsx("div", {
36
36
  ref: ref,
37
- className: classnames(card_module["card-content"], className),
37
+ className: classnames('infonomic-card-content', card_module["card-content"], className),
38
38
  ...props
39
39
  });
40
40
  Content.displayName = 'CardContent';
41
41
  const Footer = ({ className, ref, ...props })=>/*#__PURE__*/ jsx("div", {
42
42
  ref: ref,
43
- className: classnames(card_module["card-footer"], className),
43
+ className: classnames('infonomic-card-footer', card_module["card-footer"], className),
44
44
  ...props
45
45
  });
46
46
  Footer.displayName = 'CardFooter';
@@ -8,7 +8,7 @@ infonomic-components;
8
8
  @layer infonomic-components {
9
9
 
10
10
  .card,
11
- :global(.card) {
11
+ :global(.infonomic-card) {
12
12
  display: flex;
13
13
  flex-direction: column;
14
14
  text-decoration: none;
@@ -27,19 +27,19 @@ infonomic-components;
27
27
  :global([data-theme="dark"]) {
28
28
 
29
29
  .card,
30
- :global(.card) {
30
+ :global(.infonomic-card) {
31
31
  background: var(--canvas-800);
32
32
  }
33
33
  }
34
34
 
35
35
 
36
36
  .card-hover,
37
- :global(.card-hover) {
37
+ :global(.infonomic-card-hover) {
38
38
  transition: background 0.2s ease-in-out;
39
39
  }
40
40
 
41
41
  .card-hover:hover,
42
- :global(.card-hover):hover {
42
+ :global(.infonomic-card-hover):hover {
43
43
  background: oklch(from var(--theme-50) 1 0.03 h);
44
44
  }
45
45
 
@@ -47,13 +47,13 @@ infonomic-components;
47
47
  :global([data-theme="dark"]) {
48
48
 
49
49
  .card-hover:hover,
50
- :global(.card-hover):hover {
50
+ :global(.infonomic-card-hover):hover {
51
51
  background: oklch(from var(--canvas-800) 0.2 c h);
52
52
  }
53
53
  }
54
54
 
55
55
  .card-header,
56
- :global(.card-header) {
56
+ :global(.infonomic-card-header) {
57
57
  display: flex;
58
58
  flex-direction: column;
59
59
  gap: 0.5rem;
@@ -61,7 +61,7 @@ infonomic-components;
61
61
  }
62
62
 
63
63
  .card-title,
64
- :global(.card-title) {
64
+ :global(.infonomic-card-title) {
65
65
  color: var(--headings);
66
66
  font-size: 1.8rem;
67
67
  font-weight: bold;
@@ -70,20 +70,20 @@ infonomic-components;
70
70
  }
71
71
 
72
72
  .card-description,
73
- :global(.card-description) {
73
+ :global(.infonomic-card-description) {
74
74
  font-size: 0.875rem;
75
75
  color: var(--muted);
76
76
  }
77
77
 
78
78
  .card-content,
79
- :global(.card-content) {
79
+ :global(.infonomic-card-content) {
80
80
  flex: 1;
81
81
  padding: 1rem;
82
82
  padding-top: 0;
83
83
  }
84
84
 
85
85
  .card-footer,
86
- :global(.card-footer) {
86
+ :global(.infonomic-card-footer) {
87
87
  display: flex;
88
88
  align-items: center;
89
89
  padding: 1rem;
@@ -1,7 +1,7 @@
1
1
  @layer infonomic-base, infonomic-functional, infonomic-utilities, infonomic-theme, infonomic-typography;
2
2
 
3
3
  @layer infonomic-components {
4
- :is(.card-mqJaiW, .card) {
4
+ :is(.card-mqJaiW, .infonomic-card) {
5
5
  width: 100%;
6
6
  max-width: 100%;
7
7
  color: var(--foreground);
@@ -16,30 +16,30 @@
16
16
  display: flex;
17
17
  }
18
18
 
19
- :is(:is(.dark, [data-theme="dark"]) .card-mqJaiW, :is(.dark, [data-theme="dark"]) .card) {
19
+ :is(:is(.dark, [data-theme="dark"]) .card-mqJaiW, :is(.dark, [data-theme="dark"]) .infonomic-card) {
20
20
  background: var(--canvas-800);
21
21
  }
22
22
 
23
- :is(.card-hover-hvT4d6, .card-hover) {
23
+ :is(.card-hover-hvT4d6, .infonomic-card-hover) {
24
24
  transition: background .2s ease-in-out;
25
25
  }
26
26
 
27
- :is(.card-hover-hvT4d6:hover, .card-hover:hover) {
27
+ :is(.card-hover-hvT4d6:hover, .infonomic-card-hover:hover) {
28
28
  background: oklch(from var(--theme-50) 1 .03 h);
29
29
  }
30
30
 
31
- :is(:is(.dark, [data-theme="dark"]) .card-hover-hvT4d6:hover, :is(.dark, [data-theme="dark"]) .card-hover:hover) {
31
+ :is(:is(.dark, [data-theme="dark"]) .card-hover-hvT4d6:hover, :is(.dark, [data-theme="dark"]) .infonomic-card-hover:hover) {
32
32
  background: oklch(from var(--canvas-800) .2 c h);
33
33
  }
34
34
 
35
- :is(.card-header-XnoBkP, .card-header) {
35
+ :is(.card-header-XnoBkP, .infonomic-card-header) {
36
36
  flex-direction: column;
37
37
  gap: .5rem;
38
38
  padding: 1rem;
39
39
  display: flex;
40
40
  }
41
41
 
42
- :is(.card-title-JI7Lu3, .card-title) {
42
+ :is(.card-title-JI7Lu3, .infonomic-card-title) {
43
43
  color: var(--headings);
44
44
  letter-spacing: -.015em;
45
45
  font-size: 1.8rem;
@@ -47,17 +47,17 @@
47
47
  line-height: 1;
48
48
  }
49
49
 
50
- :is(.card-description-fwu7HE, .card-description) {
50
+ :is(.card-description-fwu7HE, .infonomic-card-description) {
51
51
  color: var(--muted);
52
52
  font-size: .875rem;
53
53
  }
54
54
 
55
- :is(.card-content-uhoZYJ, .card-content) {
55
+ :is(.card-content-uhoZYJ, .infonomic-card-content) {
56
56
  flex: 1;
57
57
  padding: 0 1rem 1rem;
58
58
  }
59
59
 
60
- :is(.card-footer-BxTa4b, .card-footer) {
60
+ :is(.card-footer-BxTa4b, .infonomic-card-footer) {
61
61
  align-items: center;
62
62
  padding: 0 1rem 1rem;
63
63
  display: flex;
@@ -53,7 +53,7 @@ const Chip = ({ variant = 'assist', intent = 'primary', size = 'md', selected =
53
53
  onClick: handleRemoveClick,
54
54
  onKeyDown: handleRemoveKeyDown,
55
55
  children: /*#__PURE__*/ jsx(CloseIcon, {
56
- className: classnames(chip_module.icon, chip_module["close-icon"])
56
+ className: classnames('infonomic-chip-close-icon', chip_module.icon, chip_module["close-icon"])
57
57
  })
58
58
  }) : endIcon;
59
59
  const appliedVariant = isSelected ? 'filled' : 'outlined';
@@ -65,7 +65,7 @@ const Chip = ({ variant = 'assist', intent = 'primary', size = 'md', selected =
65
65
  "aria-disabled": disabled || void 0,
66
66
  "aria-pressed": isSelectable ? isSelected : void 0,
67
67
  "aria-selected": isSelectable ? isSelected : void 0,
68
- className: classnames('chip', variant, intent, size, {
68
+ className: classnames('infonomic-chip', `infonomic-chip-${variant}`, `infonomic-chip-${intent}`, `infonomic-chip-${size}`, {
69
69
  selected: isSelected,
70
70
  disabled,
71
71
  removable: isRemovable
@@ -76,15 +76,15 @@ const Chip = ({ variant = 'assist', intent = 'primary', size = 'md', selected =
76
76
  ...restProps,
77
77
  children: [
78
78
  null != leadingIcon && /*#__PURE__*/ jsx("span", {
79
- className: classnames(chip_module.iconWrapper),
79
+ className: classnames('infonomic-chip-icon-wrapper', chip_module.iconWrapper),
80
80
  children: leadingIcon
81
81
  }),
82
82
  /*#__PURE__*/ jsx("span", {
83
- className: chip_module.label,
83
+ className: classnames('infonomic-chip-label', chip_module.label),
84
84
  children: children
85
85
  }),
86
86
  null != trailingIcon && /*#__PURE__*/ jsx("span", {
87
- className: classnames(chip_module.iconWrapper),
87
+ className: classnames('infonomic-chip-icon-wrapper', chip_module.iconWrapper),
88
88
  children: trailingIcon
89
89
  })
90
90
  ]
@@ -8,7 +8,7 @@ infonomic-components;
8
8
  @layer infonomic-components {
9
9
 
10
10
  .chip,
11
- :global(.chip) {
11
+ :global(.infonomic-chip) {
12
12
  --chip-font-size: 0.9rem;
13
13
  --chip-height: 34px;
14
14
  --chip-padding-y: 0.35rem;
@@ -36,47 +36,51 @@ infonomic-components;
36
36
 
37
37
  .chip:disabled,
38
38
  .chip[disabled],
39
- :global(.chip):disabled,
40
- :global(.chip)[disabled] {
39
+ :global(.infonomic-chip):disabled,
40
+ :global(.infonomic-chip)[disabled] {
41
41
  pointer-events: none;
42
42
  }
43
43
 
44
44
  .chip:focus,
45
45
  .chip:active,
46
- :global(.chip):focus,
47
- :global(.chip):active {
46
+ :global(.infonomic-chip):focus,
47
+ :global(.infonomic-chip):active {
48
48
  --ring-offset-color: var(--background);
49
49
  --ring-offset-shadow: var(--ring-inset) 0 0 0 var(--ring-offset-width) var(--ring-offset-color);
50
50
  --ring-shadow: var(--ring-inset) 0 0 0 calc(1px + var(--ring-offset-width)) var(--ring-color);
51
51
  box-shadow: var(--ring-offset-shadow), var(--ring-shadow), var(--shadow, 0 0 #0000);
52
52
  }
53
53
 
54
- .label {
54
+ .label,
55
+ :global(.infonomic-chip-label) {
55
56
  display: inline-flex;
56
57
  align-items: center;
57
58
  white-space: nowrap;
58
59
  }
59
60
 
60
- .icon {
61
+ .icon,
62
+ :global(.infonomic-chip-icon) {
61
63
  width: var(--chip-icon-size);
62
64
  height: var(--chip-icon-size);
63
65
  }
64
66
 
65
- .iconWrapper {
67
+ .iconWrapper,
68
+ :global(.infonomic-chip-icon-wrapper) {
66
69
  display: inline-flex;
67
70
  align-items: center;
68
71
  justify-content: center;
69
72
  line-height: 0;
70
73
  }
71
74
 
72
- .close-icon {
75
+ .close-icon,
76
+ :global(.infonomic-chip-close-icon) {
73
77
  width: calc(var(--chip-icon-size) * 0.9);
74
78
  height: calc(var(--chip-icon-size) * 0.9);
75
79
  }
76
80
 
77
81
  /* Sizes ----------------------------------------------------------- */
78
82
  .xs,
79
- :global(.chip-xs) {
83
+ :global(.infonomic-chip-xs) {
80
84
  --chip-height: 24px;
81
85
  --chip-padding-y: 0.15rem;
82
86
  --chip-padding-x: 0.3rem;
@@ -86,7 +90,7 @@ infonomic-components;
86
90
  }
87
91
 
88
92
  .sm,
89
- :global(.chip-sm) {
93
+ :global(.infonomic-chip-sm) {
90
94
  --chip-height: 28px;
91
95
  --chip-padding-y: 0.2rem;
92
96
  --chip-padding-x: 0.3rem;
@@ -95,7 +99,7 @@ infonomic-components;
95
99
  }
96
100
 
97
101
  .md,
98
- :global(.chip-md) {
102
+ :global(.infonomic-chip-md) {
99
103
  --chip-height: 32px;
100
104
  --chip-padding-y: 0.25rem;
101
105
  --chip-padding-x: 0.3rem;
@@ -104,7 +108,7 @@ infonomic-components;
104
108
  }
105
109
 
106
110
  .lg,
107
- :global(.chip-lg) {
111
+ :global(.infonomic-chip-lg) {
108
112
  --chip-gap: var(--gap-2);
109
113
  --chip-height: 36px;
110
114
  --chip-padding-y: 0.3rem;
@@ -114,7 +118,7 @@ infonomic-components;
114
118
  }
115
119
 
116
120
  .xl,
117
- :global(.chip-xl) {
121
+ :global(.infonomic-chip-xl) {
118
122
  --chip-gap: var(--gap-2);
119
123
  --chip-height: 40px;
120
124
  --chip-padding-y: 0.3rem;
@@ -126,27 +130,27 @@ infonomic-components;
126
130
  /* Variants -------------------------------------------------------- */
127
131
  /* Variants - Consuming Variables */
128
132
  .filled,
129
- :global(.chip-filled) {
133
+ :global(.infonomic-chip-filled) {
130
134
  color: var(--chip-variant-filled-foreground);
131
135
  background-color: var(--chip-variant-filled);
132
136
  }
133
137
 
134
138
  .filled:hover,
135
- :global(.chip-filled):hover {
139
+ :global(.infonomic-chip-filled):hover {
136
140
  background-color: var(--chip-variant-filled-hover);
137
141
  }
138
142
 
139
143
  .filled:focus,
140
144
  .filled:active,
141
- :global(.chip-filled):focus,
142
- :global(.chip-filled):active {
145
+ :global(.infonomic-chip-filled):focus,
146
+ :global(.infonomic-chip-filled):active {
143
147
  --ring-color: var(--chip-ring-color);
144
148
  }
145
149
 
146
150
  .filled:disabled,
147
151
  .filled[disabled],
148
- :global(.chip-filled):disabled,
149
- :global(.chip-filled)[disabled] {
152
+ :global(.infonomic-chip-filled):disabled,
153
+ :global(.infonomic-chip-filled)[disabled] {
150
154
  background-color: var(--chip-variant-filled-disabled,
151
155
  oklch(from var(--chip-variant-filled) calc(l * 1.1) calc(c * 0.85) h));
152
156
  color: var(--chip-variant-filled-foreground-disabled,
@@ -157,27 +161,27 @@ infonomic-components;
157
161
  /* Weak variant for close button on selected chip */
158
162
 
159
163
  .filled-weak,
160
- :global(.chip-filled-weak) {
164
+ :global(.infonomic-chip-filled-weak) {
161
165
  color: var(--chip-variant-filled-weak-foreground);
162
166
  background-color: var(--chip-variant-filled-weak);
163
167
  }
164
168
 
165
169
  .filled-weak:hover,
166
- :global(.chip-filled-weak):hover {
170
+ :global(.infonomic-chip-filled-weak):hover {
167
171
  background-color: var(--chip-variant-filled-weak-hover);
168
172
  }
169
173
 
170
174
  .filled-weak:focus,
171
175
  .filled-weak:active,
172
- :global(.chip-filled-weak):focus,
173
- :global(.chip-filled-weak):active {
176
+ :global(.infonomic-chip-filled-weak):focus,
177
+ :global(.infonomic-chip-filled-weak):active {
174
178
  --ring-color: var(--chip-ring-color);
175
179
  }
176
180
 
177
181
  .filled-weak:disabled,
178
182
  .filled-weak[disabled],
179
- :global(.chip-filled-weak):disabled,
180
- :global(.chip-filled-weak)[disabled] {
183
+ :global(.infonomic-chip-filled-weak):disabled,
184
+ :global(.infonomic-chip-filled-weak)[disabled] {
181
185
  background-color: var(--chip-variant-filled-weak-disabled,
182
186
  oklch(from var(--chip-variant-filled-weak) calc(l * 1.1) calc(c * 0.85) h));
183
187
  color: var(--chip-variant-filled-weak-foreground-disabled,
@@ -188,7 +192,7 @@ infonomic-components;
188
192
  /* Outlined variant */
189
193
 
190
194
  .outlined,
191
- :global(.chip-outlined) {
195
+ :global(.infonomic-chip-outlined) {
192
196
  border: 1px solid var(--chip-variant-outlined-border);
193
197
  color: var(--chip-variant-outlined-foreground);
194
198
  background-color: var(--chip-variant-outlined);
@@ -196,8 +200,8 @@ infonomic-components;
196
200
 
197
201
  .outlined:disabled,
198
202
  .outlined[disabled],
199
- :global(.chip-outlined):disabled,
200
- :global(.chip-outlined)[disabled] {
203
+ :global(.infonomic-chip-outlined):disabled,
204
+ :global(.infonomic-chip-outlined)[disabled] {
201
205
  border-color: var(--chip-variant-outlined-border-disabled,
202
206
  oklch(from var(--chip-variant-outlined-border) calc(l * 1.5) calc(c * 0.8) h));
203
207
  color: var(--chip-variant-outlined-foreground-disabled,
@@ -205,45 +209,45 @@ infonomic-components;
205
209
  }
206
210
 
207
211
  .outlined:hover,
208
- :global(.chip-outlined):hover {
212
+ :global(.infonomic-chip-outlined):hover {
209
213
  background-color: var(--chip-variant-outlined-hover);
210
214
  }
211
215
 
212
216
  .outlined:focus,
213
217
  .outlined:active,
214
- :global(.chip-outlined):focus,
215
- :global(.chip-outlined):active {
218
+ :global(.infonomic-chip-outlined):focus,
219
+ :global(.infonomic-chip-outlined):active {
216
220
  --ring-color: var(--chip-ring-color);
217
221
  }
218
222
 
219
223
  .text,
220
- :global(.chip-text) {
224
+ :global(.infonomic-chip-text) {
221
225
  background-color: var(--chip-variant-text);
222
226
  color: var(--chip-variant-text-foreground);
223
227
  }
224
228
 
225
229
  .text:disabled,
226
230
  .text[disabled],
227
- :global(.chip-text):disabled,
228
- :global(.chip-text)[disabled] {
231
+ :global(.infonomic-chip-text):disabled,
232
+ :global(.infonomic-chip-text)[disabled] {
229
233
  color: oklch(from var(--chip-variant-text-foreground) calc(l * 1.5) calc(c * 0.5) h);
230
234
  }
231
235
 
232
236
  .text:hover,
233
- :global(.chip-text):hover {
237
+ :global(.infonomic-chip-text):hover {
234
238
  background-color: var(--chip-variant-text-hover);
235
239
  }
236
240
 
237
241
  .text:focus,
238
242
  .text:active,
239
- :global(.chip-text):focus,
240
- :global(.chip-text):active {
243
+ :global(.infonomic-chip-text):focus,
244
+ :global(.infonomic-chip-text):active {
241
245
  --ring-color: var(--chip-ring-color);
242
246
  }
243
247
 
244
248
  /* Intents - Defining Variables */
245
249
  .primary,
246
- :global(.chip-primary) {
250
+ :global(.infonomic-chip-primary) {
247
251
  --chip-ring-color: var(--ring-primary);
248
252
 
249
253
  /* Filled */
@@ -270,7 +274,7 @@ infonomic-components;
270
274
  }
271
275
 
272
276
  .secondary,
273
- :global(.chip-secondary) {
277
+ :global(.infonomic-chip-secondary) {
274
278
  --chip-ring-color: var(--ring-secondary);
275
279
 
276
280
  /* Filled */
@@ -297,7 +301,7 @@ infonomic-components;
297
301
  }
298
302
 
299
303
  .noeffect,
300
- :global(.chip-noeffect) {
304
+ :global(.infonomic-chip-noeffect) {
301
305
  --chip-ring-color: var(--ring-noeffect);
302
306
 
303
307
  /* Filled */
@@ -324,7 +328,7 @@ infonomic-components;
324
328
  }
325
329
 
326
330
  .success,
327
- :global(.chip-success) {
331
+ :global(.infonomic-chip-success) {
328
332
  --chip-ring-color: var(--ring-success);
329
333
 
330
334
  /* Filled */
@@ -351,7 +355,7 @@ infonomic-components;
351
355
  }
352
356
 
353
357
  .info,
354
- :global(.chip-info) {
358
+ :global(.infonomic-chip-info) {
355
359
  --chip-ring-color: var(--ring-info);
356
360
 
357
361
  /* Filled */
@@ -378,7 +382,7 @@ infonomic-components;
378
382
  }
379
383
 
380
384
  .warning,
381
- :global(.chip-warning) {
385
+ :global(.infonomic-chip-warning) {
382
386
  --chip-ring-color: var(--ring-warning);
383
387
 
384
388
  /* Filled */
@@ -405,7 +409,7 @@ infonomic-components;
405
409
  }
406
410
 
407
411
  .danger,
408
- :global(.chip-danger) {
412
+ :global(.infonomic-chip-danger) {
409
413
  --chip-ring-color: var(--ring-danger);
410
414
 
411
415
  /* Filled */