@aquera/nile-elements 1.0.1-beta-1.7 → 1.0.1-beta-1.9

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.
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Webcomponent nile-elements following open-wc recommendations",
4
4
  "license": "MIT",
5
5
  "author": "nile-elements",
6
- "version": "1.0.1-beta-1.7",
6
+ "version": "1.0.1-beta-1.9",
7
7
  "main": "dist/src/index.js",
8
8
  "type": "module",
9
9
  "module": "dist/src/index.js",
@@ -67,10 +67,10 @@ export class NileEmptyState extends NileElement {
67
67
  ${!this.icon && !this.svgIconUrl ? nothing : html`
68
68
  <div part="icon-wrapper" class="empty-state__img__icon">
69
69
  ${this.svgIconUrl ? html`
70
- <nile-icon customSvgPath="${this.svgIconUrl}" size="${this.svgIconSize}" method="var(--nile-svg-method-fill, var(--ng-svg-method-stroke))" color="${ifDefined(this.svgIconColor)}" noFill></nile-icon>
70
+ <nile-icon customSvgPath="${this.svgIconUrl}" size="${this.svgIconSize}" color="${ifDefined(this.svgIconColor)}" noFill></nile-icon>
71
71
  <!-- <nile-icon customSvgPath="${this.svgIconUrl}" size="${this.svgIconSize}" color="${this.svgIconColor ? this.svgIconColor : '#ddd'}"></nile-icon> -->
72
72
  ` : html`
73
- <nile-icon name="${this.icon}" method="var(--nile-svg-method-fill, var(--ng-svg-method-stroke))" color="white" size="${this.size == 'sm' ? 24 : this.size == 'md' ? 24 : 28}"></nile-icon>
73
+ <nile-icon name="${this.icon}" color="white" size="${this.size == 'sm' ? 24 : this.size == 'md' ? 24 : 28}"></nile-icon>
74
74
  `}
75
75
  </div>`
76
76
  }
@@ -541,7 +541,8 @@ export const styles = css`
541
541
  }
542
542
 
543
543
  .input__password {
544
- letter-spacing: 2px;
544
+ font-family: var(--nile-font-family-disc, var(--ng-font-family-body));
545
+ letter-spacing: var(--nile-spacing-xxs, var(--ng-spacing-none));
545
546
  }
546
547
 
547
548
  .input__non-printable {
@@ -61,7 +61,7 @@ export class NileTabGroup extends NileElement {
61
61
  @query('.tab-group__nav') nav: HTMLElement;
62
62
  @query('.tab-group__indicator') indicator: HTMLElement;
63
63
 
64
- @state() hasScrollControls = true;
64
+ @property({ type: Boolean, reflect: true, attribute: true }) hasScrollControls = false;
65
65
 
66
66
  /** The placement of the tabs. */
67
67
  @property() placement: 'top' | 'bottom' | 'start' | 'end' = 'top';
@@ -3647,8 +3647,13 @@
3647
3647
  },
3648
3648
  {
3649
3649
  "name": "nile-tab-group",
3650
- "description": "Nile icon component.\n\nEvents:\n\n * `nile-tab-show` - Emitted when a tab is shown.\n\n * `nile-tab-hide` - Emitted when a tab is hidden.\n\nSlots:\n\n * ` ` {} - Used for grouping tab panels in the tab group. Must be `<nile-tab-panel>` elements.\n\n * `nav` {} - Used for grouping tabs in the tab group. Must be `<nile-tab>` elements.\n\nAttributes:\n\n * `placement` {`\"top\" | \"bottom\" | \"end\" | \"start\"`} - The placement of the tabs.\n\n * `value` {`string`} - The placement of the tabs.\n\n * `no-track` {`boolean`} - Track for showing Indicators and Background.\n\n * `activation` {`\"auto\" | \"manual\"`} - When set to auto, navigating tabs with the arrow keys will instantly show the corresponding tab panel. When set to\nmanual, the tab will receive focus but will not show until the user presses spacebar or enter.\n\n * `no-scroll-controls` {`boolean`} - Disables the scroll arrows that appear when tabs overflow.\n\n * `centered` {`boolean`} - Controls whether tabs are centered and have equal width\n\nProperties:\n\n * `styles` - \n\n * `activeTab` - \n\n * `mutationObserver` {`MutationObserver`} - \n\n * `resizeObserver` - \n\n * `tabs` {`NileTab[]`} - \n\n * `panels` {`NileTabPanel[]`} - \n\n * `tabGroup` {`HTMLElement`} - \n\n * `body` {`HTMLSlotElement`} - \n\n * `nav` {`HTMLElement`} - \n\n * `indicator` {`HTMLElement`} - \n\n * `hasScrollControls` {`boolean`} - \n\n * `placement` {`\"top\" | \"bottom\" | \"end\" | \"start\"`} - The placement of the tabs.\n\n * `activeTabProp` {`string`} - The placement of the tabs.\n\n * `noTrack` {`boolean`} - Track for showing Indicators and Background.\n\n * `activation` {`\"auto\" | \"manual\"`} - When set to auto, navigating tabs with the arrow keys will instantly show the corresponding tab panel. When set to\nmanual, the tab will receive focus but will not show until the user presses spacebar or enter.\n\n * `noScrollControls` {`boolean`} - Disables the scroll arrows that appear when tabs overflow.\n\n * `centered` {`boolean`} - Controls whether tabs are centered and have equal width\n\n * `activeTabName` {`string`} - \n\n * `BUBBLES` {`boolean`} - \n\n * `COMPOSED` {`boolean`} - \n\n * `CANCELABLE` {`boolean`} - ",
3650
+ "description": "Nile icon component.\n\nEvents:\n\n * `nile-tab-show` - Emitted when a tab is shown.\n\n * `nile-tab-hide` - Emitted when a tab is hidden.\n\nSlots:\n\n * ` ` {} - Used for grouping tab panels in the tab group. Must be `<nile-tab-panel>` elements.\n\n * `nav` {} - Used for grouping tabs in the tab group. Must be `<nile-tab>` elements.\n\nAttributes:\n\n * `hasScrollControls` {`boolean`} - \n\n * `placement` {`\"top\" | \"bottom\" | \"end\" | \"start\"`} - The placement of the tabs.\n\n * `value` {`string`} - The placement of the tabs.\n\n * `no-track` {`boolean`} - Track for showing Indicators and Background.\n\n * `activation` {`\"auto\" | \"manual\"`} - When set to auto, navigating tabs with the arrow keys will instantly show the corresponding tab panel. When set to\nmanual, the tab will receive focus but will not show until the user presses spacebar or enter.\n\n * `no-scroll-controls` {`boolean`} - Disables the scroll arrows that appear when tabs overflow.\n\n * `centered` {`boolean`} - Controls whether tabs are centered and have equal width\n\nProperties:\n\n * `styles` - \n\n * `activeTab` - \n\n * `mutationObserver` {`MutationObserver`} - \n\n * `resizeObserver` - \n\n * `tabs` {`NileTab[]`} - \n\n * `panels` {`NileTabPanel[]`} - \n\n * `tabGroup` {`HTMLElement`} - \n\n * `body` {`HTMLSlotElement`} - \n\n * `nav` {`HTMLElement`} - \n\n * `indicator` {`HTMLElement`} - \n\n * `hasScrollControls` {`boolean`} - \n\n * `placement` {`\"top\" | \"bottom\" | \"end\" | \"start\"`} - The placement of the tabs.\n\n * `activeTabProp` {`string`} - The placement of the tabs.\n\n * `noTrack` {`boolean`} - Track for showing Indicators and Background.\n\n * `activation` {`\"auto\" | \"manual\"`} - When set to auto, navigating tabs with the arrow keys will instantly show the corresponding tab panel. When set to\nmanual, the tab will receive focus but will not show until the user presses spacebar or enter.\n\n * `noScrollControls` {`boolean`} - Disables the scroll arrows that appear when tabs overflow.\n\n * `centered` {`boolean`} - Controls whether tabs are centered and have equal width\n\n * `activeTabName` {`string`} - \n\n * `BUBBLES` {`boolean`} - \n\n * `COMPOSED` {`boolean`} - \n\n * `CANCELABLE` {`boolean`} - ",
3651
3651
  "attributes": [
3652
+ {
3653
+ "name": "hasScrollControls",
3654
+ "description": "`hasScrollControls` {`boolean`} - \n\nProperty: hasScrollControls\n\nDefault: false",
3655
+ "valueSet": "v"
3656
+ },
3652
3657
  {
3653
3658
  "name": "placement",
3654
3659
  "description": "`placement` {`\"top\" | \"bottom\" | \"end\" | \"start\"`} - The placement of the tabs.\n\nProperty: placement\n\nDefault: top",