igniteui-webcomponents 7.3.0-beta.1 → 7.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (212) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/README.md +30 -0
  3. package/components/avatar/avatar.d.ts +1 -2
  4. package/components/avatar/avatar.js +4 -8
  5. package/components/avatar/avatar.js.map +1 -1
  6. package/components/badge/badge.d.ts +6 -1
  7. package/components/badge/badge.js +8 -5
  8. package/components/badge/badge.js.map +1 -1
  9. package/components/badge/themes/badge.base.css.js +1 -1
  10. package/components/badge/themes/badge.base.css.js.map +1 -1
  11. package/components/chip/chip.d.ts +30 -14
  12. package/components/chip/chip.js +54 -48
  13. package/components/chip/chip.js.map +1 -1
  14. package/components/chip/themes/chip.base.css.js +1 -1
  15. package/components/chip/themes/chip.base.css.js.map +1 -1
  16. package/components/chip/themes/dark/chip.bootstrap.css.js +1 -1
  17. package/components/chip/themes/dark/chip.bootstrap.css.js.map +1 -1
  18. package/components/chip/themes/dark/chip.fluent.css.js +1 -1
  19. package/components/chip/themes/dark/chip.fluent.css.js.map +1 -1
  20. package/components/chip/themes/dark/chip.indigo.css.js +1 -1
  21. package/components/chip/themes/dark/chip.indigo.css.js.map +1 -1
  22. package/components/chip/themes/dark/chip.material.css.js +1 -1
  23. package/components/chip/themes/dark/chip.material.css.js.map +1 -1
  24. package/components/chip/themes/light/chip.bootstrap.css.js +1 -1
  25. package/components/chip/themes/light/chip.bootstrap.css.js.map +1 -1
  26. package/components/chip/themes/light/chip.fluent.css.js +1 -1
  27. package/components/chip/themes/light/chip.fluent.css.js.map +1 -1
  28. package/components/chip/themes/light/chip.indigo.css.js +1 -1
  29. package/components/chip/themes/light/chip.indigo.css.js.map +1 -1
  30. package/components/chip/themes/light/chip.material.css.js +1 -1
  31. package/components/chip/themes/light/chip.material.css.js.map +1 -1
  32. package/components/chip/themes/shared/chip.bootstrap.css.js +1 -1
  33. package/components/chip/themes/shared/chip.bootstrap.css.js.map +1 -1
  34. package/components/chip/themes/shared/chip.common.css.js +1 -1
  35. package/components/chip/themes/shared/chip.common.css.js.map +1 -1
  36. package/components/chip/themes/shared/chip.fluent.css.js +1 -1
  37. package/components/chip/themes/shared/chip.fluent.css.js.map +1 -1
  38. package/components/chip/themes/shared/chip.indigo.css.js +1 -1
  39. package/components/chip/themes/shared/chip.indigo.css.js.map +1 -1
  40. package/components/color-picker/color-picker.d.ts +261 -0
  41. package/components/color-picker/color-picker.js +620 -0
  42. package/components/color-picker/color-picker.js.map +1 -0
  43. package/components/color-picker/common.d.ts +37 -0
  44. package/components/color-picker/common.js +55 -0
  45. package/components/color-picker/common.js.map +1 -0
  46. package/components/color-picker/converters.d.ts +18 -0
  47. package/components/color-picker/converters.js +173 -0
  48. package/components/color-picker/converters.js.map +1 -0
  49. package/components/color-picker/model.d.ts +120 -0
  50. package/components/color-picker/model.js +174 -0
  51. package/components/color-picker/model.js.map +1 -0
  52. package/components/color-picker/picker-canvas.d.ts +95 -0
  53. package/components/color-picker/picker-canvas.js +155 -0
  54. package/components/color-picker/picker-canvas.js.map +1 -0
  55. package/components/color-picker/themes/color-picker.base.css.js +3 -0
  56. package/components/color-picker/themes/color-picker.base.css.js.map +1 -0
  57. package/components/color-picker/themes/dark/color-picker.bootstrap.css.js +3 -0
  58. package/components/color-picker/themes/dark/color-picker.bootstrap.css.js.map +1 -0
  59. package/components/color-picker/themes/dark/color-picker.fluent.css.js +3 -0
  60. package/components/color-picker/themes/dark/color-picker.fluent.css.js.map +1 -0
  61. package/components/color-picker/themes/dark/color-picker.indigo.css.js +3 -0
  62. package/components/color-picker/themes/dark/color-picker.indigo.css.js.map +1 -0
  63. package/components/color-picker/themes/dark/color-picker.material.css.js +3 -0
  64. package/components/color-picker/themes/dark/color-picker.material.css.js.map +1 -0
  65. package/components/color-picker/themes/light/color-picker.bootstrap.css.js +3 -0
  66. package/components/color-picker/themes/light/color-picker.bootstrap.css.js.map +1 -0
  67. package/components/color-picker/themes/light/color-picker.fluent.css.js +3 -0
  68. package/components/color-picker/themes/light/color-picker.fluent.css.js.map +1 -0
  69. package/components/color-picker/themes/light/color-picker.indigo.css.js +3 -0
  70. package/components/color-picker/themes/light/color-picker.indigo.css.js.map +1 -0
  71. package/components/color-picker/themes/light/color-picker.material.css.js +3 -0
  72. package/components/color-picker/themes/light/color-picker.material.css.js.map +1 -0
  73. package/components/color-picker/themes/light/color-picker.shared.css.js +3 -0
  74. package/components/color-picker/themes/light/color-picker.shared.css.js.map +1 -0
  75. package/components/{resize-container/themes/resize-container.base.css.js → color-picker/themes/picker-canvas.base.css.js} +2 -2
  76. package/components/color-picker/themes/picker-canvas.base.css.js.map +1 -0
  77. package/components/color-picker/themes/shared/color-picker.bootstrap.css.js +3 -0
  78. package/components/color-picker/themes/shared/color-picker.bootstrap.css.js.map +1 -0
  79. package/components/color-picker/themes/shared/color-picker.common.css.d.ts +1 -0
  80. package/components/color-picker/themes/shared/color-picker.common.css.js +3 -0
  81. package/components/color-picker/themes/shared/color-picker.common.css.js.map +1 -0
  82. package/components/color-picker/themes/shared/color-picker.fluent.css.d.ts +1 -0
  83. package/components/color-picker/themes/shared/color-picker.fluent.css.js +3 -0
  84. package/components/color-picker/themes/shared/color-picker.fluent.css.js.map +1 -0
  85. package/components/color-picker/themes/shared/color-picker.indigo.css.d.ts +1 -0
  86. package/components/color-picker/themes/shared/color-picker.indigo.css.js +3 -0
  87. package/components/color-picker/themes/shared/color-picker.indigo.css.js.map +1 -0
  88. package/components/color-picker/themes/shared/color-picker.material.css.d.ts +1 -0
  89. package/components/color-picker/themes/shared/color-picker.material.css.js +3 -0
  90. package/components/color-picker/themes/shared/color-picker.material.css.js.map +1 -0
  91. package/components/color-picker/themes/themes.js +50 -0
  92. package/components/color-picker/themes/themes.js.map +1 -0
  93. package/components/color-picker/validators.d.ts +3 -0
  94. package/components/color-picker/validators.js +5 -0
  95. package/components/color-picker/validators.js.map +1 -0
  96. package/components/date-picker/date-picker.base.d.ts +1 -1
  97. package/components/icon/icon-references.js +1 -0
  98. package/components/icon/icon-references.js.map +1 -1
  99. package/components/icon/internal-icons-lib.js +3 -0
  100. package/components/icon/internal-icons-lib.js.map +1 -1
  101. package/components/input/themes/shared/input.material.css.js +1 -1
  102. package/components/input/themes/shared/input.material.css.js.map +1 -1
  103. package/components/textarea/textarea.d.ts +2 -15
  104. package/components/textarea/textarea.js +48 -93
  105. package/components/textarea/textarea.js.map +1 -1
  106. package/components/tile-manager/position.d.ts +2 -9
  107. package/components/tile-manager/position.js +27 -42
  108. package/components/tile-manager/position.js.map +1 -1
  109. package/components/tile-manager/resize-state.d.ts +11 -22
  110. package/components/tile-manager/resize-state.js +60 -119
  111. package/components/tile-manager/resize-state.js.map +1 -1
  112. package/components/tile-manager/resize-util.d.ts +3 -7
  113. package/components/tile-manager/resize-util.js +65 -72
  114. package/components/tile-manager/resize-util.js.map +1 -1
  115. package/components/tile-manager/serializer.d.ts +1 -1
  116. package/components/tile-manager/serializer.js +9 -10
  117. package/components/tile-manager/serializer.js.map +1 -1
  118. package/components/tile-manager/themes/shared/tile/tile.common.css.js +1 -1
  119. package/components/tile-manager/themes/shared/tile/tile.common.css.js.map +1 -1
  120. package/components/tile-manager/themes/tile.base.css.js +1 -1
  121. package/components/tile-manager/themes/tile.base.css.js.map +1 -1
  122. package/components/tile-manager/tile-ghost-util.js +16 -20
  123. package/components/tile-manager/tile-ghost-util.js.map +1 -1
  124. package/components/tile-manager/tile-manager.d.ts +5 -2
  125. package/components/tile-manager/tile-manager.js +27 -23
  126. package/components/tile-manager/tile-manager.js.map +1 -1
  127. package/components/tile-manager/tile.d.ts +32 -18
  128. package/components/tile-manager/tile.js +181 -161
  129. package/components/tile-manager/tile.js.map +1 -1
  130. package/components/tile-manager/types.d.ts +1 -5
  131. package/components/tile-manager/types.js.map +1 -1
  132. package/components/types.d.ts +2 -0
  133. package/components/types.js.map +1 -1
  134. package/custom-elements.json +25375 -22692
  135. package/igniteui-webcomponents.css-data.json +1 -1
  136. package/igniteui-webcomponents.html-data.json +1 -1
  137. package/index.d.ts +2 -0
  138. package/index.js +1 -0
  139. package/index.js.map +1 -1
  140. package/internals/definitions/defineAllComponents.js +2 -0
  141. package/internals/definitions/defineAllComponents.js.map +1 -1
  142. package/internals/directives/drag.d.ts +144 -0
  143. package/internals/directives/drag.js +278 -0
  144. package/internals/directives/drag.js.map +1 -0
  145. package/internals/directives/resize.d.ts +109 -0
  146. package/internals/directives/resize.js +214 -0
  147. package/internals/directives/resize.js.map +1 -0
  148. package/internals/templates/input-shell.d.ts +12 -1
  149. package/internals/templates/input-shell.js +17 -10
  150. package/internals/templates/input-shell.js.map +1 -1
  151. package/internals/utils/dom.d.ts +2 -0
  152. package/internals/utils/dom.js +3 -0
  153. package/internals/utils/dom.js.map +1 -1
  154. package/internals/utils/events.d.ts +2 -0
  155. package/internals/utils/events.js +3 -0
  156. package/internals/utils/events.js.map +1 -1
  157. package/package.json +3 -1
  158. package/skills/README.md +1 -0
  159. package/web-types.json +2 -2
  160. package/components/resize-container/default-ghost.d.ts +0 -5
  161. package/components/resize-container/default-ghost.js +0 -20
  162. package/components/resize-container/default-ghost.js.map +0 -1
  163. package/components/resize-container/resize-container.d.ts +0 -60
  164. package/components/resize-container/resize-container.js +0 -156
  165. package/components/resize-container/resize-container.js.map +0 -1
  166. package/components/resize-container/resize-controller.d.ts +0 -46
  167. package/components/resize-container/resize-controller.js +0 -195
  168. package/components/resize-container/resize-controller.js.map +0 -1
  169. package/components/resize-container/themes/dark/resize-indicator.bootstrap.css.js +0 -3
  170. package/components/resize-container/themes/dark/resize-indicator.bootstrap.css.js.map +0 -1
  171. package/components/resize-container/themes/dark/resize-indicator.fluent.css.js +0 -3
  172. package/components/resize-container/themes/dark/resize-indicator.fluent.css.js.map +0 -1
  173. package/components/resize-container/themes/dark/resize-indicator.indigo.css.js +0 -3
  174. package/components/resize-container/themes/dark/resize-indicator.indigo.css.js.map +0 -1
  175. package/components/resize-container/themes/dark/resize-indicator.material.css.js +0 -3
  176. package/components/resize-container/themes/dark/resize-indicator.material.css.js.map +0 -1
  177. package/components/resize-container/themes/dark/resize-indicator.shared.css.js +0 -3
  178. package/components/resize-container/themes/dark/resize-indicator.shared.css.js.map +0 -1
  179. package/components/resize-container/themes/light/resize-indicator.bootstrap.css.js +0 -3
  180. package/components/resize-container/themes/light/resize-indicator.bootstrap.css.js.map +0 -1
  181. package/components/resize-container/themes/light/resize-indicator.fluent.css.js +0 -3
  182. package/components/resize-container/themes/light/resize-indicator.fluent.css.js.map +0 -1
  183. package/components/resize-container/themes/light/resize-indicator.indigo.css.js +0 -3
  184. package/components/resize-container/themes/light/resize-indicator.indigo.css.js.map +0 -1
  185. package/components/resize-container/themes/light/resize-indicator.material.css.js +0 -3
  186. package/components/resize-container/themes/light/resize-indicator.material.css.js.map +0 -1
  187. package/components/resize-container/themes/light/resize-indicator.shared.css.js +0 -3
  188. package/components/resize-container/themes/light/resize-indicator.shared.css.js.map +0 -1
  189. package/components/resize-container/themes/resize-container.base.css.js.map +0 -1
  190. package/components/resize-container/themes/shared/resize-container.common.css.js +0 -3
  191. package/components/resize-container/themes/shared/resize-container.common.css.js.map +0 -1
  192. package/components/resize-container/themes/themes.js +0 -47
  193. package/components/resize-container/themes/themes.js.map +0 -1
  194. package/components/resize-container/types.d.ts +0 -40
  195. package/components/resize-container/types.js +0 -2
  196. package/components/resize-container/types.js.map +0 -1
  197. package/internals/controllers/drag.d.ts +0 -166
  198. package/internals/controllers/drag.js +0 -283
  199. package/internals/controllers/drag.js.map +0 -1
  200. /package/components/{resize-container/themes/dark/resize-indicator.bootstrap.css.d.ts → color-picker/themes/color-picker.base.css.d.ts} +0 -0
  201. /package/components/{resize-container/themes/dark/resize-indicator.fluent.css.d.ts → color-picker/themes/dark/color-picker.bootstrap.css.d.ts} +0 -0
  202. /package/components/{resize-container/themes/dark/resize-indicator.indigo.css.d.ts → color-picker/themes/dark/color-picker.fluent.css.d.ts} +0 -0
  203. /package/components/{resize-container/themes/dark/resize-indicator.material.css.d.ts → color-picker/themes/dark/color-picker.indigo.css.d.ts} +0 -0
  204. /package/components/{resize-container/themes/dark/resize-indicator.shared.css.d.ts → color-picker/themes/dark/color-picker.material.css.d.ts} +0 -0
  205. /package/components/{resize-container/themes/light/resize-indicator.bootstrap.css.d.ts → color-picker/themes/light/color-picker.bootstrap.css.d.ts} +0 -0
  206. /package/components/{resize-container/themes/light/resize-indicator.fluent.css.d.ts → color-picker/themes/light/color-picker.fluent.css.d.ts} +0 -0
  207. /package/components/{resize-container/themes/light/resize-indicator.indigo.css.d.ts → color-picker/themes/light/color-picker.indigo.css.d.ts} +0 -0
  208. /package/components/{resize-container/themes/light/resize-indicator.material.css.d.ts → color-picker/themes/light/color-picker.material.css.d.ts} +0 -0
  209. /package/components/{resize-container/themes/light/resize-indicator.shared.css.d.ts → color-picker/themes/light/color-picker.shared.css.d.ts} +0 -0
  210. /package/components/{resize-container/themes/resize-container.base.css.d.ts → color-picker/themes/picker-canvas.base.css.d.ts} +0 -0
  211. /package/components/{resize-container/themes/shared/resize-container.common.css.d.ts → color-picker/themes/shared/color-picker.bootstrap.css.d.ts} +0 -0
  212. /package/components/{resize-container → color-picker}/themes/themes.d.ts +0 -0
@@ -1,3 +1,3 @@
1
1
  import { css } from 'lit';
2
- export const styles = css `:host{--component-size: var(--ig-size, var(--default-size))}:host button:focus{outline:.25rem solid var(--focus-shadow-color)}:host([selected]) button:not([disabled]):focus{outline:.25rem solid var(--focus-selected-shadow-color)}:host([variant=primary]) button,:host([selected][variant=primary]) button:not([disabled]){color:var(--ig-primary-700-contrast)}:host([variant=primary]) button:focus,:host([selected][variant=primary]) button:not([disabled]):focus{background:var(--ig-primary-500);color:var(--ig-primary-700-contrast);outline:.25rem solid hsl(from var(--ig-primary-500) h s l/0.38)}:host([variant=primary]) button:hover,:host([selected][variant=primary]) button:not([disabled]):hover{background:var(--ig-primary-600);color:var(--ig-primary-700-contrast)}:host([variant=info]) button,:host([selected][variant=info]) button:not([disabled]){color:var(--ig-info-700-contrast)}:host([variant=info]) button:focus,:host([selected][variant=info]) button:not([disabled]):focus{background:var(--ig-info-500);color:var(--ig-info-700-contrast);outline:.25rem solid hsl(from var(--ig-info-500) h s l/0.38)}:host([variant=info]) button:hover,:host([selected][variant=info]) button:not([disabled]):hover{background:var(--ig-info-600);color:var(--ig-info-700-contrast)}:host([variant=success]) button,:host([selected][variant=success]) button:not([disabled]){color:var(--ig-success-700-contrast)}:host([variant=success]) button:focus,:host([selected][variant=success]) button:not([disabled]):focus{background:var(--ig-success-500);color:var(--ig-success-700-contrast);outline:.25rem solid hsl(from var(--ig-success-500) h s l/0.38)}:host([variant=success]) button:hover,:host([selected][variant=success]) button:not([disabled]):hover{background:var(--ig-success-600);color:var(--ig-success-700-contrast)}:host([variant=warning]) button,:host([selected][variant=warning]) button:not([disabled]){color:var(--ig-warn-700-contrast)}:host([variant=warning]) button:focus,:host([selected][variant=warning]) button:not([disabled]):focus{background:var(--ig-warn-500);color:var(--ig-warn-700-contrast);outline:.25rem solid hsl(from var(--ig-warn-500) h s l/0.38)}:host([variant=warning]) button:hover,:host([selected][variant=warning]) button:not([disabled]):hover{background:var(--ig-warn-600);color:var(--ig-warn-700-contrast)}:host([variant=danger]) button,:host([selected][variant=danger]) button:not([disabled]){color:var(--ig-error-700-contrast)}:host([variant=danger]) button:focus,:host([selected][variant=danger]) button:not([disabled]):focus{background:var(--ig-error-500);color:var(--ig-error-700-contrast);outline:.25rem solid hsl(from var(--ig-error-500) h s l/0.38)}:host([variant=danger]) button:hover,:host([selected][variant=danger]) button:not([disabled]):hover{background:var(--ig-error-600);color:var(--ig-error-700-contrast)}:host([outlined][variant=primary]) button,:host([selected][outlined][variant=primary]) button:not([disabled]){background:rgba(0,0,0,0)}:host([outlined][variant=primary]) button:hover,:host([selected][outlined][variant=primary]) button:not([disabled]):hover{background:hsl(from var(--ig-primary-600) h s l/0.3)}:host([outlined][variant=primary]) button:focus,:host([selected][outlined][variant=primary]) button:not([disabled]):focus{background:rgba(0,0,0,0)}:host([outlined][variant=info]) button,:host([selected][outlined][variant=info]) button:not([disabled]){background:rgba(0,0,0,0)}:host([outlined][variant=info]) button:hover,:host([selected][outlined][variant=info]) button:not([disabled]):hover{background:hsl(from var(--ig-info-600) h s l/0.3)}:host([outlined][variant=info]) button:focus,:host([selected][outlined][variant=info]) button:not([disabled]):focus{background:rgba(0,0,0,0)}:host([outlined][variant=success]) button,:host([selected][outlined][variant=success]) button:not([disabled]){background:rgba(0,0,0,0)}:host([outlined][variant=success]) button:hover,:host([selected][outlined][variant=success]) button:not([disabled]):hover{background:hsl(from var(--ig-success-600) h s l/0.3)}:host([outlined][variant=success]) button:focus,:host([selected][outlined][variant=success]) button:not([disabled]):focus{background:rgba(0,0,0,0)}:host([outlined][variant=warning]) button,:host([selected][outlined][variant=warning]) button:not([disabled]){background:rgba(0,0,0,0)}:host([outlined][variant=warning]) button:hover,:host([selected][outlined][variant=warning]) button:not([disabled]):hover{background:hsl(from var(--ig-warn-600) h s l/0.3)}:host([outlined][variant=warning]) button:focus,:host([selected][outlined][variant=warning]) button:not([disabled]):focus{background:rgba(0,0,0,0)}:host([outlined][variant=danger]) button,:host([selected][outlined][variant=danger]) button:not([disabled]){background:rgba(0,0,0,0)}:host([outlined][variant=danger]) button:hover,:host([selected][outlined][variant=danger]) button:not([disabled]):hover{background:hsl(from var(--ig-error-600) h s l/0.3)}:host([outlined][variant=danger]) button:focus,:host([selected][outlined][variant=danger]) button:not([disabled]):focus{background:rgba(0,0,0,0)}`;
2
+ export const styles = css `:host{--component-size: var(--ig-size, var(--default-size))}:host [part=base]:focus-within{outline:.25rem solid var(--focus-shadow-color)}:host([selected]:not([disabled])) [part=base]:focus-within{outline:.25rem solid var(--focus-selected-shadow-color)}:host([variant=primary]) [part=base],:host([selected][variant=primary]:not([disabled])) [part=base]{color:var(--ig-primary-700-contrast)}:host([variant=primary]) [part=base]:focus-within,:host([selected][variant=primary]:not([disabled])) [part=base]:focus-within{background:var(--ig-primary-500);color:var(--ig-primary-700-contrast);outline:.25rem solid hsl(from var(--ig-primary-500) h s l/0.38)}:host([variant=primary]) [part=base]:hover,:host([selected][variant=primary]:not([disabled])) [part=base]:hover{background:var(--ig-primary-600);color:var(--ig-primary-700-contrast)}:host([variant=info]) [part=base],:host([selected][variant=info]:not([disabled])) [part=base]{color:var(--ig-info-700-contrast)}:host([variant=info]) [part=base]:focus-within,:host([selected][variant=info]:not([disabled])) [part=base]:focus-within{background:var(--ig-info-500);color:var(--ig-info-700-contrast);outline:.25rem solid hsl(from var(--ig-info-500) h s l/0.38)}:host([variant=info]) [part=base]:hover,:host([selected][variant=info]:not([disabled])) [part=base]:hover{background:var(--ig-info-600);color:var(--ig-info-700-contrast)}:host([variant=success]) [part=base],:host([selected][variant=success]:not([disabled])) [part=base]{color:var(--ig-success-700-contrast)}:host([variant=success]) [part=base]:focus-within,:host([selected][variant=success]:not([disabled])) [part=base]:focus-within{background:var(--ig-success-500);color:var(--ig-success-700-contrast);outline:.25rem solid hsl(from var(--ig-success-500) h s l/0.38)}:host([variant=success]) [part=base]:hover,:host([selected][variant=success]:not([disabled])) [part=base]:hover{background:var(--ig-success-600);color:var(--ig-success-700-contrast)}:host([variant=warning]) [part=base],:host([selected][variant=warning]:not([disabled])) [part=base]{color:var(--ig-warn-700-contrast)}:host([variant=warning]) [part=base]:focus-within,:host([selected][variant=warning]:not([disabled])) [part=base]:focus-within{background:var(--ig-warn-500);color:var(--ig-warn-700-contrast);outline:.25rem solid hsl(from var(--ig-warn-500) h s l/0.38)}:host([variant=warning]) [part=base]:hover,:host([selected][variant=warning]:not([disabled])) [part=base]:hover{background:var(--ig-warn-600);color:var(--ig-warn-700-contrast)}:host([variant=danger]) [part=base],:host([selected][variant=danger]:not([disabled])) [part=base]{color:var(--ig-error-700-contrast)}:host([variant=danger]) [part=base]:focus-within,:host([selected][variant=danger]:not([disabled])) [part=base]:focus-within{background:var(--ig-error-500);color:var(--ig-error-700-contrast);outline:.25rem solid hsl(from var(--ig-error-500) h s l/0.38)}:host([variant=danger]) [part=base]:hover,:host([selected][variant=danger]:not([disabled])) [part=base]:hover{background:var(--ig-error-600);color:var(--ig-error-700-contrast)}:host([outlined][variant=primary]) [part=base],:host([selected][outlined][variant=primary]:not([disabled])) [part=base]{background:rgba(0,0,0,0)}:host([outlined][variant=primary]) [part=base]:hover,:host([selected][outlined][variant=primary]:not([disabled])) [part=base]:hover{background:hsl(from var(--ig-primary-600) h s l/0.3)}:host([outlined][variant=primary]) [part=base]:focus-within,:host([selected][outlined][variant=primary]:not([disabled])) [part=base]:focus-within{background:rgba(0,0,0,0)}:host([outlined][variant=info]) [part=base],:host([selected][outlined][variant=info]:not([disabled])) [part=base]{background:rgba(0,0,0,0)}:host([outlined][variant=info]) [part=base]:hover,:host([selected][outlined][variant=info]:not([disabled])) [part=base]:hover{background:hsl(from var(--ig-info-600) h s l/0.3)}:host([outlined][variant=info]) [part=base]:focus-within,:host([selected][outlined][variant=info]:not([disabled])) [part=base]:focus-within{background:rgba(0,0,0,0)}:host([outlined][variant=success]) [part=base],:host([selected][outlined][variant=success]:not([disabled])) [part=base]{background:rgba(0,0,0,0)}:host([outlined][variant=success]) [part=base]:hover,:host([selected][outlined][variant=success]:not([disabled])) [part=base]:hover{background:hsl(from var(--ig-success-600) h s l/0.3)}:host([outlined][variant=success]) [part=base]:focus-within,:host([selected][outlined][variant=success]:not([disabled])) [part=base]:focus-within{background:rgba(0,0,0,0)}:host([outlined][variant=warning]) [part=base],:host([selected][outlined][variant=warning]:not([disabled])) [part=base]{background:rgba(0,0,0,0)}:host([outlined][variant=warning]) [part=base]:hover,:host([selected][outlined][variant=warning]:not([disabled])) [part=base]:hover{background:hsl(from var(--ig-warn-600) h s l/0.3)}:host([outlined][variant=warning]) [part=base]:focus-within,:host([selected][outlined][variant=warning]:not([disabled])) [part=base]:focus-within{background:rgba(0,0,0,0)}:host([outlined][variant=danger]) [part=base],:host([selected][outlined][variant=danger]:not([disabled])) [part=base]{background:rgba(0,0,0,0)}:host([outlined][variant=danger]) [part=base]:hover,:host([selected][outlined][variant=danger]:not([disabled])) [part=base]:hover{background:hsl(from var(--ig-error-600) h s l/0.3)}:host([outlined][variant=danger]) [part=base]:focus-within,:host([selected][outlined][variant=danger]:not([disabled])) [part=base]:focus-within{background:rgba(0,0,0,0)}`;
3
3
  //# sourceMappingURL=chip.bootstrap.css.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"chip.bootstrap.css.js","sourceRoot":"","sources":["../../../../../src/components/chip/themes/shared/chip.bootstrap.css.ts"],"names":[],"mappings":"AACE,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA,+9JAA+9J,CAAC","sourcesContent":["\n import { css } from 'lit';\n export const styles = css`:host{--component-size: var(--ig-size, var(--default-size))}:host button:focus{outline:.25rem solid var(--focus-shadow-color)}:host([selected]) button:not([disabled]):focus{outline:.25rem solid var(--focus-selected-shadow-color)}:host([variant=primary]) button,:host([selected][variant=primary]) button:not([disabled]){color:var(--ig-primary-700-contrast)}:host([variant=primary]) button:focus,:host([selected][variant=primary]) button:not([disabled]):focus{background:var(--ig-primary-500);color:var(--ig-primary-700-contrast);outline:.25rem solid hsl(from var(--ig-primary-500) h s l/0.38)}:host([variant=primary]) button:hover,:host([selected][variant=primary]) button:not([disabled]):hover{background:var(--ig-primary-600);color:var(--ig-primary-700-contrast)}:host([variant=info]) button,:host([selected][variant=info]) button:not([disabled]){color:var(--ig-info-700-contrast)}:host([variant=info]) button:focus,:host([selected][variant=info]) button:not([disabled]):focus{background:var(--ig-info-500);color:var(--ig-info-700-contrast);outline:.25rem solid hsl(from var(--ig-info-500) h s l/0.38)}:host([variant=info]) button:hover,:host([selected][variant=info]) button:not([disabled]):hover{background:var(--ig-info-600);color:var(--ig-info-700-contrast)}:host([variant=success]) button,:host([selected][variant=success]) button:not([disabled]){color:var(--ig-success-700-contrast)}:host([variant=success]) button:focus,:host([selected][variant=success]) button:not([disabled]):focus{background:var(--ig-success-500);color:var(--ig-success-700-contrast);outline:.25rem solid hsl(from var(--ig-success-500) h s l/0.38)}:host([variant=success]) button:hover,:host([selected][variant=success]) button:not([disabled]):hover{background:var(--ig-success-600);color:var(--ig-success-700-contrast)}:host([variant=warning]) button,:host([selected][variant=warning]) button:not([disabled]){color:var(--ig-warn-700-contrast)}:host([variant=warning]) button:focus,:host([selected][variant=warning]) button:not([disabled]):focus{background:var(--ig-warn-500);color:var(--ig-warn-700-contrast);outline:.25rem solid hsl(from var(--ig-warn-500) h s l/0.38)}:host([variant=warning]) button:hover,:host([selected][variant=warning]) button:not([disabled]):hover{background:var(--ig-warn-600);color:var(--ig-warn-700-contrast)}:host([variant=danger]) button,:host([selected][variant=danger]) button:not([disabled]){color:var(--ig-error-700-contrast)}:host([variant=danger]) button:focus,:host([selected][variant=danger]) button:not([disabled]):focus{background:var(--ig-error-500);color:var(--ig-error-700-contrast);outline:.25rem solid hsl(from var(--ig-error-500) h s l/0.38)}:host([variant=danger]) button:hover,:host([selected][variant=danger]) button:not([disabled]):hover{background:var(--ig-error-600);color:var(--ig-error-700-contrast)}:host([outlined][variant=primary]) button,:host([selected][outlined][variant=primary]) button:not([disabled]){background:rgba(0,0,0,0)}:host([outlined][variant=primary]) button:hover,:host([selected][outlined][variant=primary]) button:not([disabled]):hover{background:hsl(from var(--ig-primary-600) h s l/0.3)}:host([outlined][variant=primary]) button:focus,:host([selected][outlined][variant=primary]) button:not([disabled]):focus{background:rgba(0,0,0,0)}:host([outlined][variant=info]) button,:host([selected][outlined][variant=info]) button:not([disabled]){background:rgba(0,0,0,0)}:host([outlined][variant=info]) button:hover,:host([selected][outlined][variant=info]) button:not([disabled]):hover{background:hsl(from var(--ig-info-600) h s l/0.3)}:host([outlined][variant=info]) button:focus,:host([selected][outlined][variant=info]) button:not([disabled]):focus{background:rgba(0,0,0,0)}:host([outlined][variant=success]) button,:host([selected][outlined][variant=success]) button:not([disabled]){background:rgba(0,0,0,0)}:host([outlined][variant=success]) button:hover,:host([selected][outlined][variant=success]) button:not([disabled]):hover{background:hsl(from var(--ig-success-600) h s l/0.3)}:host([outlined][variant=success]) button:focus,:host([selected][outlined][variant=success]) button:not([disabled]):focus{background:rgba(0,0,0,0)}:host([outlined][variant=warning]) button,:host([selected][outlined][variant=warning]) button:not([disabled]){background:rgba(0,0,0,0)}:host([outlined][variant=warning]) button:hover,:host([selected][outlined][variant=warning]) button:not([disabled]):hover{background:hsl(from var(--ig-warn-600) h s l/0.3)}:host([outlined][variant=warning]) button:focus,:host([selected][outlined][variant=warning]) button:not([disabled]):focus{background:rgba(0,0,0,0)}:host([outlined][variant=danger]) button,:host([selected][outlined][variant=danger]) button:not([disabled]){background:rgba(0,0,0,0)}:host([outlined][variant=danger]) button:hover,:host([selected][outlined][variant=danger]) button:not([disabled]):hover{background:hsl(from var(--ig-error-600) h s l/0.3)}:host([outlined][variant=danger]) button:focus,:host([selected][outlined][variant=danger]) button:not([disabled]):focus{background:rgba(0,0,0,0)}`;\n "]}
1
+ {"version":3,"file":"chip.bootstrap.css.js","sourceRoot":"","sources":["../../../../../src/components/chip/themes/shared/chip.bootstrap.css.ts"],"names":[],"mappings":"AACE,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA,+6KAA+6K,CAAC","sourcesContent":["\n import { css } from 'lit';\n export const styles = css`:host{--component-size: var(--ig-size, var(--default-size))}:host [part=base]:focus-within{outline:.25rem solid var(--focus-shadow-color)}:host([selected]:not([disabled])) [part=base]:focus-within{outline:.25rem solid var(--focus-selected-shadow-color)}:host([variant=primary]) [part=base],:host([selected][variant=primary]:not([disabled])) [part=base]{color:var(--ig-primary-700-contrast)}:host([variant=primary]) [part=base]:focus-within,:host([selected][variant=primary]:not([disabled])) [part=base]:focus-within{background:var(--ig-primary-500);color:var(--ig-primary-700-contrast);outline:.25rem solid hsl(from var(--ig-primary-500) h s l/0.38)}:host([variant=primary]) [part=base]:hover,:host([selected][variant=primary]:not([disabled])) [part=base]:hover{background:var(--ig-primary-600);color:var(--ig-primary-700-contrast)}:host([variant=info]) [part=base],:host([selected][variant=info]:not([disabled])) [part=base]{color:var(--ig-info-700-contrast)}:host([variant=info]) [part=base]:focus-within,:host([selected][variant=info]:not([disabled])) [part=base]:focus-within{background:var(--ig-info-500);color:var(--ig-info-700-contrast);outline:.25rem solid hsl(from var(--ig-info-500) h s l/0.38)}:host([variant=info]) [part=base]:hover,:host([selected][variant=info]:not([disabled])) [part=base]:hover{background:var(--ig-info-600);color:var(--ig-info-700-contrast)}:host([variant=success]) [part=base],:host([selected][variant=success]:not([disabled])) [part=base]{color:var(--ig-success-700-contrast)}:host([variant=success]) [part=base]:focus-within,:host([selected][variant=success]:not([disabled])) [part=base]:focus-within{background:var(--ig-success-500);color:var(--ig-success-700-contrast);outline:.25rem solid hsl(from var(--ig-success-500) h s l/0.38)}:host([variant=success]) [part=base]:hover,:host([selected][variant=success]:not([disabled])) [part=base]:hover{background:var(--ig-success-600);color:var(--ig-success-700-contrast)}:host([variant=warning]) [part=base],:host([selected][variant=warning]:not([disabled])) [part=base]{color:var(--ig-warn-700-contrast)}:host([variant=warning]) [part=base]:focus-within,:host([selected][variant=warning]:not([disabled])) [part=base]:focus-within{background:var(--ig-warn-500);color:var(--ig-warn-700-contrast);outline:.25rem solid hsl(from var(--ig-warn-500) h s l/0.38)}:host([variant=warning]) [part=base]:hover,:host([selected][variant=warning]:not([disabled])) [part=base]:hover{background:var(--ig-warn-600);color:var(--ig-warn-700-contrast)}:host([variant=danger]) [part=base],:host([selected][variant=danger]:not([disabled])) [part=base]{color:var(--ig-error-700-contrast)}:host([variant=danger]) [part=base]:focus-within,:host([selected][variant=danger]:not([disabled])) [part=base]:focus-within{background:var(--ig-error-500);color:var(--ig-error-700-contrast);outline:.25rem solid hsl(from var(--ig-error-500) h s l/0.38)}:host([variant=danger]) [part=base]:hover,:host([selected][variant=danger]:not([disabled])) [part=base]:hover{background:var(--ig-error-600);color:var(--ig-error-700-contrast)}:host([outlined][variant=primary]) [part=base],:host([selected][outlined][variant=primary]:not([disabled])) [part=base]{background:rgba(0,0,0,0)}:host([outlined][variant=primary]) [part=base]:hover,:host([selected][outlined][variant=primary]:not([disabled])) [part=base]:hover{background:hsl(from var(--ig-primary-600) h s l/0.3)}:host([outlined][variant=primary]) [part=base]:focus-within,:host([selected][outlined][variant=primary]:not([disabled])) [part=base]:focus-within{background:rgba(0,0,0,0)}:host([outlined][variant=info]) [part=base],:host([selected][outlined][variant=info]:not([disabled])) [part=base]{background:rgba(0,0,0,0)}:host([outlined][variant=info]) [part=base]:hover,:host([selected][outlined][variant=info]:not([disabled])) [part=base]:hover{background:hsl(from var(--ig-info-600) h s l/0.3)}:host([outlined][variant=info]) [part=base]:focus-within,:host([selected][outlined][variant=info]:not([disabled])) [part=base]:focus-within{background:rgba(0,0,0,0)}:host([outlined][variant=success]) [part=base],:host([selected][outlined][variant=success]:not([disabled])) [part=base]{background:rgba(0,0,0,0)}:host([outlined][variant=success]) [part=base]:hover,:host([selected][outlined][variant=success]:not([disabled])) [part=base]:hover{background:hsl(from var(--ig-success-600) h s l/0.3)}:host([outlined][variant=success]) [part=base]:focus-within,:host([selected][outlined][variant=success]:not([disabled])) [part=base]:focus-within{background:rgba(0,0,0,0)}:host([outlined][variant=warning]) [part=base],:host([selected][outlined][variant=warning]:not([disabled])) [part=base]{background:rgba(0,0,0,0)}:host([outlined][variant=warning]) [part=base]:hover,:host([selected][outlined][variant=warning]:not([disabled])) [part=base]:hover{background:hsl(from var(--ig-warn-600) h s l/0.3)}:host([outlined][variant=warning]) [part=base]:focus-within,:host([selected][outlined][variant=warning]:not([disabled])) [part=base]:focus-within{background:rgba(0,0,0,0)}:host([outlined][variant=danger]) [part=base],:host([selected][outlined][variant=danger]:not([disabled])) [part=base]{background:rgba(0,0,0,0)}:host([outlined][variant=danger]) [part=base]:hover,:host([selected][outlined][variant=danger]:not([disabled])) [part=base]:hover{background:hsl(from var(--ig-error-600) h s l/0.3)}:host([outlined][variant=danger]) [part=base]:focus-within,:host([selected][outlined][variant=danger]:not([disabled])) [part=base]:focus-within{background:rgba(0,0,0,0)}`;\n "]}
@@ -1,3 +1,3 @@
1
1
  import { css } from 'lit';
2
- export const styles = css `:host{--component-size: var(--ig-size, var(--default-size));--chip-size: var(--component-size)}:host button{border-radius:var(--border-radius);background:var(--background);color:var(--text-color);outline:none;height:var(--size)}:host button [part=content]{padding-inline:max(var(--is-large, 1)*max(0.5rem, -1 * 0.5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, var(--ig-spacing))),var(--is-medium, 1)*max(0.375rem, -1 * 0.375rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, var(--ig-spacing))),var(--is-small, 1)*max(0.1875rem, -1 * 0.1875rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, var(--ig-spacing))))}:host button:focus{background:var(--focus-background);color:var(--focus-text-color)}:host button:hover{background:var(--hover-background);color:var(--hover-text-color)}:host button[disabled]{background:var(--disabled-background);color:var(--disabled-text-color)}:host button ::slotted([slot=remove]){color:var(--remove-icon-color)}:host button ::slotted([slot=remove]):focus-within{color:var(--remove-icon-color-focus)}:host button slot[name=remove] igc-icon,:host button slot[name=remove] ::slotted(igc-icon){color:var(--remove-icon-color)}:host button slot[name=remove]:focus-within igc-icon,:host button slot[name=remove]:focus-within ::slotted(igc-icon){color:var(--remove-icon-color-focus)}:host button igc-icon,:host button ::slotted(igc-icon){--component-size: var(--chip-size)}:host button ::slotted(*){--default-size: var(--chip-size);display:inline-flex;place-items:center}:host button ::slotted(igc-avatar){--size: max(var(--is-large, 1) * max(1.5rem, -1 * 1.5rem), var(--is-medium, 1) * max(1.125rem, -1 * 1.125rem), var(--is-small, 1) * max(0.875rem, -1 * 0.875rem))}:host button ::slotted(igc-circular-progress){--diameter: max(var(--is-large, 1) * max(1.5rem, -1 * 1.5rem), var(--is-medium, 1) * max(1.125rem, -1 * 1.125rem), var(--is-small, 1) * max(0.875rem, -1 * 0.875rem))}:host([selected]) button:not([disabled]){background:var(--selected-background);color:var(--selected-text-color)}:host([selected]) button:not([disabled]):focus{background:var(--focus-selected-background);color:var(--focus-selected-text-color)}:host([selected]) button:not([disabled]):hover{background:var(--hover-selected-background);color:var(--hover-selected-text-color)}:host([selected]) button[disabled]{background:var(--disabled-selected-background);color:var(--disabled-selected-text-color)}:host([outlined]) button{background:var(--outlined-background);color:var(--outlined-text-color);border:.0625rem solid var(--border-color)}:host([outlined]) button:focus{background:var(--focus-outlined-background);color:var(--focus-outlined-text-color);border-color:var(--focus-border-color)}:host([outlined]) button:hover{background:var(--hover-outlined-background);color:var(--hover-outlined-text-color);border-color:var(--hover-border-color)}:host([outlined]) button[disabled]{background:var(--disabled-outlined-background);color:var(--disabled-outlined-text-color);border-color:var(--disabled-border-color)}:host([selected][outlined]) button:not([disabled]){background:var(--selected-outlined-background);color:var(--selected-outlined-text-color);border-color:var(--selected-border-color)}:host([selected][outlined]) button:not([disabled]):focus{background:var(--focus-selected-outlined-background);color:var(--focus-selected-outlined-text-color);border-color:var(--focus-selected-border-color)}:host([selected][outlined]) button:not([disabled]):hover{background:var(--hover-selected-outlined-background);color:var(--hover-selected-outlined-text-color);border-color:var(--hover-selected-border-color)}:host([selected][outlined]) button[disabled]{background:var(--disabled-selected-outlined-background);color:var(--disabled-selected-outlined-text-color);border-color:var(--disabled-selected-border-color)}`;
2
+ export const styles = css `:host{--component-size: var(--ig-size, var(--default-size));--chip-size: var(--component-size)}:host [part=base]{border-radius:var(--border-radius);background:var(--background);color:var(--text-color);outline:none;height:var(--size)}:host [part=base] [part=content]{padding-inline:max(var(--is-large, 1)*max(0.5rem, -1 * 0.5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, var(--ig-spacing))),var(--is-medium, 1)*max(0.375rem, -1 * 0.375rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, var(--ig-spacing))),var(--is-small, 1)*max(0.1875rem, -1 * 0.1875rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, var(--ig-spacing))))}:host [part=base]:focus-within{background:var(--focus-background);color:var(--focus-text-color)}:host [part=base]:hover{background:var(--hover-background);color:var(--hover-text-color)}:host [part=base] ::slotted([slot=remove]){color:var(--remove-icon-color)}:host [part=base] ::slotted([slot=remove]):focus-within{color:var(--remove-icon-color-focus)}:host [part=base] slot[name=remove] igc-icon,:host [part=base] slot[name=remove] ::slotted(igc-icon){color:var(--remove-icon-color)}:host [part=base] slot[name=remove]:focus-within igc-icon,:host [part=base] slot[name=remove]:focus-within ::slotted(igc-icon){color:var(--remove-icon-color-focus)}:host [part=base] igc-icon,:host [part=base] ::slotted(igc-icon){--component-size: var(--chip-size)}:host [part=base] ::slotted(*){--default-size: var(--chip-size);display:inline-flex;place-items:center}:host [part=base] ::slotted(igc-avatar){--size: max(var(--is-large, 1) * max(1.5rem, -1 * 1.5rem), var(--is-medium, 1) * max(1.125rem, -1 * 1.125rem), var(--is-small, 1) * max(0.875rem, -1 * 0.875rem))}:host [part=base] ::slotted(igc-circular-progress){--diameter: max(var(--is-large, 1) * max(1.5rem, -1 * 1.5rem), var(--is-medium, 1) * max(1.125rem, -1 * 1.125rem), var(--is-small, 1) * max(0.875rem, -1 * 0.875rem))}:host([disabled]) [part=base]{background:var(--disabled-background);color:var(--disabled-text-color)}:host([selected]:not([disabled])) [part=base]{background:var(--selected-background);color:var(--selected-text-color)}:host([selected]:not([disabled])) [part=base]:focus-within{background:var(--focus-selected-background);color:var(--focus-selected-text-color)}:host([selected]:not([disabled])) [part=base]:hover{background:var(--hover-selected-background);color:var(--hover-selected-text-color)}:host([selected][disabled]) [part=base]{background:var(--disabled-selected-background);color:var(--disabled-selected-text-color)}:host([outlined]) [part=base]{background:var(--outlined-background);color:var(--outlined-text-color);border:.0625rem solid var(--border-color)}:host([outlined]) [part=base]:focus-within{background:var(--focus-outlined-background);color:var(--focus-outlined-text-color);border-color:var(--focus-border-color)}:host([outlined]) [part=base]:hover{background:var(--hover-outlined-background);color:var(--hover-outlined-text-color);border-color:var(--hover-border-color)}:host([outlined][disabled]) [part=base]{background:var(--disabled-outlined-background);color:var(--disabled-outlined-text-color);border-color:var(--disabled-border-color)}:host([selected][outlined]:not([disabled])) [part=base]{background:var(--selected-outlined-background);color:var(--selected-outlined-text-color);border-color:var(--selected-border-color)}:host([selected][outlined]:not([disabled])) [part=base]:focus-within{background:var(--focus-selected-outlined-background);color:var(--focus-selected-outlined-text-color);border-color:var(--focus-selected-border-color)}:host([selected][outlined]:not([disabled])) [part=base]:hover{background:var(--hover-selected-outlined-background);color:var(--hover-selected-outlined-text-color);border-color:var(--hover-selected-border-color)}:host([selected][outlined][disabled]) [part=base]{background:var(--disabled-selected-outlined-background);color:var(--disabled-selected-outlined-text-color);border-color:var(--disabled-selected-border-color)}`;
3
3
  //# sourceMappingURL=chip.common.css.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"chip.common.css.js","sourceRoot":"","sources":["../../../../../src/components/chip/themes/shared/chip.common.css.ts"],"names":[],"mappings":"AACE,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA,qwHAAqwH,CAAC","sourcesContent":["\n import { css } from 'lit';\n export const styles = css`:host{--component-size: var(--ig-size, var(--default-size));--chip-size: var(--component-size)}:host button{border-radius:var(--border-radius);background:var(--background);color:var(--text-color);outline:none;height:var(--size)}:host button [part=content]{padding-inline:max(var(--is-large, 1)*max(0.5rem, -1 * 0.5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, var(--ig-spacing))),var(--is-medium, 1)*max(0.375rem, -1 * 0.375rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, var(--ig-spacing))),var(--is-small, 1)*max(0.1875rem, -1 * 0.1875rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, var(--ig-spacing))))}:host button:focus{background:var(--focus-background);color:var(--focus-text-color)}:host button:hover{background:var(--hover-background);color:var(--hover-text-color)}:host button[disabled]{background:var(--disabled-background);color:var(--disabled-text-color)}:host button ::slotted([slot=remove]){color:var(--remove-icon-color)}:host button ::slotted([slot=remove]):focus-within{color:var(--remove-icon-color-focus)}:host button slot[name=remove] igc-icon,:host button slot[name=remove] ::slotted(igc-icon){color:var(--remove-icon-color)}:host button slot[name=remove]:focus-within igc-icon,:host button slot[name=remove]:focus-within ::slotted(igc-icon){color:var(--remove-icon-color-focus)}:host button igc-icon,:host button ::slotted(igc-icon){--component-size: var(--chip-size)}:host button ::slotted(*){--default-size: var(--chip-size);display:inline-flex;place-items:center}:host button ::slotted(igc-avatar){--size: max(var(--is-large, 1) * max(1.5rem, -1 * 1.5rem), var(--is-medium, 1) * max(1.125rem, -1 * 1.125rem), var(--is-small, 1) * max(0.875rem, -1 * 0.875rem))}:host button ::slotted(igc-circular-progress){--diameter: max(var(--is-large, 1) * max(1.5rem, -1 * 1.5rem), var(--is-medium, 1) * max(1.125rem, -1 * 1.125rem), var(--is-small, 1) * max(0.875rem, -1 * 0.875rem))}:host([selected]) button:not([disabled]){background:var(--selected-background);color:var(--selected-text-color)}:host([selected]) button:not([disabled]):focus{background:var(--focus-selected-background);color:var(--focus-selected-text-color)}:host([selected]) button:not([disabled]):hover{background:var(--hover-selected-background);color:var(--hover-selected-text-color)}:host([selected]) button[disabled]{background:var(--disabled-selected-background);color:var(--disabled-selected-text-color)}:host([outlined]) button{background:var(--outlined-background);color:var(--outlined-text-color);border:.0625rem solid var(--border-color)}:host([outlined]) button:focus{background:var(--focus-outlined-background);color:var(--focus-outlined-text-color);border-color:var(--focus-border-color)}:host([outlined]) button:hover{background:var(--hover-outlined-background);color:var(--hover-outlined-text-color);border-color:var(--hover-border-color)}:host([outlined]) button[disabled]{background:var(--disabled-outlined-background);color:var(--disabled-outlined-text-color);border-color:var(--disabled-border-color)}:host([selected][outlined]) button:not([disabled]){background:var(--selected-outlined-background);color:var(--selected-outlined-text-color);border-color:var(--selected-border-color)}:host([selected][outlined]) button:not([disabled]):focus{background:var(--focus-selected-outlined-background);color:var(--focus-selected-outlined-text-color);border-color:var(--focus-selected-border-color)}:host([selected][outlined]) button:not([disabled]):hover{background:var(--hover-selected-outlined-background);color:var(--hover-selected-outlined-text-color);border-color:var(--hover-selected-border-color)}:host([selected][outlined]) button[disabled]{background:var(--disabled-selected-outlined-background);color:var(--disabled-selected-outlined-text-color);border-color:var(--disabled-selected-border-color)}`;\n "]}
1
+ {"version":3,"file":"chip.common.css.js","sourceRoot":"","sources":["../../../../../src/components/chip/themes/shared/chip.common.css.ts"],"names":[],"mappings":"AACE,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA,+6HAA+6H,CAAC","sourcesContent":["\n import { css } from 'lit';\n export const styles = css`:host{--component-size: var(--ig-size, var(--default-size));--chip-size: var(--component-size)}:host [part=base]{border-radius:var(--border-radius);background:var(--background);color:var(--text-color);outline:none;height:var(--size)}:host [part=base] [part=content]{padding-inline:max(var(--is-large, 1)*max(0.5rem, -1 * 0.5rem)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, var(--ig-spacing))),var(--is-medium, 1)*max(0.375rem, -1 * 0.375rem)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, var(--ig-spacing))),var(--is-small, 1)*max(0.1875rem, -1 * 0.1875rem)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, var(--ig-spacing))))}:host [part=base]:focus-within{background:var(--focus-background);color:var(--focus-text-color)}:host [part=base]:hover{background:var(--hover-background);color:var(--hover-text-color)}:host [part=base] ::slotted([slot=remove]){color:var(--remove-icon-color)}:host [part=base] ::slotted([slot=remove]):focus-within{color:var(--remove-icon-color-focus)}:host [part=base] slot[name=remove] igc-icon,:host [part=base] slot[name=remove] ::slotted(igc-icon){color:var(--remove-icon-color)}:host [part=base] slot[name=remove]:focus-within igc-icon,:host [part=base] slot[name=remove]:focus-within ::slotted(igc-icon){color:var(--remove-icon-color-focus)}:host [part=base] igc-icon,:host [part=base] ::slotted(igc-icon){--component-size: var(--chip-size)}:host [part=base] ::slotted(*){--default-size: var(--chip-size);display:inline-flex;place-items:center}:host [part=base] ::slotted(igc-avatar){--size: max(var(--is-large, 1) * max(1.5rem, -1 * 1.5rem), var(--is-medium, 1) * max(1.125rem, -1 * 1.125rem), var(--is-small, 1) * max(0.875rem, -1 * 0.875rem))}:host [part=base] ::slotted(igc-circular-progress){--diameter: max(var(--is-large, 1) * max(1.5rem, -1 * 1.5rem), var(--is-medium, 1) * max(1.125rem, -1 * 1.125rem), var(--is-small, 1) * max(0.875rem, -1 * 0.875rem))}:host([disabled]) [part=base]{background:var(--disabled-background);color:var(--disabled-text-color)}:host([selected]:not([disabled])) [part=base]{background:var(--selected-background);color:var(--selected-text-color)}:host([selected]:not([disabled])) [part=base]:focus-within{background:var(--focus-selected-background);color:var(--focus-selected-text-color)}:host([selected]:not([disabled])) [part=base]:hover{background:var(--hover-selected-background);color:var(--hover-selected-text-color)}:host([selected][disabled]) [part=base]{background:var(--disabled-selected-background);color:var(--disabled-selected-text-color)}:host([outlined]) [part=base]{background:var(--outlined-background);color:var(--outlined-text-color);border:.0625rem solid var(--border-color)}:host([outlined]) [part=base]:focus-within{background:var(--focus-outlined-background);color:var(--focus-outlined-text-color);border-color:var(--focus-border-color)}:host([outlined]) [part=base]:hover{background:var(--hover-outlined-background);color:var(--hover-outlined-text-color);border-color:var(--hover-border-color)}:host([outlined][disabled]) [part=base]{background:var(--disabled-outlined-background);color:var(--disabled-outlined-text-color);border-color:var(--disabled-border-color)}:host([selected][outlined]:not([disabled])) [part=base]{background:var(--selected-outlined-background);color:var(--selected-outlined-text-color);border-color:var(--selected-border-color)}:host([selected][outlined]:not([disabled])) [part=base]:focus-within{background:var(--focus-selected-outlined-background);color:var(--focus-selected-outlined-text-color);border-color:var(--focus-selected-border-color)}:host([selected][outlined]:not([disabled])) [part=base]:hover{background:var(--hover-selected-outlined-background);color:var(--hover-selected-outlined-text-color);border-color:var(--hover-selected-border-color)}:host([selected][outlined][disabled]) [part=base]{background:var(--disabled-selected-outlined-background);color:var(--disabled-selected-outlined-text-color);border-color:var(--disabled-selected-border-color)}`;\n "]}
@@ -1,3 +1,3 @@
1
1
  import { css } from 'lit';
2
- export const styles = css `:host{--component-size: var(--ig-size, var(--default-size))}:host button{font-family:var(--ig-subtitle-2-font-family, var(--ig-font-family));font-size:var(--ig-subtitle-2-font-size);font-weight:var(--ig-subtitle-2-font-weight);font-style:var(--ig-subtitle-2-font-style);line-height:var(--ig-subtitle-2-line-height);letter-spacing:var(--ig-subtitle-2-letter-spacing);text-transform:var(--ig-subtitle-2-text-transform);margin-top:var(--ig-subtitle-2-margin-top);margin-bottom:var(--ig-subtitle-2-margin-bottom)}:host([outlined][variant=primary]) button,:host([selected][outlined][variant=primary]) button:not([disabled]){background:rgba(0,0,0,0)}:host([outlined][variant=info]) button,:host([selected][outlined][variant=info]) button:not([disabled]){background:rgba(0,0,0,0)}:host([outlined][variant=success]) button,:host([selected][outlined][variant=success]) button:not([disabled]){background:rgba(0,0,0,0)}:host([outlined][variant=warning]) button,:host([selected][outlined][variant=warning]) button:not([disabled]){background:rgba(0,0,0,0)}:host([outlined][variant=danger]) button,:host([selected][outlined][variant=danger]) button:not([disabled]){background:rgba(0,0,0,0)}`;
2
+ export const styles = css `:host{--component-size: var(--ig-size, var(--default-size))}:host [part=base]{font-family:var(--ig-subtitle-2-font-family, var(--ig-font-family));font-size:var(--ig-subtitle-2-font-size);font-weight:var(--ig-subtitle-2-font-weight);font-style:var(--ig-subtitle-2-font-style);line-height:var(--ig-subtitle-2-line-height);letter-spacing:var(--ig-subtitle-2-letter-spacing);text-transform:var(--ig-subtitle-2-text-transform);margin-top:var(--ig-subtitle-2-margin-top);margin-bottom:var(--ig-subtitle-2-margin-bottom)}:host([outlined][variant=primary]) [part=base],:host([selected][outlined][variant=primary]:not([disabled])) [part=base]{background:rgba(0,0,0,0)}:host([outlined][variant=info]) [part=base],:host([selected][outlined][variant=info]:not([disabled])) [part=base]{background:rgba(0,0,0,0)}:host([outlined][variant=success]) [part=base],:host([selected][outlined][variant=success]:not([disabled])) [part=base]{background:rgba(0,0,0,0)}:host([outlined][variant=warning]) [part=base],:host([selected][outlined][variant=warning]:not([disabled])) [part=base]{background:rgba(0,0,0,0)}:host([outlined][variant=danger]) [part=base],:host([selected][outlined][variant=danger]:not([disabled])) [part=base]{background:rgba(0,0,0,0)}`;
3
3
  //# sourceMappingURL=chip.fluent.css.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"chip.fluent.css.js","sourceRoot":"","sources":["../../../../../src/components/chip/themes/shared/chip.fluent.css.ts"],"names":[],"mappings":"AACE,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA,0pCAA0pC,CAAC","sourcesContent":["\n import { css } from 'lit';\n export const styles = css`:host{--component-size: var(--ig-size, var(--default-size))}:host button{font-family:var(--ig-subtitle-2-font-family, var(--ig-font-family));font-size:var(--ig-subtitle-2-font-size);font-weight:var(--ig-subtitle-2-font-weight);font-style:var(--ig-subtitle-2-font-style);line-height:var(--ig-subtitle-2-line-height);letter-spacing:var(--ig-subtitle-2-letter-spacing);text-transform:var(--ig-subtitle-2-text-transform);margin-top:var(--ig-subtitle-2-margin-top);margin-bottom:var(--ig-subtitle-2-margin-bottom)}:host([outlined][variant=primary]) button,:host([selected][outlined][variant=primary]) button:not([disabled]){background:rgba(0,0,0,0)}:host([outlined][variant=info]) button,:host([selected][outlined][variant=info]) button:not([disabled]){background:rgba(0,0,0,0)}:host([outlined][variant=success]) button,:host([selected][outlined][variant=success]) button:not([disabled]){background:rgba(0,0,0,0)}:host([outlined][variant=warning]) button,:host([selected][outlined][variant=warning]) button:not([disabled]){background:rgba(0,0,0,0)}:host([outlined][variant=danger]) button,:host([selected][outlined][variant=danger]) button:not([disabled]){background:rgba(0,0,0,0)}`;\n "]}
1
+ {"version":3,"file":"chip.fluent.css.js","sourceRoot":"","sources":["../../../../../src/components/chip/themes/shared/chip.fluent.css.ts"],"names":[],"mappings":"AACE,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA,itCAAitC,CAAC","sourcesContent":["\n import { css } from 'lit';\n export const styles = css`:host{--component-size: var(--ig-size, var(--default-size))}:host [part=base]{font-family:var(--ig-subtitle-2-font-family, var(--ig-font-family));font-size:var(--ig-subtitle-2-font-size);font-weight:var(--ig-subtitle-2-font-weight);font-style:var(--ig-subtitle-2-font-style);line-height:var(--ig-subtitle-2-line-height);letter-spacing:var(--ig-subtitle-2-letter-spacing);text-transform:var(--ig-subtitle-2-text-transform);margin-top:var(--ig-subtitle-2-margin-top);margin-bottom:var(--ig-subtitle-2-margin-bottom)}:host([outlined][variant=primary]) [part=base],:host([selected][outlined][variant=primary]:not([disabled])) [part=base]{background:rgba(0,0,0,0)}:host([outlined][variant=info]) [part=base],:host([selected][outlined][variant=info]:not([disabled])) [part=base]{background:rgba(0,0,0,0)}:host([outlined][variant=success]) [part=base],:host([selected][outlined][variant=success]:not([disabled])) [part=base]{background:rgba(0,0,0,0)}:host([outlined][variant=warning]) [part=base],:host([selected][outlined][variant=warning]:not([disabled])) [part=base]{background:rgba(0,0,0,0)}:host([outlined][variant=danger]) [part=base],:host([selected][outlined][variant=danger]:not([disabled])) [part=base]{background:rgba(0,0,0,0)}`;\n "]}
@@ -1,3 +1,3 @@
1
1
  import { css } from 'lit';
2
- export const styles = css `:host{--component-size: var(--ig-size, var(--default-size))}:host button{padding:0 max(var(--is-large, 1)*max(7px, -1 * 7px)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, var(--ig-spacing))),var(--is-medium, 1)*max(5px, -1 * 5px)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, var(--ig-spacing))),var(--is-small, 1)*max(3px, -1 * 3px)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, var(--ig-spacing))))}:host button:focus{box-shadow:0 0 0 .1875rem var(--focus-shadow-color)}:host button igc-icon,:host button ::slotted(igc-icon){--size: max(var(--is-large, 1) * max(1rem, -1 * 1rem), var(--is-medium, 1) * max(0.875rem, -1 * 0.875rem), var(--is-small, 1) * max(0.875rem, -1 * 0.875rem))}:host([selected]) button:not([disabled]){color:var(--selected-text-color);background:var(--selected-background)}:host([selected]) button:not([disabled]):focus{box-shadow:0 0 0 .1875rem var(--focus-selected-shadow-color)}:host([selected]) button[disabled]{opacity:.4}:host([variant=primary]) button:focus,:host([selected][variant=primary]) button:not([disabled]):focus{color:var(--ig-primary-900-contrast);background:var(--ig-primary-500);box-shadow:0 0 0 .1875rem hsl(from var(--ig-primary-400) h s l/0.5)}:host([variant=primary]) button:hover,:host([selected][variant=primary]) button:not([disabled]):hover{color:var(--ig-primary-900-contrast);background:var(--ig-primary-400)}:host([variant=primary]) button[disabled],:host([selected][variant=primary]) button[disabled]{background:hsl(from var(--ig-primary-400) h s l/0.5)}:host([variant=info]) button,:host([selected][variant=info]) button:not([disabled]){color:var(--ig-info-900-contrast)}:host([variant=info]) button:focus,:host([selected][variant=info]) button:not([disabled]):focus{background:var(--ig-info-500);color:var(--ig-info-900-contrast)}:host([variant=info]) button:hover,:host([selected][variant=info]) button:not([disabled]):hover{background:var(--ig-info-400);color:var(--ig-info-900-contrast)}:host([variant=info]) button[disabled],:host([selected][variant=info]) button[disabled]{opacity:.4;color:var(--ig-info-900-contrast);background:var(--ig-info-500)}:host([variant=success]) button,:host([selected][variant=success]) button:not([disabled]){color:var(--ig-success-900-contrast);background:var(--ig-success-800)}:host([variant=success]) button:focus,:host([selected][variant=success]) button:not([disabled]):focus{color:var(--ig-success-900-contrast)}:host([variant=success]) button:hover,:host([selected][variant=success]) button:not([disabled]):hover{background:var(--ig-success-700);color:var(--ig-success-900-contrast)}:host([variant=success]) button[disabled],:host([selected][variant=success]) button[disabled]{opacity:.4;color:var(--ig-success-900-contrast);background:var(--ig-success-800)}:host([variant=warning]) button:focus,:host([selected][variant=warning]) button:not([disabled]):focus{background:var(--ig-warn-500)}:host([variant=warning]) button:hover,:host([selected][variant=warning]) button:not([disabled]):hover{background:var(--ig-warn-400)}:host([variant=warning]) button[disabled],:host([selected][variant=warning]) button[disabled]{opacity:.4;background:var(--ig-warn-500)}:host([variant=danger]) button,:host([selected][variant=danger]) button:not([disabled]){color:var(--ig-error-900-contrast);background:var(--ig-error-600)}:host([variant=danger]) button:focus,:host([selected][variant=danger]) button:not([disabled]):focus{background:var(--ig-error-600);color:var(--ig-error-900-contrast)}:host([variant=danger]) button:hover,:host([selected][variant=danger]) button:not([disabled]):hover{background:var(--ig-error-500);color:var(--ig-error-900-contrast)}:host([variant=danger]) button[disabled],:host([selected][variant=danger]) button[disabled]{opacity:.4;color:var(--ig-error-900-contrast);background:var(--ig-error-600)}:host([outlined][variant=primary]) button[disabled]{opacity:.4}`;
2
+ export const styles = css `:host{--component-size: var(--ig-size, var(--default-size));--chip-padding-inline: max(var(--is-large, 1) * max(7px, -1 * 7px) * var(--ig-spacing-inline-large, var(--ig-spacing-inline, var(--ig-spacing))), var(--is-medium, 1) * max(5px, -1 * 5px) * var(--ig-spacing-inline-medium, var(--ig-spacing-inline, var(--ig-spacing))), var(--is-small, 1) * max(3px, -1 * 3px) * var(--ig-spacing-inline-small, var(--ig-spacing-inline, var(--ig-spacing))))}:host [part=base]:focus-within{box-shadow:0 0 0 .1875rem var(--focus-shadow-color)}:host [part=base] igc-icon,:host [part=base] ::slotted(igc-icon){--size: max(var(--is-large, 1) * max(1rem, -1 * 1rem), var(--is-medium, 1) * max(0.875rem, -1 * 0.875rem), var(--is-small, 1) * max(0.875rem, -1 * 0.875rem))}:host([selected]:not([disabled])) [part=base]{color:var(--selected-text-color);background:var(--selected-background)}:host([selected]:not([disabled])) [part=base]:focus-within{box-shadow:0 0 0 .1875rem var(--focus-selected-shadow-color)}:host([selected][disabled]) [part=base]{opacity:.4}:host([variant=primary]) [part=base]:focus-within,:host([selected][variant=primary]:not([disabled])) [part=base]:focus-within{color:var(--ig-primary-900-contrast);background:var(--ig-primary-500);box-shadow:0 0 0 .1875rem hsl(from var(--ig-primary-400) h s l/0.5)}:host([variant=primary]) [part=base]:hover,:host([selected][variant=primary]:not([disabled])) [part=base]:hover{color:var(--ig-primary-900-contrast);background:var(--ig-primary-400)}:host([variant=primary][disabled]) [part=base],:host([selected][variant=primary][disabled]) [part=base]{background:hsl(from var(--ig-primary-400) h s l/0.5)}:host([variant=info]) [part=base],:host([selected][variant=info]:not([disabled])) [part=base]{color:var(--ig-info-900-contrast)}:host([variant=info]) [part=base]:focus-within,:host([selected][variant=info]:not([disabled])) [part=base]:focus-within{background:var(--ig-info-500);color:var(--ig-info-900-contrast)}:host([variant=info]) [part=base]:hover,:host([selected][variant=info]:not([disabled])) [part=base]:hover{background:var(--ig-info-400);color:var(--ig-info-900-contrast)}:host([variant=info][disabled]) [part=base],:host([selected][variant=info][disabled]) [part=base]{opacity:.4;color:var(--ig-info-900-contrast);background:var(--ig-info-500)}:host([variant=success]) [part=base],:host([selected][variant=success]:not([disabled])) [part=base]{color:var(--ig-success-900-contrast);background:var(--ig-success-800)}:host([variant=success]) [part=base]:focus-within,:host([selected][variant=success]:not([disabled])) [part=base]:focus-within{color:var(--ig-success-900-contrast)}:host([variant=success]) [part=base]:hover,:host([selected][variant=success]:not([disabled])) [part=base]:hover{background:var(--ig-success-700);color:var(--ig-success-900-contrast)}:host([variant=success][disabled]) [part=base],:host([selected][variant=success][disabled]) [part=base]{opacity:.4;color:var(--ig-success-900-contrast);background:var(--ig-success-800)}:host([variant=warning]) [part=base]:focus-within,:host([selected][variant=warning]:not([disabled])) [part=base]:focus-within{background:var(--ig-warn-500)}:host([variant=warning]) [part=base]:hover,:host([selected][variant=warning]:not([disabled])) [part=base]:hover{background:var(--ig-warn-400)}:host([variant=warning][disabled]) [part=base],:host([selected][variant=warning][disabled]) [part=base]{opacity:.4;background:var(--ig-warn-500)}:host([variant=danger]) [part=base],:host([selected][variant=danger]:not([disabled])) [part=base]{color:var(--ig-error-900-contrast);background:var(--ig-error-600)}:host([variant=danger]) [part=base]:focus-within,:host([selected][variant=danger]:not([disabled])) [part=base]:focus-within{background:var(--ig-error-600);color:var(--ig-error-900-contrast)}:host([variant=danger]) [part=base]:hover,:host([selected][variant=danger]:not([disabled])) [part=base]:hover{background:var(--ig-error-500);color:var(--ig-error-900-contrast)}:host([variant=danger][disabled]) [part=base],:host([selected][variant=danger][disabled]) [part=base]{opacity:.4;color:var(--ig-error-900-contrast);background:var(--ig-error-600)}:host([outlined][variant=primary][disabled]) [part=base]{opacity:.4}`;
3
3
  //# sourceMappingURL=chip.indigo.css.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"chip.indigo.css.js","sourceRoot":"","sources":["../../../../../src/components/chip/themes/shared/chip.indigo.css.ts"],"names":[],"mappings":"AACE,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA,m0HAAm0H,CAAC","sourcesContent":["\n import { css } from 'lit';\n export const styles = css`:host{--component-size: var(--ig-size, var(--default-size))}:host button{padding:0 max(var(--is-large, 1)*max(7px, -1 * 7px)*var(--ig-spacing-inline-large, var(--ig-spacing-inline, var(--ig-spacing))),var(--is-medium, 1)*max(5px, -1 * 5px)*var(--ig-spacing-inline-medium, var(--ig-spacing-inline, var(--ig-spacing))),var(--is-small, 1)*max(3px, -1 * 3px)*var(--ig-spacing-inline-small, var(--ig-spacing-inline, var(--ig-spacing))))}:host button:focus{box-shadow:0 0 0 .1875rem var(--focus-shadow-color)}:host button igc-icon,:host button ::slotted(igc-icon){--size: max(var(--is-large, 1) * max(1rem, -1 * 1rem), var(--is-medium, 1) * max(0.875rem, -1 * 0.875rem), var(--is-small, 1) * max(0.875rem, -1 * 0.875rem))}:host([selected]) button:not([disabled]){color:var(--selected-text-color);background:var(--selected-background)}:host([selected]) button:not([disabled]):focus{box-shadow:0 0 0 .1875rem var(--focus-selected-shadow-color)}:host([selected]) button[disabled]{opacity:.4}:host([variant=primary]) button:focus,:host([selected][variant=primary]) button:not([disabled]):focus{color:var(--ig-primary-900-contrast);background:var(--ig-primary-500);box-shadow:0 0 0 .1875rem hsl(from var(--ig-primary-400) h s l/0.5)}:host([variant=primary]) button:hover,:host([selected][variant=primary]) button:not([disabled]):hover{color:var(--ig-primary-900-contrast);background:var(--ig-primary-400)}:host([variant=primary]) button[disabled],:host([selected][variant=primary]) button[disabled]{background:hsl(from var(--ig-primary-400) h s l/0.5)}:host([variant=info]) button,:host([selected][variant=info]) button:not([disabled]){color:var(--ig-info-900-contrast)}:host([variant=info]) button:focus,:host([selected][variant=info]) button:not([disabled]):focus{background:var(--ig-info-500);color:var(--ig-info-900-contrast)}:host([variant=info]) button:hover,:host([selected][variant=info]) button:not([disabled]):hover{background:var(--ig-info-400);color:var(--ig-info-900-contrast)}:host([variant=info]) button[disabled],:host([selected][variant=info]) button[disabled]{opacity:.4;color:var(--ig-info-900-contrast);background:var(--ig-info-500)}:host([variant=success]) button,:host([selected][variant=success]) button:not([disabled]){color:var(--ig-success-900-contrast);background:var(--ig-success-800)}:host([variant=success]) button:focus,:host([selected][variant=success]) button:not([disabled]):focus{color:var(--ig-success-900-contrast)}:host([variant=success]) button:hover,:host([selected][variant=success]) button:not([disabled]):hover{background:var(--ig-success-700);color:var(--ig-success-900-contrast)}:host([variant=success]) button[disabled],:host([selected][variant=success]) button[disabled]{opacity:.4;color:var(--ig-success-900-contrast);background:var(--ig-success-800)}:host([variant=warning]) button:focus,:host([selected][variant=warning]) button:not([disabled]):focus{background:var(--ig-warn-500)}:host([variant=warning]) button:hover,:host([selected][variant=warning]) button:not([disabled]):hover{background:var(--ig-warn-400)}:host([variant=warning]) button[disabled],:host([selected][variant=warning]) button[disabled]{opacity:.4;background:var(--ig-warn-500)}:host([variant=danger]) button,:host([selected][variant=danger]) button:not([disabled]){color:var(--ig-error-900-contrast);background:var(--ig-error-600)}:host([variant=danger]) button:focus,:host([selected][variant=danger]) button:not([disabled]):focus{background:var(--ig-error-600);color:var(--ig-error-900-contrast)}:host([variant=danger]) button:hover,:host([selected][variant=danger]) button:not([disabled]):hover{background:var(--ig-error-500);color:var(--ig-error-900-contrast)}:host([variant=danger]) button[disabled],:host([selected][variant=danger]) button[disabled]{opacity:.4;color:var(--ig-error-900-contrast);background:var(--ig-error-600)}:host([outlined][variant=primary]) button[disabled]{opacity:.4}`;\n "]}
1
+ {"version":3,"file":"chip.indigo.css.js","sourceRoot":"","sources":["../../../../../src/components/chip/themes/shared/chip.indigo.css.ts"],"names":[],"mappings":"AACE,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA,4nIAA4nI,CAAC","sourcesContent":["\n import { css } from 'lit';\n export const styles = css`:host{--component-size: var(--ig-size, var(--default-size));--chip-padding-inline: max(var(--is-large, 1) * max(7px, -1 * 7px) * var(--ig-spacing-inline-large, var(--ig-spacing-inline, var(--ig-spacing))), var(--is-medium, 1) * max(5px, -1 * 5px) * var(--ig-spacing-inline-medium, var(--ig-spacing-inline, var(--ig-spacing))), var(--is-small, 1) * max(3px, -1 * 3px) * var(--ig-spacing-inline-small, var(--ig-spacing-inline, var(--ig-spacing))))}:host [part=base]:focus-within{box-shadow:0 0 0 .1875rem var(--focus-shadow-color)}:host [part=base] igc-icon,:host [part=base] ::slotted(igc-icon){--size: max(var(--is-large, 1) * max(1rem, -1 * 1rem), var(--is-medium, 1) * max(0.875rem, -1 * 0.875rem), var(--is-small, 1) * max(0.875rem, -1 * 0.875rem))}:host([selected]:not([disabled])) [part=base]{color:var(--selected-text-color);background:var(--selected-background)}:host([selected]:not([disabled])) [part=base]:focus-within{box-shadow:0 0 0 .1875rem var(--focus-selected-shadow-color)}:host([selected][disabled]) [part=base]{opacity:.4}:host([variant=primary]) [part=base]:focus-within,:host([selected][variant=primary]:not([disabled])) [part=base]:focus-within{color:var(--ig-primary-900-contrast);background:var(--ig-primary-500);box-shadow:0 0 0 .1875rem hsl(from var(--ig-primary-400) h s l/0.5)}:host([variant=primary]) [part=base]:hover,:host([selected][variant=primary]:not([disabled])) [part=base]:hover{color:var(--ig-primary-900-contrast);background:var(--ig-primary-400)}:host([variant=primary][disabled]) [part=base],:host([selected][variant=primary][disabled]) [part=base]{background:hsl(from var(--ig-primary-400) h s l/0.5)}:host([variant=info]) [part=base],:host([selected][variant=info]:not([disabled])) [part=base]{color:var(--ig-info-900-contrast)}:host([variant=info]) [part=base]:focus-within,:host([selected][variant=info]:not([disabled])) [part=base]:focus-within{background:var(--ig-info-500);color:var(--ig-info-900-contrast)}:host([variant=info]) [part=base]:hover,:host([selected][variant=info]:not([disabled])) [part=base]:hover{background:var(--ig-info-400);color:var(--ig-info-900-contrast)}:host([variant=info][disabled]) [part=base],:host([selected][variant=info][disabled]) [part=base]{opacity:.4;color:var(--ig-info-900-contrast);background:var(--ig-info-500)}:host([variant=success]) [part=base],:host([selected][variant=success]:not([disabled])) [part=base]{color:var(--ig-success-900-contrast);background:var(--ig-success-800)}:host([variant=success]) [part=base]:focus-within,:host([selected][variant=success]:not([disabled])) [part=base]:focus-within{color:var(--ig-success-900-contrast)}:host([variant=success]) [part=base]:hover,:host([selected][variant=success]:not([disabled])) [part=base]:hover{background:var(--ig-success-700);color:var(--ig-success-900-contrast)}:host([variant=success][disabled]) [part=base],:host([selected][variant=success][disabled]) [part=base]{opacity:.4;color:var(--ig-success-900-contrast);background:var(--ig-success-800)}:host([variant=warning]) [part=base]:focus-within,:host([selected][variant=warning]:not([disabled])) [part=base]:focus-within{background:var(--ig-warn-500)}:host([variant=warning]) [part=base]:hover,:host([selected][variant=warning]:not([disabled])) [part=base]:hover{background:var(--ig-warn-400)}:host([variant=warning][disabled]) [part=base],:host([selected][variant=warning][disabled]) [part=base]{opacity:.4;background:var(--ig-warn-500)}:host([variant=danger]) [part=base],:host([selected][variant=danger]:not([disabled])) [part=base]{color:var(--ig-error-900-contrast);background:var(--ig-error-600)}:host([variant=danger]) [part=base]:focus-within,:host([selected][variant=danger]:not([disabled])) [part=base]:focus-within{background:var(--ig-error-600);color:var(--ig-error-900-contrast)}:host([variant=danger]) [part=base]:hover,:host([selected][variant=danger]:not([disabled])) [part=base]:hover{background:var(--ig-error-500);color:var(--ig-error-900-contrast)}:host([variant=danger][disabled]) [part=base],:host([selected][variant=danger][disabled]) [part=base]{opacity:.4;color:var(--ig-error-900-contrast);background:var(--ig-error-600)}:host([outlined][variant=primary][disabled]) [part=base]{opacity:.4}`;\n "]}
@@ -0,0 +1,261 @@
1
+ import { type PropertyValues, type TemplateResult } from 'lit';
2
+ import { IgcBaseComboBoxComponent } from '#internals/mixins/combo-box.js';
3
+ import type { AbstractConstructor } from '#internals/mixins/constructor.js';
4
+ import type { ColorFormat, ColorPickerMode } from '../types.js';
5
+ export interface IgcColorPickerComponentEventMap {
6
+ igcOpening: CustomEvent<void>;
7
+ igcOpened: CustomEvent<void>;
8
+ igcClosing: CustomEvent<void>;
9
+ igcClosed: CustomEvent<void>;
10
+ igcInput: CustomEvent<string>;
11
+ igcChange: CustomEvent<string>;
12
+ }
13
+ declare const IgcColorPickerComponent_base: import("#internals/mixins/constructor.js").Constructor<import("../../internals/mixins/forms/types.js").FormRequiredInterface & import("../../internals/mixins/forms/types.js").FormAssociatedElementInterface> & import("#internals/mixins/constructor.js").Constructor<import("#internals/mixins/event-emitter.js").EventEmitterInterface<IgcColorPickerComponentEventMap>> & AbstractConstructor<IgcBaseComboBoxComponent>;
14
+ /**
15
+ * Color input component.
16
+ *
17
+ * The user picks a color with the HSV saturation/value canvas, the hue slider
18
+ * and the optional alpha slider. The user can also type a color string: hex,
19
+ * rgb(a), hsl(a) or a named CSS color.
20
+ *
21
+ * The component supports pre-defined swatches and the native EyeDropper API,
22
+ * where the browser provides one. The anchor is a trigger button
23
+ * (`mode="default"`) or an editable text field (`mode="input"`).
24
+ *
25
+ * @element igc-color-picker
26
+ *
27
+ * @slot value-missing - Renders content when the required validation fails.
28
+ * @slot custom-error - Renders content when setCustomValidity(message) is set.
29
+ * @slot invalid - Renders content when the component is in invalid state (validity.valid = false).
30
+ * @slot helper-text - Renders content below the picker.
31
+ *
32
+ * @fires igcOpening - Emitted just before the picker dropdown is open.
33
+ * @fires igcOpened - Emitted after the picker dropdown is open.
34
+ * @fires igcClosing - Emitted just before the picker dropdown is closed.
35
+ * @fires igcClosed - Emitted after closing the picker dropdown.
36
+ * @fires igcInput - Emitted when the value of the component is changed.
37
+ * @fires igcChange - Emitted when the value of the component is committed.
38
+ *
39
+ * @csspart anchor - The trigger element that opens the picker (the button in default mode, or the swatch prefix in input mode).
40
+ * @csspart empty - Applied alongside `anchor` when no color value is set, rendering a checkered background.
41
+ * @csspart label - The label rendered above the anchor in default mode.
42
+ * @csspart picker - The popover container holding the canvas, sliders, inputs and swatches.
43
+ * @csspart main-row - The row containing the hue slider and the copy/eyedropper buttons.
44
+ * @csspart alpha-row - The row containing the alpha slider and input, rendered when `show-alpha` is set.
45
+ * @csspart inputs-row - The row containing the format select and the color value input.
46
+ * @csspart buttons - The wrapper around the copy and eyedropper buttons.
47
+ * @csspart hue - The hue slider.
48
+ * @csspart alpha - The alpha slider.
49
+ * @csspart copy - The button that copies the current color value to the clipboard.
50
+ * @csspart eye-dropper - The button that activates the EyeDropper API.
51
+ * @csspart format-select - The select control used to switch the color string format.
52
+ * @csspart swatches - The container of the pre-defined color swatches.
53
+ * @csspart swatch - An individual color swatch button.
54
+ */
55
+ export default class IgcColorPickerComponent extends IgcColorPickerComponent_base {
56
+ static readonly tagName = "igc-color-picker";
57
+ static styles: import("lit").CSSResult[];
58
+ static register(): void;
59
+ protected get __validators(): import("../../internals/validators.js").Validator<IgcColorPickerComponent>[];
60
+ protected readonly _slots: import("#internals/controllers/slot.js").SlotController<"invalid" | "helper-text" | "[default]" | "value-missing" | "custom-error">;
61
+ protected readonly _rootClickController: import("#internals/controllers/root-click.js").RootClickController;
62
+ protected readonly _formValue: import("#internals/mixins/forms/form-value.js").FormValue<string>;
63
+ private readonly _alphaRef;
64
+ private readonly _alphaInputRef;
65
+ private readonly _canvasRef;
66
+ private readonly _hueRef;
67
+ private readonly _anchorRef;
68
+ private readonly _supportsEyeDropper;
69
+ private _color;
70
+ private _oldValue;
71
+ /** The last value written for each host custom property. */
72
+ private readonly _appliedProperties;
73
+ private readonly _helperText;
74
+ private get _isInputMode();
75
+ /**
76
+ * The label of the component.
77
+ *
78
+ * In `mode="input"` the component forwards the label to the anchor input.
79
+ * In `mode="default"` it renders the label as a separate element.
80
+ * @attr label
81
+ */
82
+ label?: string;
83
+ /**
84
+ * The value of the component as a CSS color string. Accepts hex, rgb(a),
85
+ * hsl(a) and named colors.
86
+ *
87
+ * An empty, whitespace-only or invalid string clears the value.
88
+ *
89
+ * @attr value
90
+ */
91
+ set value(value: string);
92
+ get value(): string;
93
+ /**
94
+ * Sets the color format of the string value.
95
+ *
96
+ * A format change renders `value` in the new notation. The color does not
97
+ * change, so the component emits no `igcInput` or `igcChange`.
98
+ *
99
+ * @attr format
100
+ * @default 'hex'
101
+ */
102
+ format: ColorFormat;
103
+ /**
104
+ * Whether to hide the format picker buttons.
105
+ *
106
+ * @attr hide-formats
107
+ * @default false
108
+ */
109
+ hideFormats: boolean;
110
+ /**
111
+ * Whether to show the alpha slider and input.
112
+ *
113
+ * @attr show-alpha
114
+ * @default false
115
+ */
116
+ showAlpha: boolean;
117
+ /**
118
+ * The mode of the color picker.
119
+ *
120
+ * In `"default"` mode the anchor is a trigger button. In `"input"` mode the
121
+ * anchor is an editable text field with a color swatch prefix. The prefix
122
+ * also opens the picker.
123
+ *
124
+ * @attr mode
125
+ * @default 'default'
126
+ */
127
+ mode: ColorPickerMode;
128
+ /**
129
+ * Pre-defined color strings. The component renders them as clickable
130
+ * swatches below the picker controls. A click on a swatch commits its color
131
+ * as the value.
132
+ */
133
+ swatches: string[];
134
+ constructor();
135
+ protected update(props: PropertyValues<this>): void;
136
+ protected updated(props: PropertyValues<this>): void;
137
+ protected formResetCallback(): void;
138
+ private _handleClosing;
139
+ private _handleKeyboardClosing;
140
+ private _handleFocusIn;
141
+ private _handleFocusOut;
142
+ private _handleCanvasColorPicked;
143
+ private _handleHueValueChange;
144
+ private _handleAlphaSliderValueChange;
145
+ /**
146
+ * Rewrites the alpha field as `<digits>%` after each edit.
147
+ *
148
+ * The `%` is part of the value and not a suffix element, so the browser
149
+ * treats it as editable text. This handler normalizes the result of an edit
150
+ * instead of a filter on the keystrokes in `beforeinput`. The `%` then
151
+ * behaves as a literal for each way that text reaches the field: typing,
152
+ * paste, drop, composition, undo and autofill. Of these, `beforeinput`
153
+ * carries `data` only for typing.
154
+ */
155
+ private _handleAlphaInputEdit;
156
+ /**
157
+ * Keeps the caret and the selection inside the digits.
158
+ *
159
+ * The trailing `%` is a literal. Without this handler the caret goes after
160
+ * the `%` on focus, on a click past the text, and after a shifted selection
161
+ * extends over it. The handler therefore runs on `keyup` as well as on
162
+ * `focusin` and `click`. Text after the `%` falls outside the number, and the
163
+ * parse discards it.
164
+ */
165
+ private _handleAlphaInputCaret;
166
+ /**
167
+ * Steps the alpha by one percent.
168
+ *
169
+ * The step applies to the color and not to the text of the field. This keeps
170
+ * a held arrow key correct. The key downs repeat faster than a render, so the
171
+ * text of the field can be stale.
172
+ *
173
+ * The handler writes the new text and does not leave it to the render, so
174
+ * that the caret does not move. A value assignment puts the caret behind the
175
+ * `%`. A write from the render applies one frame after the keypress, which
176
+ * the user sees as a jump forward and back.
177
+ */
178
+ private _handleAlphaInputSpin;
179
+ /**
180
+ * Holds the caret at the `%`. Without this handler the caret steps past the
181
+ * `%`, and `keyup` pulls it back. This is the frame-late jump that
182
+ * {@link _handleAlphaInputSpin} describes.
183
+ */
184
+ private _handleAlphaInputCaretForward;
185
+ private _handleAlphaInputChange;
186
+ private _handleFormatChange;
187
+ private _handleColorInputChange;
188
+ private _handleEyeDropperClick;
189
+ private _handleCopy;
190
+ private _handleSwatchClick;
191
+ /**
192
+ * The current color with its alpha, in a notation that is independent of
193
+ * `format`.
194
+ */
195
+ private get _alphaColor();
196
+ /**
197
+ * The current color with an opaque alpha channel.
198
+ *
199
+ * The swatch preview paints this color over one half of its surface, and
200
+ * {@link _alphaColor} over the other half. A translucent color is then shown
201
+ * next to its opaque form. At full alpha the two halves are identical and the
202
+ * split is invisible, so opaque colors need no separate branch.
203
+ *
204
+ * This value is defined also with no color value. An empty color is white,
205
+ * which is where the alpha ramp and the canvas marker belong before the first
206
+ * pick. The anchor keeps its "no color" mark, because {@link _previewStyle}
207
+ * uses {@link _alphaColor}, which stays empty.
208
+ */
209
+ private get _opaqueColor();
210
+ /** The alpha channel as the whole percentage that both alpha controls use. */
211
+ private get _alphaPercent();
212
+ /** The pure hue that the saturation/value plane and the hue thumb use. */
213
+ private get _currentColor();
214
+ /**
215
+ * Mirrors the colors that the stylesheet needs onto the host.
216
+ *
217
+ * `update()` drives this, and not the handlers that change the color. It
218
+ * therefore also runs for the first render. A picker with no value calls none
219
+ * of those handlers, and the plane would keep the stylesheet fallback instead
220
+ * of its actual hue.
221
+ */
222
+ private _applyColorProperties;
223
+ /**
224
+ * Replaces the whole text of the alpha field and puts the caret in front of
225
+ * the `%` by default.
226
+ */
227
+ private _writeAlphaText;
228
+ private _setAlpha;
229
+ private _updateColor;
230
+ private _syncCanvasPosition;
231
+ private _emitInputEvent;
232
+ private _renderCanvasGradient;
233
+ private _renderHueSlider;
234
+ private _renderIconButton;
235
+ private _renderPickerButtons;
236
+ private _renderAlphaRow;
237
+ private _renderSelect;
238
+ private _renderInputsRow;
239
+ private _renderSwatches;
240
+ private get _anchorParts();
241
+ /**
242
+ * The swatch preview style that both anchors use.
243
+ *
244
+ * `--_color-preview` paints the opaque color over the left half.
245
+ * `--_alpha-preview` paints the color with its real alpha over the whole
246
+ * surface. Do not transpose the two. See the `swatch-preview` mixin.
247
+ */
248
+ private _previewStyle;
249
+ private _renderButtonAnchor;
250
+ private _renderInputAnchor;
251
+ private _renderAnchor;
252
+ private _renderHelperText;
253
+ private _renderPicker;
254
+ protected render(): TemplateResult;
255
+ }
256
+ declare global {
257
+ interface HTMLElementTagNameMap {
258
+ 'igc-color-picker': IgcColorPickerComponent;
259
+ }
260
+ }
261
+ export {};