@ncino/web-components 8.0.0-preview.29 → 8.0.0-preview.30

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.
@@ -1 +1 @@
1
- const r='.gator-chip{background-color:var(--ngc-chip-background-color, var(--color-background-primary));border-radius:var(--ngc-chip-border-radius, 3rem);font-family:var(--text-family-body, "Open Sans"),sans-serif;font-size:var(--ngc-chip-font-size, .9375rem);line-height:var(--ngc-chip-line-height);border:var(--ngc-chip-border, 1px solid var(--color-stroke-tertiary, #E5E5E5));color:var(--color-neutral-70);cursor:var(--ngc-chip-cursor, default);width:max-content;display:flex;flex-direction:row;align-items:center;padding:0 4px}.gator-chip.hide-border{border:1px solid transparent}.gator-chip:has(ngc-icon-button){padding-right:2px}.gator-chip:has(ngc-icon-button) ngc-icon-button{margin-left:-4px}.gator-chip:has(ngc-icon-button) ngc-icon{margin-left:2px}.chip-label{padding:4px}ngc-icon-button{height:24px}button:hover{background-color:var(--ngc-chip-hover-background-color, var(--color-neutral-20));cursor:var(--ngc-chip-cursor, pointer)}button:focus-visible{outline:none;box-shadow:var(--ngc-chip-focus-box-shadow, var(--shadow-x-offset-0, 0px) var(--shadow-y-offset-0, 0px) var(--shadow-blur-0, 0px) var(--shadow-spread-2, 2px) var(--color-focus-gap, #FFF), var(--shadow-x-offset-0, 0px) var(--shadow-y-offset-0, 0px) var(--shadow-blur-0, 0px) var(--shadow-spread-4, 4px) var(--color-focus-border, #11395B))}button:active{background-color:var(--ngc-chip-active-background-color)}.gator-chip_disabled{cursor:not-allowed!important;color:var(--button-color-default-text-disabled, #6D6D6D);outline:1px solid transparent!important;background:var(--color-surface-disabled, #E5E5E5);border:1px solid transparent!important}.gator-chip_disabled:hover{background:var(--color-surface-disabled, #E5E5E5)!important}.gator-chip__read-only{cursor:var(--ngc-chip-cursor, default !important)}.gator-chip__read-only:active{background-color:var(--ngc-chip-background-color, var(--color-background-primary))}.gator-chip_error:not(.gator-chip_disabled){background:var(--color-surface-error, #FAEBE7);border:1px solid var(--color-stroke-error-weak, #E99F88)}.gator-chip_error:not(.gator-chip_disabled):hover:not(.gator-chip__read-only){background:var(--color-stroke-error-weak, #E99F88)}.gator-chip_error:not(.gator-chip_disabled).hide-border{border:1px solid transparent}.gator-chip_warning:not(.gator-chip_disabled){background:var(--color-surface-warning, #FEF1E6);border:1px solid var(--color-stroke-warning, #F5B77F)}.gator-chip_warning:not(.gator-chip_disabled):hover:not(.gator-chip__read-only){background:var(--color-stroke-warning, #F5B77F)}.gator-chip_warning:not(.gator-chip_disabled).hide-border{border:1px solid transparent}.gator-chip_success:not(.gator-chip_disabled){background:var(--color-surface-success, #E9F7F0);border:1px solid var(--color-stroke-success, #90D4B4)}.gator-chip_success:not(.gator-chip_disabled):hover:not(.gator-chip__read-only){background:var(--color-stroke-success, #90D4B4)}.gator-chip_success:not(.gator-chip_disabled).hide-border{border:1px solid transparent}.gator-chip_info:not(.gator-chip_disabled){border:1px solid var(--color-surface-brand-secondary, #C3CDD6);background:var(--color-surface-brand, #F3F5F7)}.gator-chip_info:not(.gator-chip_disabled):hover:not(.gator-chip__read-only){background:var(--color-surface-brand-secondary, #C3CDD6)}.gator-chip_info:not(.gator-chip_disabled).hide-border{border:1px solid transparent}.gator-chip_small{font-size:var(--text-size-caption);line-height:var(--text-line-height-caption)}';export{r as default};
1
+ const r='.gator-chip{background-color:var(--ngc-chip-background-color, var(--color-background-primary));border-radius:var(--ngc-chip-border-radius, 3rem);font-family:var(--text-family-body, "Open Sans"),sans-serif;font-size:var(--ngc-chip-font-size, .9375rem);line-height:var(--ngc-chip-line-height);border:var(--ngc-chip-border, 1px solid var(--color-stroke-tertiary, #E5E5E5));color:var(--color-neutral-70);cursor:var(--ngc-chip-cursor, default);width:max-content;display:flex;flex-direction:row;align-items:center;padding:0 4px}.gator-chip.hide-border{border:1px solid transparent}.gator-chip:has(ngc-icon-button){padding-right:2px}.gator-chip:has(ngc-icon-button) ngc-icon-button{margin-left:-4px}.gator-chip:has(ngc-icon-button) ngc-icon{margin-left:2px}.chip-label{padding:4px}ngc-icon-button{height:24px}button:hover{background-color:var(--ngc-chip-hover-background-color, var(--color-neutral-20));cursor:var(--ngc-chip-cursor, pointer)}button:focus-visible{outline:none;box-shadow:var(--ngc-chip-focus-box-shadow, var(--shadow-x-offset-0, 0px) var(--shadow-y-offset-0, 0px) var(--shadow-blur-0, 0px) var(--shadow-spread-2, 2px) var(--color-focus-gap, #FFF), var(--shadow-x-offset-0, 0px) var(--shadow-y-offset-0, 0px) var(--shadow-blur-0, 0px) var(--shadow-spread-4, 4px) var(--color-focus-border, #11395B))}button:active{background-color:var(--ngc-chip-active-background-color)}.gator-chip_disabled{cursor:not-allowed!important;color:var(--button-color-default-text-disabled, #6D6D6D);outline:1px solid transparent!important;background:var(--color-surface-disabled, #E5E5E5);border:1px solid transparent!important}.gator-chip_disabled:hover{background:var(--color-surface-disabled, #E5E5E5)!important}.gator-chip__read-only{cursor:var(--ngc-chip-cursor, default !important)}.gator-chip__read-only:active{background-color:var(--ngc-chip-background-color, var(--color-background-primary))}.gator-chip_error:not(.gator-chip_disabled){background:var(--color-surface-error, #FAEBE7);border:1px solid var(--color-stroke-error-weak, #E99F88)}.gator-chip_error:not(.gator-chip_disabled):hover:not(.gator-chip__read-only){background:var(--color-stroke-error-weak, #E99F88)}.gator-chip_error:not(.gator-chip_disabled).hide-border{border:1px solid transparent}.gator-chip_warning:not(.gator-chip_disabled){background:var(--color-surface-warning, #FEF1E6);border:1px solid var(--color-stroke-warning, #F5B77F)}.gator-chip_warning:not(.gator-chip_disabled):hover:not(.gator-chip__read-only){background:var(--color-stroke-warning, #F5B77F)}.gator-chip_warning:not(.gator-chip_disabled).hide-border{border:1px solid transparent}.gator-chip_success:not(.gator-chip_disabled){background:var(--color-surface-success, #E9F7F0);border:1px solid var(--color-stroke-success, #90D4B4)}.gator-chip_success:not(.gator-chip_disabled):hover:not(.gator-chip__read-only){background:var(--color-stroke-success, #90D4B4)}.gator-chip_success:not(.gator-chip_disabled).hide-border{border:1px solid transparent}.gator-chip_info:not(.gator-chip_disabled){border:1px solid var(--color-surface-brand-secondary, #C3CDD6);background:var(--color-surface-brand, #F3F5F7)}.gator-chip_info:not(.gator-chip_disabled):hover:not(.gator-chip__read-only){background:var(--color-surface-brand-secondary, #C3CDD6)}.gator-chip_info:not(.gator-chip_disabled).hide-border{border:1px solid transparent}.gator-chip_ai:not(.gator-chip_disabled){background:radial-gradient(135.16% 99.24% at 113.24% 116.21%,var(--color-surface-warning-secondary, #F5B77F) 0%,rgba(245,183,127,0) 100%),radial-gradient(76.31% 76.31% at 50% 50%,var(--color-surface-purple-secondary, #E5CCFF) 0%,rgba(229,204,255,0) 100%),radial-gradient(122.16% 126.39% at 8.91% 12.38%,var(--color-surface-aqua-secondary, #A2DBF0) 0%,rgba(162,219,240,0) 100%),var(--color-surface-purple, #F6EEFF);border:1px solid var(--color-border-purple, #E5CCFF);background-origin:border-box;background-clip:padding-box}.gator-chip_ai:not(.gator-chip_disabled):hover:not(.gator-chip__read-only){background:var(--color-surface-purple-secondary, #E5CCFF);background-origin:border-box;background-clip:padding-box}.gator-chip_ai:not(.gator-chip_disabled).hide-border{border:1px solid transparent}.gator-chip_small{font-size:var(--text-size-caption);line-height:var(--text-line-height-caption)}';export{r as default};
@@ -1,5 +1,5 @@
1
1
  import { TestableLitElement } from '../../utils/components/testable-lit-element/testable-lit-element.ts';
2
- export type NJC_CHIP_TYPES = null | 'success' | 'warning' | 'error' | 'info';
2
+ export type NJC_CHIP_TYPES = null | 'success' | 'warning' | 'error' | 'info' | 'ai';
3
3
  export type NJC_CHIP_SIZES = null | 'small';
4
4
  export declare class NjcChip extends TestableLitElement {
5
5
  /**
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ncino/web-components",
3
3
  "author": "nCino",
4
- "version": "8.0.0-preview.29",
4
+ "version": "8.0.0-preview.30",
5
5
  "license": "(c) Copyright 2023 nCino, Inc., all rights reserved",
6
6
  "publishConfig": {
7
7
  "registry": "https://registry.npmjs.org/"
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "name": "@ncino/web-components",
4
- "version": "8.0.0-preview.28",
4
+ "version": "8.0.0-preview.29",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -138,7 +138,7 @@
138
138
  {
139
139
  "name": "type",
140
140
  "value": {
141
- "type": " | 'success' | 'warning' | 'error' | 'info'",
141
+ "type": " | 'success' | 'warning' | 'error' | 'info' | 'ai'",
142
142
  "default": "null"
143
143
  }
144
144
  },
@@ -183,7 +183,7 @@
183
183
  { "name": "readonly", "type": "boolean" },
184
184
  {
185
185
  "name": "type",
186
- "type": " | 'success' | 'warning' | 'error' | 'info'"
186
+ "type": " | 'success' | 'warning' | 'error' | 'info' | 'ai'"
187
187
  },
188
188
  { "name": "size", "type": " | 'small'" },
189
189
  { "name": "hideBorder", "type": "boolean" },
@@ -1862,7 +1862,7 @@
1862
1862
  {
1863
1863
  "name": "chip-type",
1864
1864
  "value": {
1865
- "type": " | 'success' | 'warning' | 'error' | 'info'",
1865
+ "type": " | 'success' | 'warning' | 'error' | 'info' | 'ai'",
1866
1866
  "default": "null"
1867
1867
  }
1868
1868
  },
@@ -1905,7 +1905,7 @@
1905
1905
  "properties": [
1906
1906
  {
1907
1907
  "name": "chipType",
1908
- "type": " | 'success' | 'warning' | 'error' | 'info'"
1908
+ "type": " | 'success' | 'warning' | 'error' | 'info' | 'ai'"
1909
1909
  },
1910
1910
  { "name": "cardClasses" },
1911
1911
  { "name": "cardLabelMarkup" },