igniteui-webcomponents 4.4.0 → 4.5.0-beta.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 (163) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/components/avatar/avatar.js +2 -5
  3. package/components/avatar/avatar.js.map +1 -1
  4. package/components/avatar/themes/avatar.base.css.js +0 -12
  5. package/components/avatar/themes/avatar.base.css.js.map +1 -1
  6. package/components/button/button.d.ts +0 -3
  7. package/components/button/button.js +1 -4
  8. package/components/button/button.js.map +1 -1
  9. package/components/button/themes/button/light/button.base.css.js +0 -12
  10. package/components/button/themes/button/light/button.base.css.js.map +1 -1
  11. package/components/button/themes/icon-button/light/icon-button.base.css.js +0 -12
  12. package/components/button/themes/icon-button/light/icon-button.base.css.js.map +1 -1
  13. package/components/calendar/themes/bootstrap/calendar.bootstrap.css.js +3 -10
  14. package/components/calendar/themes/bootstrap/calendar.bootstrap.css.js.map +1 -1
  15. package/components/calendar/themes/calendar.base.css.js +13 -12
  16. package/components/calendar/themes/calendar.base.css.js.map +1 -1
  17. package/components/calendar/themes/fluent/calendar.fluent.css.js +16 -22
  18. package/components/calendar/themes/fluent/calendar.fluent.css.js.map +1 -1
  19. package/components/calendar/themes/fluent/days-view.fluent.css.js +7 -23
  20. package/components/calendar/themes/fluent/days-view.fluent.css.js.map +1 -1
  21. package/components/calendar/themes/indigo/calendar.indigo.css.js +3 -10
  22. package/components/calendar/themes/indigo/calendar.indigo.css.js.map +1 -1
  23. package/components/checkbox/themes/light/checkbox.bootstrap.css.js +1 -1
  24. package/components/checkbox/themes/light/checkbox.bootstrap.css.js.map +1 -1
  25. package/components/checkbox/themes/light/checkbox.indigo.css.js +16 -8
  26. package/components/checkbox/themes/light/checkbox.indigo.css.js.map +1 -1
  27. package/components/chip/themes/chip.base.css.js +12 -38
  28. package/components/chip/themes/chip.base.css.js.map +1 -1
  29. package/components/chip/themes/chip.bootstrap.css.js +12 -38
  30. package/components/chip/themes/chip.bootstrap.css.js.map +1 -1
  31. package/components/chip/themes/chip.fluent.css.js +12 -38
  32. package/components/chip/themes/chip.fluent.css.js.map +1 -1
  33. package/components/chip/themes/chip.indigo.css.js +12 -38
  34. package/components/chip/themes/chip.indigo.css.js.map +1 -1
  35. package/components/chip/themes/chip.material.css.js +12 -38
  36. package/components/chip/themes/chip.material.css.js.map +1 -1
  37. package/components/combo/themes/light/combo.base.css.js +5 -0
  38. package/components/combo/themes/light/combo.base.css.js.map +1 -1
  39. package/components/common/mixins/sizable.d.ts +3 -0
  40. package/components/common/mixins/sizable.js +7 -0
  41. package/components/common/mixins/sizable.js.map +1 -1
  42. package/components/dropdown/dropdown-group.js +0 -2
  43. package/components/dropdown/dropdown-group.js.map +1 -1
  44. package/components/dropdown/dropdown.d.ts +0 -1
  45. package/components/dropdown/dropdown.js +0 -6
  46. package/components/dropdown/dropdown.js.map +1 -1
  47. package/components/dropdown/themes/light/dropdown.base.css.js +0 -12
  48. package/components/dropdown/themes/light/dropdown.base.css.js.map +1 -1
  49. package/components/expansion-panel/themes/light/expansion-panel.base.css.js +1 -2
  50. package/components/expansion-panel/themes/light/expansion-panel.base.css.js.map +1 -1
  51. package/components/icon/icon.base.css.js +6 -0
  52. package/components/icon/icon.base.css.js.map +1 -1
  53. package/components/icon/light/icon.bootstrap.css.js +2 -3
  54. package/components/icon/light/icon.bootstrap.css.js.map +1 -1
  55. package/components/icon/light/icon.fluent.css.js +2 -3
  56. package/components/icon/light/icon.fluent.css.js.map +1 -1
  57. package/components/icon/light/icon.indigo.css.js +2 -3
  58. package/components/icon/light/icon.indigo.css.js.map +1 -1
  59. package/components/icon/light/icon.material.css.js +2 -3
  60. package/components/icon/light/icon.material.css.js.map +1 -1
  61. package/components/input/input-base.js +4 -2
  62. package/components/input/input-base.js.map +1 -1
  63. package/components/input/themes/light/input.base.css.js +0 -12
  64. package/components/input/themes/light/input.base.css.js.map +1 -1
  65. package/components/list/themes/light/list-item.base.css.js +3 -0
  66. package/components/list/themes/light/list-item.base.css.js.map +1 -1
  67. package/components/list/themes/light/list.base.css.js +0 -12
  68. package/components/list/themes/light/list.base.css.js.map +1 -1
  69. package/components/nav-drawer/nav-drawer-header-item.js +6 -4
  70. package/components/nav-drawer/nav-drawer-header-item.js.map +1 -1
  71. package/components/nav-drawer/nav-drawer-item.js +6 -4
  72. package/components/nav-drawer/nav-drawer-item.js.map +1 -1
  73. package/components/nav-drawer/nav-drawer.js +5 -2
  74. package/components/nav-drawer/nav-drawer.js.map +1 -1
  75. package/components/nav-drawer/themes/dark/{nav-drawer-item.base.css.js → nav-drawer.bootstrap.css.js} +1 -1
  76. package/components/nav-drawer/themes/dark/{nav-drawer-item.base.css.js.map → nav-drawer.bootstrap.css.js.map} +1 -1
  77. package/components/nav-drawer/themes/dark/{nav-drawer-item.fluent.css.js → nav-drawer.fluent.css.js} +1 -1
  78. package/components/nav-drawer/themes/dark/nav-drawer.fluent.css.js.map +1 -0
  79. package/components/nav-drawer/themes/dark/{nav-drawer-item.indigo.css.js → nav-drawer.material.css.js} +1 -1
  80. package/components/nav-drawer/themes/dark/nav-drawer.material.css.js.map +1 -0
  81. package/components/nav-drawer/themes/light/header-item/nav-drawer-header-item.base.css.js +7 -0
  82. package/components/nav-drawer/themes/light/header-item/nav-drawer-header-item.base.css.js.map +1 -0
  83. package/components/nav-drawer/themes/light/{fluent/nav-drawer-header-item.fluent.css.js → header-item/nav-drawer-header-item.bootstrap.css.js} +2 -1
  84. package/components/nav-drawer/themes/light/header-item/nav-drawer-header-item.bootstrap.css.js.map +1 -0
  85. package/components/nav-drawer/themes/light/{nav-drawer-header-item.base.css.js → header-item/nav-drawer-header-item.fluent.css.js} +2 -5
  86. package/components/nav-drawer/themes/light/header-item/nav-drawer-header-item.fluent.css.js.map +1 -0
  87. package/components/nav-drawer/themes/light/header-item/nav-drawer-header-item.indigo.css.js +14 -0
  88. package/components/nav-drawer/themes/light/header-item/nav-drawer-header-item.indigo.css.js.map +1 -0
  89. package/components/nav-drawer/themes/light/header-item/nav-drawer-header-item.material.css.js +14 -0
  90. package/components/nav-drawer/themes/light/header-item/nav-drawer-header-item.material.css.js.map +1 -0
  91. package/components/nav-drawer/themes/light/item/nav-drawer-item.base.css.js +65 -0
  92. package/components/nav-drawer/themes/light/item/nav-drawer-item.base.css.js.map +1 -0
  93. package/components/nav-drawer/themes/light/{nav-drawer-item.base.css.js → item/nav-drawer-item.bootstrap.css.js} +16 -66
  94. package/components/nav-drawer/themes/light/item/nav-drawer-item.bootstrap.css.js.map +1 -0
  95. package/components/nav-drawer/themes/light/item/nav-drawer-item.fluent.css.js +54 -0
  96. package/components/nav-drawer/themes/light/item/nav-drawer-item.fluent.css.js.map +1 -0
  97. package/components/nav-drawer/themes/light/item/nav-drawer-item.indigo.css.d.ts +1 -0
  98. package/components/nav-drawer/themes/light/{indigo → item}/nav-drawer-item.indigo.css.js +30 -9
  99. package/components/nav-drawer/themes/light/item/nav-drawer-item.indigo.css.js.map +1 -0
  100. package/components/nav-drawer/themes/light/item/nav-drawer-item.material.css.d.ts +1 -0
  101. package/components/nav-drawer/themes/light/item/nav-drawer-item.material.css.js +54 -0
  102. package/components/nav-drawer/themes/light/item/nav-drawer-item.material.css.js.map +1 -0
  103. package/components/nav-drawer/themes/light/nav-drawer.base.css.js +10 -18
  104. package/components/nav-drawer/themes/light/nav-drawer.base.css.js.map +1 -1
  105. package/components/nav-drawer/themes/light/nav-drawer.bootstrap.css.d.ts +1 -0
  106. package/components/nav-drawer/themes/light/nav-drawer.bootstrap.css.js +60 -0
  107. package/components/nav-drawer/themes/light/nav-drawer.bootstrap.css.js.map +1 -0
  108. package/components/nav-drawer/themes/light/nav-drawer.fluent.css.d.ts +1 -0
  109. package/components/nav-drawer/themes/light/nav-drawer.fluent.css.js +60 -0
  110. package/components/nav-drawer/themes/light/nav-drawer.fluent.css.js.map +1 -0
  111. package/components/nav-drawer/themes/light/nav-drawer.indigo.css.d.ts +1 -0
  112. package/components/nav-drawer/themes/light/{indigo/nav-drawer.indigo.css.js → nav-drawer.indigo.css.js} +33 -2
  113. package/components/nav-drawer/themes/light/nav-drawer.indigo.css.js.map +1 -0
  114. package/components/nav-drawer/themes/light/nav-drawer.material.css.d.ts +1 -0
  115. package/components/nav-drawer/themes/light/nav-drawer.material.css.js +60 -0
  116. package/components/nav-drawer/themes/light/nav-drawer.material.css.js.map +1 -0
  117. package/components/navbar/themes/navbar.base.css.js +4 -10
  118. package/components/navbar/themes/navbar.base.css.js.map +1 -1
  119. package/components/rating/rating.base.css.js +0 -12
  120. package/components/rating/rating.base.css.js.map +1 -1
  121. package/components/select/themes/light/select.base.css.js +0 -12
  122. package/components/select/themes/light/select.base.css.js.map +1 -1
  123. package/components/tabs/themes/light/tab.base.css.js +3 -4
  124. package/components/tabs/themes/light/tab.base.css.js.map +1 -1
  125. package/components/tabs/themes/light/tabs.base.css.js +1 -0
  126. package/components/tabs/themes/light/tabs.base.css.js.map +1 -1
  127. package/components/tree/themes/light/tree-item.base.css.js +5 -16
  128. package/components/tree/themes/light/tree-item.base.css.js.map +1 -1
  129. package/components/tree/themes/light/tree.base.css.js +0 -12
  130. package/components/tree/themes/light/tree.base.css.js.map +1 -1
  131. package/components/tree/tree-item.js +4 -13
  132. package/components/tree/tree-item.js.map +1 -1
  133. package/custom-elements.json +56 -28
  134. package/package.json +3 -3
  135. package/themes/dark/bootstrap.css +20 -22
  136. package/themes/dark/fluent.css +19 -24
  137. package/themes/dark/indigo.css +21 -43
  138. package/themes/dark/material.css +19 -21
  139. package/vscode-html-custom-data.json +2 -2
  140. package/components/nav-drawer/themes/dark/nav-drawer-item.bootstrap.css.js +0 -3
  141. package/components/nav-drawer/themes/dark/nav-drawer-item.bootstrap.css.js.map +0 -1
  142. package/components/nav-drawer/themes/dark/nav-drawer-item.fluent.css.js.map +0 -1
  143. package/components/nav-drawer/themes/dark/nav-drawer-item.indigo.css.js.map +0 -1
  144. package/components/nav-drawer/themes/light/fluent/nav-drawer-header-item.fluent.css.js.map +0 -1
  145. package/components/nav-drawer/themes/light/fluent/nav-drawer-item.fluent.css.js +0 -17
  146. package/components/nav-drawer/themes/light/fluent/nav-drawer-item.fluent.css.js.map +0 -1
  147. package/components/nav-drawer/themes/light/indigo/nav-drawer-header-item.indigo.css.js +0 -5
  148. package/components/nav-drawer/themes/light/indigo/nav-drawer-header-item.indigo.css.js.map +0 -1
  149. package/components/nav-drawer/themes/light/indigo/nav-drawer-item.indigo.css.js.map +0 -1
  150. package/components/nav-drawer/themes/light/indigo/nav-drawer.indigo.css.js.map +0 -1
  151. package/components/nav-drawer/themes/light/nav-drawer-header-item.base.css.js.map +0 -1
  152. package/components/nav-drawer/themes/light/nav-drawer-item.base.css.js.map +0 -1
  153. /package/components/nav-drawer/themes/dark/{nav-drawer-item.base.css.d.ts → nav-drawer.bootstrap.css.d.ts} +0 -0
  154. /package/components/nav-drawer/themes/dark/{nav-drawer-item.bootstrap.css.d.ts → nav-drawer.fluent.css.d.ts} +0 -0
  155. /package/components/nav-drawer/themes/dark/{nav-drawer-item.fluent.css.d.ts → nav-drawer.material.css.d.ts} +0 -0
  156. /package/components/nav-drawer/themes/light/{nav-drawer-header-item.base.css.d.ts → header-item/nav-drawer-header-item.base.css.d.ts} +0 -0
  157. /package/components/nav-drawer/themes/{dark/nav-drawer-item.indigo.css.d.ts → light/header-item/nav-drawer-header-item.bootstrap.css.d.ts} +0 -0
  158. /package/components/nav-drawer/themes/light/{fluent → header-item}/nav-drawer-header-item.fluent.css.d.ts +0 -0
  159. /package/components/nav-drawer/themes/light/{indigo → header-item}/nav-drawer-header-item.indigo.css.d.ts +0 -0
  160. /package/components/nav-drawer/themes/light/{fluent/nav-drawer-item.fluent.css.d.ts → header-item/nav-drawer-header-item.material.css.d.ts} +0 -0
  161. /package/components/nav-drawer/themes/light/{nav-drawer-item.base.css.d.ts → item/nav-drawer-item.base.css.d.ts} +0 -0
  162. /package/components/nav-drawer/themes/light/{indigo/nav-drawer-item.indigo.css.d.ts → item/nav-drawer-item.bootstrap.css.d.ts} +0 -0
  163. /package/components/nav-drawer/themes/light/{indigo/nav-drawer.indigo.css.d.ts → item/nav-drawer-item.fluent.css.d.ts} +0 -0
@@ -8,9 +8,11 @@ import { html, LitElement } from 'lit';
8
8
  import { property, queryAssignedElements, queryAssignedNodes, state, } from 'lit/decorators.js';
9
9
  import { themes } from '../../theming/theming-decorator.js';
10
10
  import { partNameMap } from '../common/util.js';
11
- import { styles as fluent } from './themes/light/fluent/nav-drawer-item.fluent.css.js';
12
- import { styles as indigo } from './themes/light/indigo/nav-drawer-item.indigo.css.js';
13
- import { styles } from './themes/light/nav-drawer-item.base.css.js';
11
+ import { styles } from './themes/light/item/nav-drawer-item.base.css.js';
12
+ import { styles as fluent } from './themes/light/item/nav-drawer-item.fluent.css.js';
13
+ import { styles as indigo } from './themes/light/item/nav-drawer-item.indigo.css.js';
14
+ import { styles as bootstrap } from './themes/light/item/nav-drawer-item.bootstrap.css.js';
15
+ import { styles as material } from './themes/light/item/nav-drawer-item.material.css.js';
14
16
  let IgcNavDrawerItemComponent = class IgcNavDrawerItemComponent extends LitElement {
15
17
  constructor() {
16
18
  super(...arguments);
@@ -61,7 +63,7 @@ __decorate([
61
63
  queryAssignedNodes({ slot: 'icon', flatten: true })
62
64
  ], IgcNavDrawerItemComponent.prototype, "navdrawerIcon", void 0);
63
65
  IgcNavDrawerItemComponent = __decorate([
64
- themes({ fluent, indigo })
66
+ themes({ fluent, indigo, bootstrap, material })
65
67
  ], IgcNavDrawerItemComponent);
66
68
  export default IgcNavDrawerItemComponent;
67
69
  //# sourceMappingURL=nav-drawer-item.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"nav-drawer-item.js","sourceRoot":"","sources":["../../../src/components/nav-drawer/nav-drawer-item.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACvC,OAAO,EACL,QAAQ,EACR,qBAAqB,EACrB,kBAAkB,EAClB,KAAK,GACN,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,MAAM,EAAE,MAAM,oCAAoC,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,MAAM,IAAI,MAAM,EAAE,MAAM,qDAAqD,CAAC;AACvF,OAAO,EAAE,MAAM,IAAI,MAAM,EAAE,MAAM,qDAAqD,CAAC;AACvF,OAAO,EAAE,MAAM,EAAE,MAAM,4CAA4C,CAAC;AAepE,IAAqB,yBAAyB,GAA9C,MAAqB,yBAA0B,SAAQ,UAAU;IAAjE;;QASS,aAAQ,GAAG,KAAK,CAAC;QAOjB,WAAM,GAAG,KAAK,CAAC;IAqCxB,CAAC;IA1BiB,iBAAiB;;QAC/B,KAAK,CAAC,iBAAiB,EAAE,CAAC;QAC1B,MAAA,IAAI,CAAC,UAAU,0CAAE,gBAAgB,CAAC,YAAY,EAAE,CAAC,CAAC,EAAE,EAAE;YACpD,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC;QACvC,CAAC,CAAC,CAAC;IACL,CAAC;IAES,gBAAgB,CAAC,IAAY;QACrC,OAAO;YACL,CAAC,IAAI,CAAC,EAAE,IAAI;YACZ,IAAI,EAAE,IAAI,CAAC,WAAW,GAAG,CAAC;SAC3B,CAAC;IACJ,CAAC;IAEkB,MAAM;QACvB,OAAO,IAAI,CAAA;mBACI,WAAW,CAAC,IAAI,CAAC,gBAAgB,CAAC,MAAM,CAAC,CAAC;qCACxB,IAAI,CAAC,aAAa,CAAC,MAAM,IAAI,CAAC;;;;;;;KAO9D,CAAC;IACJ,CAAC;;AAnDsB,iCAAO,GAAG,qBAAqB,AAAxB,CAAyB;AAChC,gCAAM,GAAG,MAAM,AAAT,CAAU;AAOhC;IADN,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;2DACnB;AAOjB;IADN,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;yDACrB;AAGd;IADP,KAAK,EAAE;8DACqB;AAGrB;IADP,qBAAqB,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;wDACR;AAGzB;IADT,kBAAkB,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;gEACd;AAzBnB,yBAAyB;IAD7C,MAAM,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;GACN,yBAAyB,CAqD7C;eArDoB,yBAAyB","sourcesContent":["import { html, LitElement } from 'lit';\nimport {\n property,\n queryAssignedElements,\n queryAssignedNodes,\n state,\n} from 'lit/decorators.js';\nimport { themes } from '../../theming/theming-decorator.js';\nimport { partNameMap } from '../common/util.js';\nimport { styles as fluent } from './themes/light/fluent/nav-drawer-item.fluent.css.js';\nimport { styles as indigo } from './themes/light/indigo/nav-drawer-item.indigo.css.js';\nimport { styles } from './themes/light/nav-drawer-item.base.css.js';\n\n/**\n * Represents a navigation drawer item.\n *\n * @element igc-nav-drawer-item\n *\n * @slot content - The content slot for the drawer item.\n * @slot icon - The slot for the icon of the drawer item.\n *\n * @csspart base - The base wrapper of the drawer item.\n * @csspart icon - The icon container.\n * @csspart content - The content container.\n */\n@themes({ fluent, indigo })\nexport default class IgcNavDrawerItemComponent extends LitElement {\n public static readonly tagName = 'igc-nav-drawer-item';\n public static override styles = styles;\n\n /**\n * Determines whether the drawer is disabled.\n * @attr\n */\n @property({ type: Boolean, reflect: true })\n public disabled = false;\n\n /**\n * Determines whether the drawer is active.\n * @attr\n */\n @property({ type: Boolean, reflect: true })\n public active = false;\n\n @state()\n private _textLength!: number;\n\n @queryAssignedElements({ slot: 'content' })\n private _text!: Array<HTMLElement>;\n\n @queryAssignedNodes({ slot: 'icon', flatten: true })\n protected navdrawerIcon!: Array<Node>;\n\n public override connectedCallback() {\n super.connectedCallback();\n this.shadowRoot?.addEventListener('slotchange', (_) => {\n this._textLength = this._text.length;\n });\n }\n\n protected resolvePartNames(base: string) {\n return {\n [base]: true,\n mini: this._textLength < 1,\n };\n }\n\n protected override render() {\n return html`\n <div part=\"${partNameMap(this.resolvePartNames('base'))}\">\n <span part=\"icon\" .hidden=\"${this.navdrawerIcon.length == 0}\">\n <slot name=\"icon\"></slot>\n </span>\n <span part=\"content\">\n <slot name=\"content\"></slot>\n </span>\n </div>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'igc-nav-drawer-item': IgcNavDrawerItemComponent;\n }\n}\n"]}
1
+ {"version":3,"file":"nav-drawer-item.js","sourceRoot":"","sources":["../../../src/components/nav-drawer/nav-drawer-item.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACvC,OAAO,EACL,QAAQ,EACR,qBAAqB,EACrB,kBAAkB,EAClB,KAAK,GACN,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,MAAM,EAAE,MAAM,oCAAoC,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,MAAM,EAAE,MAAM,iDAAiD,CAAC;AACzE,OAAO,EAAE,MAAM,IAAI,MAAM,EAAE,MAAM,mDAAmD,CAAC;AACrF,OAAO,EAAE,MAAM,IAAI,MAAM,EAAE,MAAM,mDAAmD,CAAC;AACrF,OAAO,EAAE,MAAM,IAAI,SAAS,EAAE,MAAM,sDAAsD,CAAC;AAC3F,OAAO,EAAE,MAAM,IAAI,QAAQ,EAAE,MAAM,qDAAqD,CAAC;AAezF,IAAqB,yBAAyB,GAA9C,MAAqB,yBAA0B,SAAQ,UAAU;IAAjE;;QASS,aAAQ,GAAG,KAAK,CAAC;QAOjB,WAAM,GAAG,KAAK,CAAC;IAqCxB,CAAC;IA1BiB,iBAAiB;;QAC/B,KAAK,CAAC,iBAAiB,EAAE,CAAC;QAC1B,MAAA,IAAI,CAAC,UAAU,0CAAE,gBAAgB,CAAC,YAAY,EAAE,CAAC,CAAC,EAAE,EAAE;YACpD,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC;QACvC,CAAC,CAAC,CAAC;IACL,CAAC;IAES,gBAAgB,CAAC,IAAY;QACrC,OAAO;YACL,CAAC,IAAI,CAAC,EAAE,IAAI;YACZ,IAAI,EAAE,IAAI,CAAC,WAAW,GAAG,CAAC;SAC3B,CAAC;IACJ,CAAC;IAEkB,MAAM;QACvB,OAAO,IAAI,CAAA;mBACI,WAAW,CAAC,IAAI,CAAC,gBAAgB,CAAC,MAAM,CAAC,CAAC;qCACxB,IAAI,CAAC,aAAa,CAAC,MAAM,IAAI,CAAC;;;;;;;KAO9D,CAAC;IACJ,CAAC;;AAnDsB,iCAAO,GAAG,qBAAqB,AAAxB,CAAyB;AAChC,gCAAM,GAAG,MAAM,AAAT,CAAU;AAOhC;IADN,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;2DACnB;AAOjB;IADN,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;yDACrB;AAGd;IADP,KAAK,EAAE;8DACqB;AAGrB;IADP,qBAAqB,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;wDACR;AAGzB;IADT,kBAAkB,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;gEACd;AAzBnB,yBAAyB;IAD7C,MAAM,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,CAAC;GAC3B,yBAAyB,CAqD7C;eArDoB,yBAAyB","sourcesContent":["import { html, LitElement } from 'lit';\nimport {\n property,\n queryAssignedElements,\n queryAssignedNodes,\n state,\n} from 'lit/decorators.js';\nimport { themes } from '../../theming/theming-decorator.js';\nimport { partNameMap } from '../common/util.js';\nimport { styles } from './themes/light/item/nav-drawer-item.base.css.js';\nimport { styles as fluent } from './themes/light/item/nav-drawer-item.fluent.css.js';\nimport { styles as indigo } from './themes/light/item/nav-drawer-item.indigo.css.js';\nimport { styles as bootstrap } from './themes/light/item/nav-drawer-item.bootstrap.css.js';\nimport { styles as material } from './themes/light/item/nav-drawer-item.material.css.js';\n\n/**\n * Represents a navigation drawer item.\n *\n * @element igc-nav-drawer-item\n *\n * @slot content - The content slot for the drawer item.\n * @slot icon - The slot for the icon of the drawer item.\n *\n * @csspart base - The base wrapper of the drawer item.\n * @csspart icon - The icon container.\n * @csspart content - The content container.\n */\n@themes({ fluent, indigo, bootstrap, material })\nexport default class IgcNavDrawerItemComponent extends LitElement {\n public static readonly tagName = 'igc-nav-drawer-item';\n public static override styles = styles;\n\n /**\n * Determines whether the drawer is disabled.\n * @attr\n */\n @property({ type: Boolean, reflect: true })\n public disabled = false;\n\n /**\n * Determines whether the drawer is active.\n * @attr\n */\n @property({ type: Boolean, reflect: true })\n public active = false;\n\n @state()\n private _textLength!: number;\n\n @queryAssignedElements({ slot: 'content' })\n private _text!: Array<HTMLElement>;\n\n @queryAssignedNodes({ slot: 'icon', flatten: true })\n protected navdrawerIcon!: Array<Node>;\n\n public override connectedCallback() {\n super.connectedCallback();\n this.shadowRoot?.addEventListener('slotchange', (_) => {\n this._textLength = this._text.length;\n });\n }\n\n protected resolvePartNames(base: string) {\n return {\n [base]: true,\n mini: this._textLength < 1,\n };\n }\n\n protected override render() {\n return html`\n <div part=\"${partNameMap(this.resolvePartNames('base'))}\">\n <span part=\"icon\" .hidden=\"${this.navdrawerIcon.length == 0}\">\n <slot name=\"icon\"></slot>\n </span>\n <span part=\"content\">\n <slot name=\"content\"></slot>\n </span>\n </div>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'igc-nav-drawer-item': IgcNavDrawerItemComponent;\n }\n}\n"]}
@@ -8,8 +8,11 @@ import { html, LitElement } from 'lit';
8
8
  import { property } from 'lit/decorators.js';
9
9
  import { themes } from '../../theming/theming-decorator.js';
10
10
  import { partNameMap } from '../common/util.js';
11
- import { styles as indigo } from './themes/light/indigo/nav-drawer.indigo.css.js';
12
11
  import { styles } from './themes/light/nav-drawer.base.css.js';
12
+ import { styles as indigo } from './themes/light/nav-drawer.indigo.css.js';
13
+ import { styles as material } from './themes/light/nav-drawer.material.css.js';
14
+ import { styles as fluent } from './themes/light/nav-drawer.fluent.css.js';
15
+ import { styles as bootstrap } from './themes/light/nav-drawer.bootstrap.css.js';
13
16
  import { defineComponents } from '../common/definitions/defineComponents.js';
14
17
  import IgcNavDrawerHeaderItemComponent from './nav-drawer-header-item.js';
15
18
  import IgcNavDrawerItemComponent from './nav-drawer-item.js';
@@ -72,7 +75,7 @@ __decorate([
72
75
  property({ type: Boolean, reflect: true })
73
76
  ], IgcNavDrawerComponent.prototype, "open", void 0);
74
77
  IgcNavDrawerComponent = __decorate([
75
- themes({ indigo })
78
+ themes({ indigo, material, fluent, bootstrap })
76
79
  ], IgcNavDrawerComponent);
77
80
  export default IgcNavDrawerComponent;
78
81
  //# sourceMappingURL=nav-drawer.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"nav-drawer.js","sourceRoot":"","sources":["../../../src/components/nav-drawer/nav-drawer.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,oCAAoC,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,MAAM,IAAI,MAAM,EAAE,MAAM,gDAAgD,CAAC;AAClF,OAAO,EAAE,MAAM,EAAE,MAAM,uCAAuC,CAAC;AAE/D,OAAO,EAAE,gBAAgB,EAAE,MAAM,2CAA2C,CAAC;AAC7E,OAAO,+BAA+B,MAAM,6BAA6B,CAAC;AAC1E,OAAO,yBAAyB,MAAM,sBAAsB,CAAC;AAE7D,gBAAgB,CAAC,+BAA+B,EAAE,yBAAyB,CAAC,CAAC;AAgB7E,IAAqB,qBAAqB,GAA1C,MAAqB,qBAAsB,SAAQ,UAAU;IAA7D;;QASS,aAAQ,GAAoD,OAAO,CAAC;QAOpE,SAAI,GAAG,KAAK,CAAC;IAqDtB,CAAC;IAlDQ,IAAI;QACT,IAAI,IAAI,CAAC,IAAI,EAAE;YACb,OAAO;SACR;QAED,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACnB,CAAC;IAGM,IAAI;QACT,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE;YACd,OAAO;SACR;QAED,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC;IACpB,CAAC;IAGM,MAAM;QACX,IAAI,IAAI,CAAC,IAAI,EAAE;YACb,IAAI,CAAC,IAAI,EAAE,CAAC;SACb;aAAM;YACL,IAAI,CAAC,IAAI,EAAE,CAAC;SACb;IACH,CAAC;IAEO,gBAAgB,CAAC,IAAY;QACnC,MAAM,IAAI,GAAG,QAAQ,CAAC,aAAa,CAAC,kBAAkB,CAAC,CAAC;QACxD,MAAM,WAAW,GAAG,IAAI,KAAK,IAAI,IAAI,IAAI,CAAC,QAAQ,CAAC,MAAM,GAAG,CAAC,CAAC;QAE9D,OAAO;YACL,CAAC,IAAI,CAAC,EAAE,IAAI;YACZ,MAAM,EAAE,CAAC,WAAW;SACrB,CAAC;IACJ,CAAC;IAEkB,MAAM;QACvB,OAAO,IAAI,CAAA;mCACoB,IAAI,CAAC,IAAI;;;;;;qBAMvB,WAAW,CAAC,IAAI,CAAC,gBAAgB,CAAC,MAAM,CAAC,CAAC;;;;KAI1D,CAAC;IACJ,CAAC;;AAnEsB,6BAAO,GAAG,gBAAgB,AAAnB,CAAoB;AAC3B,4BAAM,GAAG,MAAM,AAAT,CAAU;AAOhC;IADN,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;uDAC+C;AAOpE;IADN,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;mDACvB;AAhBD,qBAAqB;IADzC,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;GACE,qBAAqB,CAqEzC;eArEoB,qBAAqB","sourcesContent":["import { html, LitElement } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { themes } from '../../theming/theming-decorator.js';\nimport { partNameMap } from '../common/util.js';\nimport { styles as indigo } from './themes/light/indigo/nav-drawer.indigo.css.js';\nimport { styles } from './themes/light/nav-drawer.base.css.js';\n\nimport { defineComponents } from '../common/definitions/defineComponents.js';\nimport IgcNavDrawerHeaderItemComponent from './nav-drawer-header-item.js';\nimport IgcNavDrawerItemComponent from './nav-drawer-item.js';\n\ndefineComponents(IgcNavDrawerHeaderItemComponent, IgcNavDrawerItemComponent);\n\n/**\n * Represents a side navigation container that provides\n * quick access between views.\n *\n * @element igc-nav-drawer\n *\n * @slot - The default slot for the drawer.\n * @slot mini - The slot for the mini variant of the drawer.\n *\n * @csspart base - The base wrapper of the navigation drawer.\n * @csspart main - The main container.\n * @csspart mini - The mini container.\n */\n@themes({ indigo })\nexport default class IgcNavDrawerComponent extends LitElement {\n public static readonly tagName = 'igc-nav-drawer';\n public static override styles = styles;\n\n /**\n * The position of the drawer.\n * @attr\n */\n @property({ reflect: true })\n public position: 'start' | 'end' | 'top' | 'bottom' | 'relative' = 'start';\n\n /**\n * Determines whether the drawer is opened.\n * @attr\n */\n @property({ type: Boolean, reflect: true })\n public open = false;\n\n /** Opens the drawer. */\n public show() {\n if (this.open) {\n return;\n }\n\n this.open = true;\n }\n\n /** Closes the drawer. */\n public hide() {\n if (!this.open) {\n return;\n }\n\n this.open = false;\n }\n\n /** Toggles the open state of the drawer. */\n public toggle() {\n if (this.open) {\n this.hide();\n } else {\n this.show();\n }\n }\n\n private resolvePartNames(base: string) {\n const mini = document.querySelector('div[slot=\"mini\"]');\n const hasChildren = mini !== null && mini.children.length > 0;\n\n return {\n [base]: true,\n hidden: !hasChildren,\n };\n }\n\n protected override render() {\n return html`\n <div part=\"overlay\" @click=${this.hide}></div>\n <div part=\"base\">\n <div part=\"main\">\n <slot></slot>\n </div>\n\n <div part=\"${partNameMap(this.resolvePartNames('mini'))}\">\n <slot name=\"mini\"></slot>\n </div>\n </div>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'igc-nav-drawer': IgcNavDrawerComponent;\n }\n}\n"]}
1
+ {"version":3,"file":"nav-drawer.js","sourceRoot":"","sources":["../../../src/components/nav-drawer/nav-drawer.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,oCAAoC,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,MAAM,EAAE,MAAM,uCAAuC,CAAC;AAC/D,OAAO,EAAE,MAAM,IAAI,MAAM,EAAE,MAAM,yCAAyC,CAAC;AAC3E,OAAO,EAAE,MAAM,IAAI,QAAQ,EAAE,MAAM,2CAA2C,CAAC;AAC/E,OAAO,EAAE,MAAM,IAAI,MAAM,EAAE,MAAM,yCAAyC,CAAC;AAC3E,OAAO,EAAE,MAAM,IAAI,SAAS,EAAE,MAAM,4CAA4C,CAAC;AACjF,OAAO,EAAE,gBAAgB,EAAE,MAAM,2CAA2C,CAAC;AAC7E,OAAO,+BAA+B,MAAM,6BAA6B,CAAC;AAC1E,OAAO,yBAAyB,MAAM,sBAAsB,CAAC;AAE7D,gBAAgB,CAAC,+BAA+B,EAAE,yBAAyB,CAAC,CAAC;AAgB7E,IAAqB,qBAAqB,GAA1C,MAAqB,qBAAsB,SAAQ,UAAU;IAA7D;;QASS,aAAQ,GAAoD,OAAO,CAAC;QAOpE,SAAI,GAAG,KAAK,CAAC;IAqDtB,CAAC;IAlDQ,IAAI;QACT,IAAI,IAAI,CAAC,IAAI,EAAE;YACb,OAAO;SACR;QAED,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACnB,CAAC;IAGM,IAAI;QACT,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE;YACd,OAAO;SACR;QAED,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC;IACpB,CAAC;IAGM,MAAM;QACX,IAAI,IAAI,CAAC,IAAI,EAAE;YACb,IAAI,CAAC,IAAI,EAAE,CAAC;SACb;aAAM;YACL,IAAI,CAAC,IAAI,EAAE,CAAC;SACb;IACH,CAAC;IAEO,gBAAgB,CAAC,IAAY;QACnC,MAAM,IAAI,GAAG,QAAQ,CAAC,aAAa,CAAC,kBAAkB,CAAC,CAAC;QACxD,MAAM,WAAW,GAAG,IAAI,KAAK,IAAI,IAAI,IAAI,CAAC,QAAQ,CAAC,MAAM,GAAG,CAAC,CAAC;QAE9D,OAAO;YACL,CAAC,IAAI,CAAC,EAAE,IAAI;YACZ,MAAM,EAAE,CAAC,WAAW;SACrB,CAAC;IACJ,CAAC;IAEkB,MAAM;QACvB,OAAO,IAAI,CAAA;mCACoB,IAAI,CAAC,IAAI;;;;;;qBAMvB,WAAW,CAAC,IAAI,CAAC,gBAAgB,CAAC,MAAM,CAAC,CAAC;;;;KAI1D,CAAC;IACJ,CAAC;;AAnEsB,6BAAO,GAAG,gBAAgB,AAAnB,CAAoB;AAC3B,4BAAM,GAAG,MAAM,AAAT,CAAU;AAOhC;IADN,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;uDAC+C;AAOpE;IADN,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;mDACvB;AAhBD,qBAAqB;IADzC,MAAM,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,CAAC;GAC3B,qBAAqB,CAqEzC;eArEoB,qBAAqB","sourcesContent":["import { html, LitElement } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { themes } from '../../theming/theming-decorator.js';\nimport { partNameMap } from '../common/util.js';\nimport { styles } from './themes/light/nav-drawer.base.css.js';\nimport { styles as indigo } from './themes/light/nav-drawer.indigo.css.js';\nimport { styles as material } from './themes/light/nav-drawer.material.css.js';\nimport { styles as fluent } from './themes/light/nav-drawer.fluent.css.js';\nimport { styles as bootstrap } from './themes/light/nav-drawer.bootstrap.css.js';\nimport { defineComponents } from '../common/definitions/defineComponents.js';\nimport IgcNavDrawerHeaderItemComponent from './nav-drawer-header-item.js';\nimport IgcNavDrawerItemComponent from './nav-drawer-item.js';\n\ndefineComponents(IgcNavDrawerHeaderItemComponent, IgcNavDrawerItemComponent);\n\n/**\n * Represents a side navigation container that provides\n * quick access between views.\n *\n * @element igc-nav-drawer\n *\n * @slot - The default slot for the drawer.\n * @slot mini - The slot for the mini variant of the drawer.\n *\n * @csspart base - The base wrapper of the navigation drawer.\n * @csspart main - The main container.\n * @csspart mini - The mini container.\n */\n@themes({ indigo, material, fluent, bootstrap })\nexport default class IgcNavDrawerComponent extends LitElement {\n public static readonly tagName = 'igc-nav-drawer';\n public static override styles = styles;\n\n /**\n * The position of the drawer.\n * @attr\n */\n @property({ reflect: true })\n public position: 'start' | 'end' | 'top' | 'bottom' | 'relative' = 'start';\n\n /**\n * Determines whether the drawer is opened.\n * @attr\n */\n @property({ type: Boolean, reflect: true })\n public open = false;\n\n /** Opens the drawer. */\n public show() {\n if (this.open) {\n return;\n }\n\n this.open = true;\n }\n\n /** Closes the drawer. */\n public hide() {\n if (!this.open) {\n return;\n }\n\n this.open = false;\n }\n\n /** Toggles the open state of the drawer. */\n public toggle() {\n if (this.open) {\n this.hide();\n } else {\n this.show();\n }\n }\n\n private resolvePartNames(base: string) {\n const mini = document.querySelector('div[slot=\"mini\"]');\n const hasChildren = mini !== null && mini.children.length > 0;\n\n return {\n [base]: true,\n hidden: !hasChildren,\n };\n }\n\n protected override render() {\n return html`\n <div part=\"overlay\" @click=${this.hide}></div>\n <div part=\"base\">\n <div part=\"main\">\n <slot></slot>\n </div>\n\n <div part=\"${partNameMap(this.resolvePartNames('mini'))}\">\n <slot name=\"mini\"></slot>\n </div>\n </div>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'igc-nav-drawer': IgcNavDrawerComponent;\n }\n}\n"]}
@@ -1,3 +1,3 @@
1
1
  import { css } from 'lit';
2
2
  export const styles = css ``;
3
- //# sourceMappingURL=nav-drawer-item.base.css.js.map
3
+ //# sourceMappingURL=nav-drawer.bootstrap.css.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"nav-drawer-item.base.css.js","sourceRoot":"","sources":["../../../../../src/components/nav-drawer/themes/dark/nav-drawer-item.base.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA,EAAE,CAAC","sourcesContent":["import { css } from 'lit';\n\nexport const styles = css``;\n"]}
1
+ {"version":3,"file":"nav-drawer.bootstrap.css.js","sourceRoot":"","sources":["../../../../../src/components/nav-drawer/themes/dark/nav-drawer.bootstrap.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA,EAAE,CAAC","sourcesContent":["import { css } from 'lit';\n\nexport const styles = css``;\n"]}
@@ -1,3 +1,3 @@
1
1
  import { css } from 'lit';
2
2
  export const styles = css ``;
3
- //# sourceMappingURL=nav-drawer-item.fluent.css.js.map
3
+ //# sourceMappingURL=nav-drawer.fluent.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nav-drawer.fluent.css.js","sourceRoot":"","sources":["../../../../../src/components/nav-drawer/themes/dark/nav-drawer.fluent.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA,EAAE,CAAC","sourcesContent":["import { css } from 'lit';\n\nexport const styles = css``;\n"]}
@@ -1,3 +1,3 @@
1
1
  import { css } from 'lit';
2
2
  export const styles = css ``;
3
- //# sourceMappingURL=nav-drawer-item.indigo.css.js.map
3
+ //# sourceMappingURL=nav-drawer.material.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nav-drawer.material.css.js","sourceRoot":"","sources":["../../../../../src/components/nav-drawer/themes/dark/nav-drawer.material.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA,EAAE,CAAC","sourcesContent":["import { css } from 'lit';\n\nexport const styles = css``;\n"]}
@@ -0,0 +1,7 @@
1
+ import { css } from 'lit';
2
+ export const styles = css `:host {
3
+ display: block;
4
+ padding: 1.25rem 1rem;
5
+ white-space: nowrap;
6
+ }`;
7
+ //# sourceMappingURL=nav-drawer-header-item.base.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nav-drawer-header-item.base.css.js","sourceRoot":"","sources":["../../../../../../src/components/nav-drawer/themes/light/header-item/nav-drawer-header-item.base.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;;;;EAIvB,CAAC","sourcesContent":["import { css } from 'lit';\n\nexport const styles = css`:host {\n display: block;\n padding: 1.25rem 1rem;\n white-space: nowrap;\n}`;\n"]}
@@ -9,5 +9,6 @@ export const styles = css `:host {
9
9
  text-transform: var(--ig-caption-text-transform);
10
10
  margin-top: var(--ig-caption-margin-top);
11
11
  margin-bottom: var(--ig-caption-margin-bottom);
12
+ color: var(--item-header-text-color);
12
13
  }`;
13
- //# sourceMappingURL=nav-drawer-header-item.fluent.css.js.map
14
+ //# sourceMappingURL=nav-drawer-header-item.bootstrap.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nav-drawer-header-item.bootstrap.css.js","sourceRoot":"","sources":["../../../../../../src/components/nav-drawer/themes/light/header-item/nav-drawer-header-item.bootstrap.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;;;;;;;;;;;EAWvB,CAAC","sourcesContent":["import { css } from 'lit';\n\nexport const styles = css`:host {\n font-family: var(--ig-caption-font-family, var(--ig-font-family));\n font-size: var(--ig-caption-font-size);\n font-weight: var(--ig-caption-font-weight);\n font-style: var(--ig-caption-font-style);\n line-height: var(--ig-caption-line-height);\n letter-spacing: var(--ig-caption-letter-spacing);\n text-transform: var(--ig-caption-text-transform);\n margin-top: var(--ig-caption-margin-top);\n margin-bottom: var(--ig-caption-margin-bottom);\n color: var(--item-header-text-color);\n}`;\n"]}
@@ -1,9 +1,5 @@
1
1
  import { css } from 'lit';
2
2
  export const styles = css `:host {
3
- display: block;
4
- padding: 1.25rem 1rem;
5
- white-space: nowrap;
6
- color: hsla(var(--ig-gray-800), var(--ig-gray-a));
7
3
  font-family: var(--ig-subtitle-1-font-family, var(--ig-font-family));
8
4
  font-size: var(--ig-subtitle-1-font-size);
9
5
  font-weight: var(--ig-subtitle-1-font-weight);
@@ -13,5 +9,6 @@ export const styles = css `:host {
13
9
  text-transform: var(--ig-subtitle-1-text-transform);
14
10
  margin-top: var(--ig-subtitle-1-margin-top);
15
11
  margin-bottom: var(--ig-subtitle-1-margin-bottom);
12
+ color: var(--item-header-text-color);
16
13
  }`;
17
- //# sourceMappingURL=nav-drawer-header-item.base.css.js.map
14
+ //# sourceMappingURL=nav-drawer-header-item.fluent.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nav-drawer-header-item.fluent.css.js","sourceRoot":"","sources":["../../../../../../src/components/nav-drawer/themes/light/header-item/nav-drawer-header-item.fluent.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;;;;;;;;;;;EAWvB,CAAC","sourcesContent":["import { css } from 'lit';\n\nexport const styles = css`:host {\n font-family: var(--ig-subtitle-1-font-family, var(--ig-font-family));\n font-size: var(--ig-subtitle-1-font-size);\n font-weight: var(--ig-subtitle-1-font-weight);\n font-style: var(--ig-subtitle-1-font-style);\n line-height: var(--ig-subtitle-1-line-height);\n letter-spacing: var(--ig-subtitle-1-letter-spacing);\n text-transform: var(--ig-subtitle-1-text-transform);\n margin-top: var(--ig-subtitle-1-margin-top);\n margin-bottom: var(--ig-subtitle-1-margin-bottom);\n color: var(--item-header-text-color);\n}`;\n"]}
@@ -0,0 +1,14 @@
1
+ import { css } from 'lit';
2
+ export const styles = css `:host {
3
+ font-family: var(--ig-subtitle-1-font-family, var(--ig-font-family));
4
+ font-size: var(--ig-subtitle-1-font-size);
5
+ font-weight: var(--ig-subtitle-1-font-weight);
6
+ font-style: var(--ig-subtitle-1-font-style);
7
+ line-height: var(--ig-subtitle-1-line-height);
8
+ letter-spacing: var(--ig-subtitle-1-letter-spacing);
9
+ text-transform: var(--ig-subtitle-1-text-transform);
10
+ margin-top: var(--ig-subtitle-1-margin-top);
11
+ margin-bottom: var(--ig-subtitle-1-margin-bottom);
12
+ color: var(--item-header-text-color);
13
+ }`;
14
+ //# sourceMappingURL=nav-drawer-header-item.indigo.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nav-drawer-header-item.indigo.css.js","sourceRoot":"","sources":["../../../../../../src/components/nav-drawer/themes/light/header-item/nav-drawer-header-item.indigo.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;;;;;;;;;;;EAWvB,CAAC","sourcesContent":["import { css } from 'lit';\n\nexport const styles = css`:host {\n font-family: var(--ig-subtitle-1-font-family, var(--ig-font-family));\n font-size: var(--ig-subtitle-1-font-size);\n font-weight: var(--ig-subtitle-1-font-weight);\n font-style: var(--ig-subtitle-1-font-style);\n line-height: var(--ig-subtitle-1-line-height);\n letter-spacing: var(--ig-subtitle-1-letter-spacing);\n text-transform: var(--ig-subtitle-1-text-transform);\n margin-top: var(--ig-subtitle-1-margin-top);\n margin-bottom: var(--ig-subtitle-1-margin-bottom);\n color: var(--item-header-text-color);\n}`;\n"]}
@@ -0,0 +1,14 @@
1
+ import { css } from 'lit';
2
+ export const styles = css `:host {
3
+ font-family: var(--ig-subtitle-1-font-family, var(--ig-font-family));
4
+ font-size: var(--ig-subtitle-1-font-size);
5
+ font-weight: var(--ig-subtitle-1-font-weight);
6
+ font-style: var(--ig-subtitle-1-font-style);
7
+ line-height: var(--ig-subtitle-1-line-height);
8
+ letter-spacing: var(--ig-subtitle-1-letter-spacing);
9
+ text-transform: var(--ig-subtitle-1-text-transform);
10
+ margin-top: var(--ig-subtitle-1-margin-top);
11
+ margin-bottom: var(--ig-subtitle-1-margin-bottom);
12
+ color: var(--item-header-text-color);
13
+ }`;
14
+ //# sourceMappingURL=nav-drawer-header-item.material.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nav-drawer-header-item.material.css.js","sourceRoot":"","sources":["../../../../../../src/components/nav-drawer/themes/light/header-item/nav-drawer-header-item.material.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;;;;;;;;;;;EAWvB,CAAC","sourcesContent":["import { css } from 'lit';\n\nexport const styles = css`:host {\n font-family: var(--ig-subtitle-1-font-family, var(--ig-font-family));\n font-size: var(--ig-subtitle-1-font-size);\n font-weight: var(--ig-subtitle-1-font-weight);\n font-style: var(--ig-subtitle-1-font-style);\n line-height: var(--ig-subtitle-1-line-height);\n letter-spacing: var(--ig-subtitle-1-letter-spacing);\n text-transform: var(--ig-subtitle-1-text-transform);\n margin-top: var(--ig-subtitle-1-margin-top);\n margin-bottom: var(--ig-subtitle-1-margin-bottom);\n color: var(--item-header-text-color);\n}`;\n"]}
@@ -0,0 +1,65 @@
1
+ import { css } from 'lit';
2
+ export const styles = css `[part~=base] {
3
+ display: -webkit-box;
4
+ display: -ms-flexbox;
5
+ display: flex;
6
+ gap: 2rem;
7
+ -webkit-box-align: center;
8
+ -ms-flex-align: center;
9
+ align-items: center;
10
+ -webkit-box-orient: horizontal;
11
+ -webkit-box-direction: normal;
12
+ -ms-flex-flow: row nowrap;
13
+ flex-flow: row nowrap;
14
+ position: relative;
15
+ max-height: 3rem;
16
+ margin: 0.5rem;
17
+ padding: 0.75rem 0.5rem;
18
+ cursor: pointer;
19
+ -webkit-user-select: none;
20
+ -moz-user-select: none;
21
+ -ms-user-select: none;
22
+ user-select: none;
23
+ outline: transparent;
24
+ white-space: nowrap;
25
+ text-decoration: none;
26
+ border: none;
27
+ -webkit-box-pack: start;
28
+ -ms-flex-pack: start;
29
+ justify-content: flex-start;
30
+ -webkit-transition: background 0.15s ease-out;
31
+ transition: background 0.15s ease-out;
32
+ }
33
+ [part~=base] ::slotted(igc-icon) {
34
+ --ig-size: 3;
35
+ display: -webkit-box;
36
+ display: -ms-flexbox;
37
+ display: flex;
38
+ font: inherit;
39
+ }
40
+
41
+ [part=content] {
42
+ white-space: nowrap;
43
+ text-overflow: ellipsis;
44
+ overflow: hidden;
45
+ }
46
+
47
+ [part="base mini"] {
48
+ display: block;
49
+ }
50
+ [part="base mini"] [part=content] {
51
+ display: none;
52
+ }
53
+ [part="base mini"] ::slotted(igc-icon) {
54
+ width: 100%;
55
+ }
56
+
57
+ :host([disabled]) {
58
+ -webkit-user-select: none;
59
+ -moz-user-select: none;
60
+ -ms-user-select: none;
61
+ user-select: none;
62
+ cursor: initial;
63
+ pointer-events: none;
64
+ }`;
65
+ //# sourceMappingURL=nav-drawer-item.base.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nav-drawer-item.base.css.js","sourceRoot":"","sources":["../../../../../../src/components/nav-drawer/themes/light/item/nav-drawer-item.base.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8DvB,CAAC","sourcesContent":["import { css } from 'lit';\n\nexport const styles = css`[part~=base] {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n gap: 2rem;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-orient: horizontal;\n -webkit-box-direction: normal;\n -ms-flex-flow: row nowrap;\n flex-flow: row nowrap;\n position: relative;\n max-height: 3rem;\n margin: 0.5rem;\n padding: 0.75rem 0.5rem;\n cursor: pointer;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n outline: transparent;\n white-space: nowrap;\n text-decoration: none;\n border: none;\n -webkit-box-pack: start;\n -ms-flex-pack: start;\n justify-content: flex-start;\n -webkit-transition: background 0.15s ease-out;\n transition: background 0.15s ease-out;\n}\n[part~=base] ::slotted(igc-icon) {\n --ig-size: 3;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n font: inherit;\n}\n\n[part=content] {\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n}\n\n[part=\"base mini\"] {\n display: block;\n}\n[part=\"base mini\"] [part=content] {\n display: none;\n}\n[part=\"base mini\"] ::slotted(igc-icon) {\n width: 100%;\n}\n\n:host([disabled]) {\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n cursor: initial;\n pointer-events: none;\n}`;\n"]}
@@ -14,56 +14,25 @@ export const styles = css `:host {
14
14
  --item-hover-icon-color: var(--ig-nav-drawer-item-hover-icon-color, hsla(var(--ig-gray-900), var(--ig-gray-a)));
15
15
  --border-radius: var(--ig-nav-drawer-border-radius, clamp(0rem, calc(var(--ig-radius-factor, 0) * 2.25rem), 2.25rem));
16
16
  --item-border-radius: var(--ig-nav-drawer-item-border-radius, clamp(0rem, calc(var(--ig-radius-factor, 0.1666666667) * 1.5rem), 1.5rem));
17
+ --background-color: var(--ig-nav-drawer-background-color, hsla(var(--ig-gray-500), 0.54));
17
18
  }
18
19
 
19
20
  [part~=base] {
20
21
  border-radius: var(--item-border-radius);
21
- display: -webkit-box;
22
- display: -ms-flexbox;
23
- display: flex;
24
- gap: 2rem;
25
- -webkit-box-align: center;
26
- -ms-flex-align: center;
27
- align-items: center;
28
- -webkit-box-orient: horizontal;
29
- -webkit-box-direction: normal;
30
- -ms-flex-flow: row nowrap;
31
- flex-flow: row nowrap;
32
- position: relative;
33
- color: hsla(var(--ig-gray-700), var(--ig-gray-a));
34
- max-height: 3rem;
35
- margin: 0.5rem;
36
- padding: 0.75rem 0.5rem;
37
- cursor: pointer;
38
- -webkit-user-select: none;
39
- -moz-user-select: none;
40
- -ms-user-select: none;
41
- user-select: none;
42
- outline: transparent;
43
- white-space: nowrap;
44
- text-decoration: none;
45
- border: none;
46
- -webkit-box-pack: start;
47
- -ms-flex-pack: start;
48
- justify-content: flex-start;
49
- -webkit-transition: background 0.15s ease-out;
50
- transition: background 0.15s ease-out;
51
- }
52
- [part~=base] ::slotted(igc-icon) {
53
- display: -webkit-box;
54
- display: -ms-flexbox;
55
- display: flex;
56
- font: inherit;
22
+ color: var(--item-text-color);
57
23
  }
58
24
  [part~=base]:hover, [part~=base]:focus-within {
59
- background: var(--hover-background, hsla(var(--ig-gray-200), 0.8));
60
- color: hsla(var(--ig-gray-900), var(--ig-gray-a));
25
+ background: var(--item-hover-background);
26
+ color: var(--item-hover-text-color);
27
+ }
28
+ [part~=base]:hover ::slotted(igc-icon), [part~=base]:focus-within ::slotted(igc-icon) {
29
+ color: var(--item-hover-icon-color);
30
+ }
31
+ [part~=base] ::slotted(igc-icon) {
32
+ color: var(--item-icon-color);
61
33
  }
62
34
 
63
35
  [part=content] {
64
- white-space: nowrap;
65
- text-overflow: ellipsis;
66
- overflow: hidden;
67
36
  font-family: var(--ig-subtitle-2-font-family, var(--ig-font-family));
68
37
  font-size: var(--ig-subtitle-2-font-size);
69
38
  font-weight: var(--ig-subtitle-2-font-weight);
@@ -75,30 +44,11 @@ export const styles = css `:host {
75
44
  margin-bottom: var(--ig-subtitle-2-margin-bottom);
76
45
  }
77
46
 
78
- [part="base mini"] {
79
- display: block;
80
- }
81
- [part="base mini"] [part=content] {
82
- display: none;
83
- }
84
- [part="base mini"] ::slotted(igc-icon) {
85
- width: 100%;
86
- }
87
-
88
- :host([disabled]) {
89
- -webkit-user-select: none;
90
- -moz-user-select: none;
91
- -ms-user-select: none;
92
- user-select: none;
93
- cursor: initial;
94
- pointer-events: none;
95
- }
96
- :host([disabled]) [part~=base] {
97
- color: hsla(var(--ig-gray-400), var(--ig-gray-a));
98
- }
99
-
100
47
  :host([active]) [part~=base] {
101
- background: var(--active-background, hsla(var(--ig-primary-500), 0.12));
102
- color: var(--active-text-color, hsla(var(--ig-primary-500), var(--ig-primary-a)));
48
+ background: var(--item-active-background);
49
+ color: var(--item-active-text-color);
50
+ }
51
+ :host([active]) [part~=base] ::slotted(igc-icon) {
52
+ color: var(--item-active-icon-color);
103
53
  }`;
104
- //# sourceMappingURL=nav-drawer-item.base.css.js.map
54
+ //# sourceMappingURL=nav-drawer-item.bootstrap.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nav-drawer-item.bootstrap.css.js","sourceRoot":"","sources":["../../../../../../src/components/nav-drawer/themes/light/item/nav-drawer-item.bootstrap.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmDvB,CAAC","sourcesContent":["import { css } from 'lit';\n\nexport const styles = css`:host {\n --elevation: var(--ig-nav-drawer-elevation, var(--ig-elevation-16));\n --background: var(--ig-nav-drawer-background, hsla(var(--ig-surface-500), var(--ig-surface-a)));\n --border-color: var(--ig-nav-drawer-border-color, hsla(var(--ig-gray-900), 0.14));\n --item-header-text-color: var(--ig-nav-drawer-item-header-text-color, hsla(var(--ig-gray-800), var(--ig-gray-a)));\n --item-text-color: var(--ig-nav-drawer-item-text-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));\n --item-icon-color: var(--ig-nav-drawer-item-icon-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));\n --item-active-text-color: var(--ig-nav-drawer-item-active-text-color, hsla(var(--ig-primary-500), var(--ig-primary-a)));\n --item-active-background: var(--ig-nav-drawer-item-active-background, hsla(var(--ig-primary-500), 0.12));\n --item-hover-background: var(--ig-nav-drawer-item-hover-background, hsla(var(--ig-gray-200), 0.8));\n --item-hover-text-color: var(--ig-nav-drawer-item-hover-text-color, hsla(var(--ig-gray-900), var(--ig-gray-a)));\n --item-active-icon-color: var(--ig-nav-drawer-item-active-icon-color, hsla(var(--ig-primary-500), var(--ig-primary-a)));\n --item-hover-icon-color: var(--ig-nav-drawer-item-hover-icon-color, hsla(var(--ig-gray-900), var(--ig-gray-a)));\n --border-radius: var(--ig-nav-drawer-border-radius, clamp(0rem, calc(var(--ig-radius-factor, 0) * 2.25rem), 2.25rem));\n --item-border-radius: var(--ig-nav-drawer-item-border-radius, clamp(0rem, calc(var(--ig-radius-factor, 0.1666666667) * 1.5rem), 1.5rem));\n --background-color: var(--ig-nav-drawer-background-color, hsla(var(--ig-gray-500), 0.54));\n}\n\n[part~=base] {\n border-radius: var(--item-border-radius);\n color: var(--item-text-color);\n}\n[part~=base]:hover, [part~=base]:focus-within {\n background: var(--item-hover-background);\n color: var(--item-hover-text-color);\n}\n[part~=base]:hover ::slotted(igc-icon), [part~=base]:focus-within ::slotted(igc-icon) {\n color: var(--item-hover-icon-color);\n}\n[part~=base] ::slotted(igc-icon) {\n color: var(--item-icon-color);\n}\n\n[part=content] {\n font-family: var(--ig-subtitle-2-font-family, var(--ig-font-family));\n font-size: var(--ig-subtitle-2-font-size);\n font-weight: var(--ig-subtitle-2-font-weight);\n font-style: var(--ig-subtitle-2-font-style);\n line-height: var(--ig-subtitle-2-line-height);\n letter-spacing: var(--ig-subtitle-2-letter-spacing);\n text-transform: var(--ig-subtitle-2-text-transform);\n margin-top: var(--ig-subtitle-2-margin-top);\n margin-bottom: var(--ig-subtitle-2-margin-bottom);\n}\n\n:host([active]) [part~=base] {\n background: var(--item-active-background);\n color: var(--item-active-text-color);\n}\n:host([active]) [part~=base] ::slotted(igc-icon) {\n color: var(--item-active-icon-color);\n}`;\n"]}
@@ -0,0 +1,54 @@
1
+ import { css } from 'lit';
2
+ export const styles = css `:host {
3
+ --elevation: var(--ig-nav-drawer-elevation, var(--ig-elevation-16));
4
+ --background: var(--ig-nav-drawer-background, hsla(var(--ig-surface-500), var(--ig-surface-a)));
5
+ --border-color: var(--ig-nav-drawer-border-color, hsla(var(--ig-gray-900), 0.14));
6
+ --item-header-text-color: var(--ig-nav-drawer-item-header-text-color, hsla(var(--ig-gray-800), var(--ig-gray-a)));
7
+ --item-text-color: var(--ig-nav-drawer-item-text-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));
8
+ --item-icon-color: var(--ig-nav-drawer-item-icon-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));
9
+ --item-active-text-color: var(--ig-nav-drawer-item-active-text-color, hsla(var(--ig-primary-500), var(--ig-primary-a)));
10
+ --item-active-background: var(--ig-nav-drawer-item-active-background, hsla(var(--ig-primary-500), 0.12));
11
+ --item-hover-background: var(--ig-nav-drawer-item-hover-background, hsla(var(--ig-gray-200), 0.8));
12
+ --item-hover-text-color: var(--ig-nav-drawer-item-hover-text-color, hsla(var(--ig-gray-900), var(--ig-gray-a)));
13
+ --item-active-icon-color: var(--ig-nav-drawer-item-active-icon-color, hsla(var(--ig-primary-500), var(--ig-primary-a)));
14
+ --item-hover-icon-color: var(--ig-nav-drawer-item-hover-icon-color, hsla(var(--ig-gray-900), var(--ig-gray-a)));
15
+ --border-radius: var(--ig-nav-drawer-border-radius, clamp(0rem, calc(var(--ig-radius-factor, 0) * 2.25rem), 2.25rem));
16
+ --item-border-radius: var(--ig-nav-drawer-item-border-radius, clamp(0rem, calc(var(--ig-radius-factor, 0.1666666667) * 1.5rem), 1.5rem));
17
+ --background-color: var(--ig-nav-drawer-background-color, rgba(255, 255, 255, 0.4));
18
+ }
19
+
20
+ [part~=base] {
21
+ border-radius: var(--item-border-radius);
22
+ color: var(--item-text-color);
23
+ }
24
+ [part~=base]:hover, [part~=base]:focus-within {
25
+ background: var(--item-hover-background);
26
+ color: var(--item-hover-text-color);
27
+ }
28
+ [part~=base]:hover ::slotted(igc-icon), [part~=base]:focus-within ::slotted(igc-icon) {
29
+ color: var(--item-hover-icon-color);
30
+ }
31
+ [part~=base] ::slotted(igc-icon) {
32
+ color: var(--item-icon-color);
33
+ }
34
+
35
+ [part=content] {
36
+ font-family: var(--ig-body-2-font-family, var(--ig-font-family));
37
+ font-size: var(--ig-body-2-font-size);
38
+ font-weight: var(--ig-body-2-font-weight);
39
+ font-style: var(--ig-body-2-font-style);
40
+ line-height: var(--ig-body-2-line-height);
41
+ letter-spacing: var(--ig-body-2-letter-spacing);
42
+ text-transform: var(--ig-body-2-text-transform);
43
+ margin-top: var(--ig-body-2-margin-top);
44
+ margin-bottom: var(--ig-body-2-margin-bottom);
45
+ }
46
+
47
+ :host([active]) [part~=base] {
48
+ background: var(--item-active-background);
49
+ color: var(--item-active-text-color);
50
+ }
51
+ :host([active]) [part~=base] ::slotted(igc-icon) {
52
+ color: var(--item-active-icon-color);
53
+ }`;
54
+ //# sourceMappingURL=nav-drawer-item.fluent.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nav-drawer-item.fluent.css.js","sourceRoot":"","sources":["../../../../../../src/components/nav-drawer/themes/light/item/nav-drawer-item.fluent.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmDvB,CAAC","sourcesContent":["import { css } from 'lit';\n\nexport const styles = css`:host {\n --elevation: var(--ig-nav-drawer-elevation, var(--ig-elevation-16));\n --background: var(--ig-nav-drawer-background, hsla(var(--ig-surface-500), var(--ig-surface-a)));\n --border-color: var(--ig-nav-drawer-border-color, hsla(var(--ig-gray-900), 0.14));\n --item-header-text-color: var(--ig-nav-drawer-item-header-text-color, hsla(var(--ig-gray-800), var(--ig-gray-a)));\n --item-text-color: var(--ig-nav-drawer-item-text-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));\n --item-icon-color: var(--ig-nav-drawer-item-icon-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));\n --item-active-text-color: var(--ig-nav-drawer-item-active-text-color, hsla(var(--ig-primary-500), var(--ig-primary-a)));\n --item-active-background: var(--ig-nav-drawer-item-active-background, hsla(var(--ig-primary-500), 0.12));\n --item-hover-background: var(--ig-nav-drawer-item-hover-background, hsla(var(--ig-gray-200), 0.8));\n --item-hover-text-color: var(--ig-nav-drawer-item-hover-text-color, hsla(var(--ig-gray-900), var(--ig-gray-a)));\n --item-active-icon-color: var(--ig-nav-drawer-item-active-icon-color, hsla(var(--ig-primary-500), var(--ig-primary-a)));\n --item-hover-icon-color: var(--ig-nav-drawer-item-hover-icon-color, hsla(var(--ig-gray-900), var(--ig-gray-a)));\n --border-radius: var(--ig-nav-drawer-border-radius, clamp(0rem, calc(var(--ig-radius-factor, 0) * 2.25rem), 2.25rem));\n --item-border-radius: var(--ig-nav-drawer-item-border-radius, clamp(0rem, calc(var(--ig-radius-factor, 0.1666666667) * 1.5rem), 1.5rem));\n --background-color: var(--ig-nav-drawer-background-color, rgba(255, 255, 255, 0.4));\n}\n\n[part~=base] {\n border-radius: var(--item-border-radius);\n color: var(--item-text-color);\n}\n[part~=base]:hover, [part~=base]:focus-within {\n background: var(--item-hover-background);\n color: var(--item-hover-text-color);\n}\n[part~=base]:hover ::slotted(igc-icon), [part~=base]:focus-within ::slotted(igc-icon) {\n color: var(--item-hover-icon-color);\n}\n[part~=base] ::slotted(igc-icon) {\n color: var(--item-icon-color);\n}\n\n[part=content] {\n font-family: var(--ig-body-2-font-family, var(--ig-font-family));\n font-size: var(--ig-body-2-font-size);\n font-weight: var(--ig-body-2-font-weight);\n font-style: var(--ig-body-2-font-style);\n line-height: var(--ig-body-2-line-height);\n letter-spacing: var(--ig-body-2-letter-spacing);\n text-transform: var(--ig-body-2-text-transform);\n margin-top: var(--ig-body-2-margin-top);\n margin-bottom: var(--ig-body-2-margin-bottom);\n}\n\n:host([active]) [part~=base] {\n background: var(--item-active-background);\n color: var(--item-active-text-color);\n}\n:host([active]) [part~=base] ::slotted(igc-icon) {\n color: var(--item-active-icon-color);\n}`;\n"]}
@@ -0,0 +1 @@
1
+ export declare const styles: import("lit").CSSResult;
@@ -14,25 +14,46 @@ export const styles = css `:host {
14
14
  --item-hover-icon-color: var(--ig-nav-drawer-item-hover-icon-color, hsla(var(--ig-gray-100), var(--ig-gray-a)));
15
15
  --border-radius: var(--ig-nav-drawer-border-radius, clamp(0rem, calc(var(--ig-radius-factor, 0) * 2.25rem), 2.25rem));
16
16
  --item-border-radius: var(--ig-nav-drawer-item-border-radius, clamp(0rem, calc(var(--ig-radius-factor, 1) * 1.5rem), 1.5rem));
17
+ --background-color: var(--ig-nav-drawer-background-color, hsla(var(--ig-gray-500), 0.54));
17
18
  }
18
- :host [part~=base] {
19
- border-radius: var(--item-border-radius);
19
+
20
+ [part~=base] {
20
21
  gap: 1.5rem;
21
- color: var(--text-color, hsla(var(--ig-gray-300), 0.8));
22
22
  padding: 0.25rem;
23
23
  margin: 0.9375rem 0.5rem;
24
+ border-radius: var(--item-border-radius);
25
+ color: var(--item-text-color);
26
+ }
27
+ [part~=base]:hover, [part~=base]:focus-within {
28
+ background: var(--item-hover-background);
29
+ color: var(--item-hover-text-color);
24
30
  }
25
- :host [part~=base]:hover, :host [part~=base]:focus-within {
26
- background: transparent;
27
- color: var(--hover-text-color, hsla(var(--ig-gray-100), var(--ig-gray-a)));
31
+ [part~=base]:hover ::slotted(igc-icon), [part~=base]:focus-within ::slotted(igc-icon) {
32
+ color: var(--item-hover-icon-color);
28
33
  }
29
- :host [part=content] {
34
+ [part~=base] ::slotted(igc-icon) {
35
+ color: var(--item-icon-color);
36
+ }
37
+
38
+ [part=content] {
39
+ font-family: var(--ig-subtitle-2-font-family, var(--ig-font-family));
40
+ font-size: var(--ig-subtitle-2-font-size);
41
+ font-weight: var(--ig-subtitle-2-font-weight);
42
+ font-style: var(--ig-subtitle-2-font-style);
43
+ line-height: var(--ig-subtitle-2-line-height);
44
+ letter-spacing: var(--ig-subtitle-2-letter-spacing);
45
+ text-transform: var(--ig-subtitle-2-text-transform);
46
+ margin-top: var(--ig-subtitle-2-margin-top);
47
+ margin-bottom: var(--ig-subtitle-2-margin-bottom);
30
48
  -webkit-padding-start: 0.5rem;
31
49
  padding-inline-start: 0.5rem;
32
50
  }
33
51
 
34
52
  :host([active]) [part~=base] {
35
- background: var(--active-background, hsla(var(--ig-gray-600), 0.8));
36
- color: hsla(var(--ig-gray-50), var(--ig-gray-a));
53
+ background: var(--item-active-background);
54
+ color: var(--item-active-text-color);
55
+ }
56
+ :host([active]) [part~=base] ::slotted(igc-icon) {
57
+ color: var(--item-active-icon-color);
37
58
  }`;
38
59
  //# sourceMappingURL=nav-drawer-item.indigo.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nav-drawer-item.indigo.css.js","sourceRoot":"","sources":["../../../../../../src/components/nav-drawer/themes/light/item/nav-drawer-item.indigo.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwDvB,CAAC","sourcesContent":["import { css } from 'lit';\n\nexport const styles = css`:host {\n --elevation: var(--ig-nav-drawer-elevation, var(--ig-elevation-0));\n --background: var(--ig-nav-drawer-background, hsla(var(--ig-gray-700), var(--ig-gray-a)));\n --border-color: var(--ig-nav-drawer-border-color, transparent);\n --item-header-text-color: var(--ig-nav-drawer-item-header-text-color, hsla(var(--ig-gray-50), var(--ig-gray-a)));\n --item-text-color: var(--ig-nav-drawer-item-text-color, hsla(var(--ig-gray-300), 0.8));\n --item-icon-color: var(--ig-nav-drawer-item-icon-color, hsla(var(--ig-gray-300), 0.8));\n --item-active-text-color: var(--ig-nav-drawer-item-active-text-color, hsla(var(--ig-gray-50), var(--ig-gray-a)));\n --item-active-background: var(--ig-nav-drawer-item-active-background, hsla(var(--ig-gray-600), 0.8));\n --item-hover-background: var(--ig-nav-drawer-item-hover-background, transparent);\n --item-hover-text-color: var(--ig-nav-drawer-item-hover-text-color, hsla(var(--ig-gray-100), var(--ig-gray-a)));\n --item-active-icon-color: var(--ig-nav-drawer-item-active-icon-color, hsla(var(--ig-gray-50), var(--ig-gray-a)));\n --item-hover-icon-color: var(--ig-nav-drawer-item-hover-icon-color, hsla(var(--ig-gray-100), var(--ig-gray-a)));\n --border-radius: var(--ig-nav-drawer-border-radius, clamp(0rem, calc(var(--ig-radius-factor, 0) * 2.25rem), 2.25rem));\n --item-border-radius: var(--ig-nav-drawer-item-border-radius, clamp(0rem, calc(var(--ig-radius-factor, 1) * 1.5rem), 1.5rem));\n --background-color: var(--ig-nav-drawer-background-color, hsla(var(--ig-gray-500), 0.54));\n}\n\n[part~=base] {\n gap: 1.5rem;\n padding: 0.25rem;\n margin: 0.9375rem 0.5rem;\n border-radius: var(--item-border-radius);\n color: var(--item-text-color);\n}\n[part~=base]:hover, [part~=base]:focus-within {\n background: var(--item-hover-background);\n color: var(--item-hover-text-color);\n}\n[part~=base]:hover ::slotted(igc-icon), [part~=base]:focus-within ::slotted(igc-icon) {\n color: var(--item-hover-icon-color);\n}\n[part~=base] ::slotted(igc-icon) {\n color: var(--item-icon-color);\n}\n\n[part=content] {\n font-family: var(--ig-subtitle-2-font-family, var(--ig-font-family));\n font-size: var(--ig-subtitle-2-font-size);\n font-weight: var(--ig-subtitle-2-font-weight);\n font-style: var(--ig-subtitle-2-font-style);\n line-height: var(--ig-subtitle-2-line-height);\n letter-spacing: var(--ig-subtitle-2-letter-spacing);\n text-transform: var(--ig-subtitle-2-text-transform);\n margin-top: var(--ig-subtitle-2-margin-top);\n margin-bottom: var(--ig-subtitle-2-margin-bottom);\n -webkit-padding-start: 0.5rem;\n padding-inline-start: 0.5rem;\n}\n\n:host([active]) [part~=base] {\n background: var(--item-active-background);\n color: var(--item-active-text-color);\n}\n:host([active]) [part~=base] ::slotted(igc-icon) {\n color: var(--item-active-icon-color);\n}`;\n"]}
@@ -0,0 +1 @@
1
+ export declare const styles: import("lit").CSSResult;
@@ -0,0 +1,54 @@
1
+ import { css } from 'lit';
2
+ export const styles = css `:host {
3
+ --elevation: var(--ig-nav-drawer-elevation, var(--ig-elevation-16));
4
+ --background: var(--ig-nav-drawer-background, hsla(var(--ig-surface-500), var(--ig-surface-a)));
5
+ --border-color: var(--ig-nav-drawer-border-color, hsla(var(--ig-gray-900), 0.14));
6
+ --item-header-text-color: var(--ig-nav-drawer-item-header-text-color, hsla(var(--ig-gray-800), var(--ig-gray-a)));
7
+ --item-text-color: var(--ig-nav-drawer-item-text-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));
8
+ --item-icon-color: var(--ig-nav-drawer-item-icon-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));
9
+ --item-active-text-color: var(--ig-nav-drawer-item-active-text-color, hsla(var(--ig-primary-500), var(--ig-primary-a)));
10
+ --item-active-background: var(--ig-nav-drawer-item-active-background, hsla(var(--ig-primary-500), 0.12));
11
+ --item-hover-background: var(--ig-nav-drawer-item-hover-background, hsla(var(--ig-gray-200), 0.8));
12
+ --item-hover-text-color: var(--ig-nav-drawer-item-hover-text-color, hsla(var(--ig-gray-900), var(--ig-gray-a)));
13
+ --item-active-icon-color: var(--ig-nav-drawer-item-active-icon-color, hsla(var(--ig-primary-500), var(--ig-primary-a)));
14
+ --item-hover-icon-color: var(--ig-nav-drawer-item-hover-icon-color, hsla(var(--ig-gray-900), var(--ig-gray-a)));
15
+ --border-radius: var(--ig-nav-drawer-border-radius, clamp(0rem, calc(var(--ig-radius-factor, 0) * 2.25rem), 2.25rem));
16
+ --item-border-radius: var(--ig-nav-drawer-item-border-radius, clamp(0rem, calc(var(--ig-radius-factor, 0.1666666667) * 1.5rem), 1.5rem));
17
+ --background-color: var(--ig-nav-drawer-background-color, hsla(var(--ig-gray-500), 0.54));
18
+ }
19
+
20
+ [part~=base] {
21
+ border-radius: var(--item-border-radius);
22
+ color: var(--item-text-color);
23
+ }
24
+ [part~=base]:hover, [part~=base]:focus-within {
25
+ background: var(--item-hover-background);
26
+ color: var(--item-hover-text-color);
27
+ }
28
+ [part~=base]:hover ::slotted(igc-icon), [part~=base]:focus-within ::slotted(igc-icon) {
29
+ color: var(--item-hover-icon-color);
30
+ }
31
+ [part~=base] ::slotted(igc-icon) {
32
+ color: var(--item-icon-color);
33
+ }
34
+
35
+ [part=content] {
36
+ font-family: var(--ig-subtitle-2-font-family, var(--ig-font-family));
37
+ font-size: var(--ig-subtitle-2-font-size);
38
+ font-weight: var(--ig-subtitle-2-font-weight);
39
+ font-style: var(--ig-subtitle-2-font-style);
40
+ line-height: var(--ig-subtitle-2-line-height);
41
+ letter-spacing: var(--ig-subtitle-2-letter-spacing);
42
+ text-transform: var(--ig-subtitle-2-text-transform);
43
+ margin-top: var(--ig-subtitle-2-margin-top);
44
+ margin-bottom: var(--ig-subtitle-2-margin-bottom);
45
+ }
46
+
47
+ :host([active]) [part~=base] {
48
+ background: var(--item-active-background);
49
+ color: var(--item-active-text-color);
50
+ }
51
+ :host([active]) [part~=base] ::slotted(igc-icon) {
52
+ color: var(--item-active-icon-color);
53
+ }`;
54
+ //# sourceMappingURL=nav-drawer-item.material.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nav-drawer-item.material.css.js","sourceRoot":"","sources":["../../../../../../src/components/nav-drawer/themes/light/item/nav-drawer-item.material.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmDvB,CAAC","sourcesContent":["import { css } from 'lit';\n\nexport const styles = css`:host {\n --elevation: var(--ig-nav-drawer-elevation, var(--ig-elevation-16));\n --background: var(--ig-nav-drawer-background, hsla(var(--ig-surface-500), var(--ig-surface-a)));\n --border-color: var(--ig-nav-drawer-border-color, hsla(var(--ig-gray-900), 0.14));\n --item-header-text-color: var(--ig-nav-drawer-item-header-text-color, hsla(var(--ig-gray-800), var(--ig-gray-a)));\n --item-text-color: var(--ig-nav-drawer-item-text-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));\n --item-icon-color: var(--ig-nav-drawer-item-icon-color, hsla(var(--ig-gray-700), var(--ig-gray-a)));\n --item-active-text-color: var(--ig-nav-drawer-item-active-text-color, hsla(var(--ig-primary-500), var(--ig-primary-a)));\n --item-active-background: var(--ig-nav-drawer-item-active-background, hsla(var(--ig-primary-500), 0.12));\n --item-hover-background: var(--ig-nav-drawer-item-hover-background, hsla(var(--ig-gray-200), 0.8));\n --item-hover-text-color: var(--ig-nav-drawer-item-hover-text-color, hsla(var(--ig-gray-900), var(--ig-gray-a)));\n --item-active-icon-color: var(--ig-nav-drawer-item-active-icon-color, hsla(var(--ig-primary-500), var(--ig-primary-a)));\n --item-hover-icon-color: var(--ig-nav-drawer-item-hover-icon-color, hsla(var(--ig-gray-900), var(--ig-gray-a)));\n --border-radius: var(--ig-nav-drawer-border-radius, clamp(0rem, calc(var(--ig-radius-factor, 0) * 2.25rem), 2.25rem));\n --item-border-radius: var(--ig-nav-drawer-item-border-radius, clamp(0rem, calc(var(--ig-radius-factor, 0.1666666667) * 1.5rem), 1.5rem));\n --background-color: var(--ig-nav-drawer-background-color, hsla(var(--ig-gray-500), 0.54));\n}\n\n[part~=base] {\n border-radius: var(--item-border-radius);\n color: var(--item-text-color);\n}\n[part~=base]:hover, [part~=base]:focus-within {\n background: var(--item-hover-background);\n color: var(--item-hover-text-color);\n}\n[part~=base]:hover ::slotted(igc-icon), [part~=base]:focus-within ::slotted(igc-icon) {\n color: var(--item-hover-icon-color);\n}\n[part~=base] ::slotted(igc-icon) {\n color: var(--item-icon-color);\n}\n\n[part=content] {\n font-family: var(--ig-subtitle-2-font-family, var(--ig-font-family));\n font-size: var(--ig-subtitle-2-font-size);\n font-weight: var(--ig-subtitle-2-font-weight);\n font-style: var(--ig-subtitle-2-font-style);\n line-height: var(--ig-subtitle-2-line-height);\n letter-spacing: var(--ig-subtitle-2-letter-spacing);\n text-transform: var(--ig-subtitle-2-text-transform);\n margin-top: var(--ig-subtitle-2-margin-top);\n margin-bottom: var(--ig-subtitle-2-margin-bottom);\n}\n\n:host([active]) [part~=base] {\n background: var(--item-active-background);\n color: var(--item-active-text-color);\n}\n:host([active]) [part~=base] ::slotted(igc-icon) {\n color: var(--item-active-icon-color);\n}`;\n"]}