@ni/spright-components 6.19.2 → 6.20.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.
- package/dist/all-components-bundle.js +245 -219
- package/dist/all-components-bundle.js.map +1 -1
- package/dist/all-components-bundle.min.js +4823 -4813
- package/dist/all-components-bundle.min.js.map +1 -1
- package/dist/esm/chat/input/styles.js +2 -1
- package/dist/esm/chat/input/styles.js.map +1 -1
- package/dist/esm/icons/all-icons.d.ts +1 -0
- package/dist/esm/icons/all-icons.js +1 -0
- package/dist/esm/icons/all-icons.js.map +1 -1
- package/dist/esm/icons/work-item-square-list-cog/index.d.ts +13 -0
- package/dist/esm/icons/work-item-square-list-cog/index.js +23 -0
- package/dist/esm/icons/work-item-square-list-cog/index.js.map +1 -0
- package/dist/esm/icons/work-item-square-list-cog/styles.d.ts +1 -0
- package/dist/esm/icons/work-item-square-list-cog/styles.js +11 -0
- package/dist/esm/icons/work-item-square-list-cog/styles.js.map +1 -0
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../src/chat/input/styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAC;AACvC,OAAO,EACH,0BAA0B,EAC1B,QAAQ,EACR,aAAa,EACb,WAAW,EACX,qBAAqB,EACrB,iBAAiB,EACjB,mBAAmB,EACnB,aAAa,EACb,gBAAgB,EAChB,gBAAgB,EAChB,UAAU,EACV,SAAS,EACZ,MAAM,6DAA6D,CAAC;AACrE,OAAO,EAAE,MAAM,IAAI,WAAW,EAAE,MAAM,sDAAsD,CAAC;AAC7F,OAAO,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAC;AAExD,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;MACnB,OAAO,CAAC,MAAM,CAAC;MACf,WAAW;;;;;;mDAMkC,WAAW;;;;;;;;;;4BAUlC,0BAA0B;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;;;;eAUvB,aAAa;;;;;;;kBAOV,aAAa;kBACb,iBAAiB;;;;;;;;;;eAUpB,aAAa;mBACT,aAAa;2BACL,iBAAiB,UAAU,aAAa;;;;;kBAKjD,iBAAiB;;;;;;;;;;;;;;;;;;;sBAmBb,aAAa;kBACjB,aAAa;;;;kBAIb,iBAAiB;;CAElC,CAAC","sourcesContent":["import { css } from '@ni/fast-element';\nimport {\n applicationBackgroundColor,\n bodyFont,\n bodyFontColor,\n borderWidth,\n controlLabelFontColor,\n controlSlimHeight,\n elevation2BoxShadow,\n mediumPadding,\n popupBorderColor,\n borderHoverColor,\n smallDelay,\n failColor\n} from '@ni/nimble-components/dist/esm/theme-provider/design-tokens';\nimport { styles as errorStyles } from '@ni/nimble-components/dist/esm/patterns/error/styles';\nimport { display } from '../../utilities/style/display';\n\nexport const styles = css`\n ${display('flex')}\n ${errorStyles}\n\n :host {\n width: 100%;\n height: auto;\n outline: none;\n --ni-private-hover-indicator-width: calc(${borderWidth} + 1px);\n }\n\n .container {\n display: flex;\n flex-direction: column;\n position: relative;\n width: 100%;\n height: 100%;\n\n background-color: ${applicationBackgroundColor};\n border: ${borderWidth} solid ${popupBorderColor};\n box-shadow: ${elevation2BoxShadow};\n }\n\n .container::after {\n content: '';\n position: absolute;\n bottom: calc(-1 * ${borderWidth});\n width: 0px;\n height: 0px;\n align-self: center;\n border-bottom: ${borderHoverColor}\n var(--ni-private-hover-indicator-width) solid;\n transition: width ${smallDelay} ease-in;\n }\n\n :host(:hover) .container::after {\n width: 100%;\n transition: width ${smallDelay} ease-in;\n }\n\n :host(:focus-within) .container {\n border-bottom-color: ${borderHoverColor};\n }\n\n :host([error-visible]) .container::after {\n border-bottom-color: ${failColor};\n }\n \n :host([error-visible]) .container {\n border-bottom-color: ${failColor};\n }\n\n :host([error-visible]:hover) .container::after {\n border-bottom-color: ${failColor};\n }\n\n :host([error-visible]:focus-within) .container {\n border-bottom-color: ${failColor};\n }\n\n @media (prefers-reduced-motion) {\n .container::after {\n transition-duration: 0s;\n }\n }\n\n textarea {\n font: ${bodyFont};\n color: ${bodyFontColor};\n background-color: transparent;\n\n width: 100%;\n resize: none;\n height: auto;\n max-height: calc(6lh + 2 * ${mediumPadding});\n field-sizing: content;\n\n border-width: 0px;\n outline: none;\n padding: ${mediumPadding};\n }\n\n textarea::placeholder {\n color: ${controlLabelFontColor};\n }\n\n :host([error-visible]) .error-icon {\n display: none;\n }\n\n :host([error-visible]) .error-icon.scrollbar-width-calculated {\n display: inline-flex;\n position: absolute;\n top: ${mediumPadding};\n right: var(--ni-private-scrollbar-width);\n }\n\n .action-button {\n align-self: flex-end;\n width: 48px;\n margin: ${mediumPadding};\n height: ${controlSlimHeight};\n }\n\n .attachments {\n display: none;\n }\n\n .attachments.has-content {\n display: flex;\n flex-wrap: wrap;\n gap: ${mediumPadding};\n padding: ${mediumPadding};\n max-height: calc(${controlSlimHeight} * 3 + ${mediumPadding} * 4 );\n overflow-y: auto;\n }\n\n .attachments ::slotted(*) {\n height: ${controlSlimHeight};\n }\n\n .footer {\n display: flex;\n flex-direction: row;\n align-items: flex-end;\n justify-content: flex-end;\n }\n\n .footer-actions {\n display: none;\n flex: 1;\n }\n\n .footer-actions.has-content {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n column-gap: ${mediumPadding};\n margin: ${mediumPadding};\n }\n\n .footer-actions ::slotted(*) {\n height: ${controlSlimHeight};\n }\n`;\n"]}
|
|
@@ -10,5 +10,6 @@ export { IconWorkItemCalendarWeek } from './work-item-calendar-week';
|
|
|
10
10
|
export { IconWorkItemCalipers } from './work-item-calipers';
|
|
11
11
|
export { IconWorkItemForklift } from './work-item-forklift';
|
|
12
12
|
export { IconWorkItemRectangleCheckLines } from './work-item-rectangle-check-lines';
|
|
13
|
+
export { IconWorkItemSquareListCog } from './work-item-square-list-cog';
|
|
13
14
|
export { IconWorkItemUserHelmetSafety } from './work-item-user-helmet-safety';
|
|
14
15
|
export { IconWorkItemWrenchHammer } from './work-item-wrench-hammer';
|
|
@@ -10,6 +10,7 @@ export { IconWorkItemCalendarWeek } from './work-item-calendar-week';
|
|
|
10
10
|
export { IconWorkItemCalipers } from './work-item-calipers';
|
|
11
11
|
export { IconWorkItemForklift } from './work-item-forklift';
|
|
12
12
|
export { IconWorkItemRectangleCheckLines } from './work-item-rectangle-check-lines';
|
|
13
|
+
export { IconWorkItemSquareListCog } from './work-item-square-list-cog';
|
|
13
14
|
export { IconWorkItemUserHelmetSafety } from './work-item-user-helmet-safety';
|
|
14
15
|
export { IconWorkItemWrenchHammer } from './work-item-wrench-hammer';
|
|
15
16
|
//# sourceMappingURL=all-icons.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"all-icons.js","sourceRoot":"","sources":["../../../src/icons/all-icons.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AACrE,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EAAE,8BAA8B,EAAE,MAAM,gCAAgC,CAAC;AAChF,OAAO,EAAE,yBAAyB,EAAE,MAAM,2BAA2B,CAAC;AACtE,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AACrE,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAE,+BAA+B,EAAE,MAAM,mCAAmC,CAAC;AACpF,OAAO,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAC9E,OAAO,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC","sourcesContent":["export { IconBreakpointConditional } from './breakpoint-conditional';\nexport { IconBreakpointDisabled } from './breakpoint-disabled';\nexport { IconBreakpointEnabled } from './breakpoint-enabled';\nexport { IconBreakpointExecutionPointer } from './breakpoint-execution-pointer';\nexport { IconBreakpointHitDisabled } from './breakpoint-hit-disabled';\nexport { IconBreakpointHit } from './breakpoint-hit';\nexport { IconBreakpointHover } from './breakpoint-hover';\nexport { IconNigelChat } from './nigel-chat';\nexport { IconWorkItemCalendarWeek } from './work-item-calendar-week';\nexport { IconWorkItemCalipers } from './work-item-calipers';\nexport { IconWorkItemForklift } from './work-item-forklift';\nexport { IconWorkItemRectangleCheckLines } from './work-item-rectangle-check-lines';\nexport { IconWorkItemUserHelmetSafety } from './work-item-user-helmet-safety';\nexport { IconWorkItemWrenchHammer } from './work-item-wrench-hammer';\n"]}
|
|
1
|
+
{"version":3,"file":"all-icons.js","sourceRoot":"","sources":["../../../src/icons/all-icons.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AACrE,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EAAE,8BAA8B,EAAE,MAAM,gCAAgC,CAAC;AAChF,OAAO,EAAE,yBAAyB,EAAE,MAAM,2BAA2B,CAAC;AACtE,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AACrE,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAE,+BAA+B,EAAE,MAAM,mCAAmC,CAAC;AACpF,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AACxE,OAAO,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAC9E,OAAO,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC","sourcesContent":["export { IconBreakpointConditional } from './breakpoint-conditional';\nexport { IconBreakpointDisabled } from './breakpoint-disabled';\nexport { IconBreakpointEnabled } from './breakpoint-enabled';\nexport { IconBreakpointExecutionPointer } from './breakpoint-execution-pointer';\nexport { IconBreakpointHitDisabled } from './breakpoint-hit-disabled';\nexport { IconBreakpointHit } from './breakpoint-hit';\nexport { IconBreakpointHover } from './breakpoint-hover';\nexport { IconNigelChat } from './nigel-chat';\nexport { IconWorkItemCalendarWeek } from './work-item-calendar-week';\nexport { IconWorkItemCalipers } from './work-item-calipers';\nexport { IconWorkItemForklift } from './work-item-forklift';\nexport { IconWorkItemRectangleCheckLines } from './work-item-rectangle-check-lines';\nexport { IconWorkItemSquareListCog } from './work-item-square-list-cog';\nexport { IconWorkItemUserHelmetSafety } from './work-item-user-helmet-safety';\nexport { IconWorkItemWrenchHammer } from './work-item-wrench-hammer';\n"]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { IconSvg } from '@ni/nimble-components/dist/esm/icon-svg';
|
|
2
|
+
declare global {
|
|
3
|
+
interface HTMLElementTagNameMap {
|
|
4
|
+
'spright-icon-work-item-square-list-cog': IconWorkItemSquareListCog;
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Spright square list cog icon for work order items
|
|
9
|
+
*/
|
|
10
|
+
export declare class IconWorkItemSquareListCog extends IconSvg {
|
|
11
|
+
constructor();
|
|
12
|
+
}
|
|
13
|
+
export declare const iconWorkItemSquareListCogTag = "spright-icon-work-item-square-list-cog";
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { squareListCog16X16 } from '@ni/nimble-tokens/dist/icons/js';
|
|
2
|
+
import { IconSvg } from '@ni/nimble-components/dist/esm/icon-svg';
|
|
3
|
+
import { template } from '@ni/nimble-components/dist/esm/icon-svg/template';
|
|
4
|
+
import { DesignSystem } from '@ni/fast-foundation';
|
|
5
|
+
import { styles } from './styles';
|
|
6
|
+
/**
|
|
7
|
+
* Spright square list cog icon for work order items
|
|
8
|
+
*/
|
|
9
|
+
export class IconWorkItemSquareListCog extends IconSvg {
|
|
10
|
+
constructor() {
|
|
11
|
+
super(squareListCog16X16);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
const sprightIconWorkItemSquareListCog = IconWorkItemSquareListCog.compose({
|
|
15
|
+
baseName: 'icon-work-item-square-list-cog',
|
|
16
|
+
template,
|
|
17
|
+
styles
|
|
18
|
+
});
|
|
19
|
+
DesignSystem.getOrCreate()
|
|
20
|
+
.withPrefix('spright')
|
|
21
|
+
.register(sprightIconWorkItemSquareListCog());
|
|
22
|
+
export const iconWorkItemSquareListCogTag = 'spright-icon-work-item-square-list-cog';
|
|
23
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/icons/work-item-square-list-cog/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EAAE,OAAO,EAAE,MAAM,yCAAyC,CAAC;AAClE,OAAO,EAAE,QAAQ,EAAE,MAAM,kDAAkD,CAAC;AAC5E,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAQlC;;GAEG;AACH,MAAM,OAAO,yBAA0B,SAAQ,OAAO;IAClD;QACI,KAAK,CAAC,kBAAkB,CAAC,CAAC;IAC9B,CAAC;CACJ;AAED,MAAM,gCAAgC,GAAG,yBAAyB,CAAC,OAAO,CAAC;IACvE,QAAQ,EAAE,gCAAgC;IAC1C,QAAQ;IACR,MAAM;CACT,CAAC,CAAC;AAEH,YAAY,CAAC,WAAW,EAAE;KACrB,UAAU,CAAC,SAAS,CAAC;KACrB,QAAQ,CAAC,gCAAgC,EAAE,CAAC,CAAC;AAElD,MAAM,CAAC,MAAM,4BAA4B,GAAG,wCAAwC,CAAC","sourcesContent":["import { squareListCog16X16 } from '@ni/nimble-tokens/dist/icons/js';\nimport { IconSvg } from '@ni/nimble-components/dist/esm/icon-svg';\nimport { template } from '@ni/nimble-components/dist/esm/icon-svg/template';\nimport { DesignSystem } from '@ni/fast-foundation';\nimport { styles } from './styles';\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'spright-icon-work-item-square-list-cog': IconWorkItemSquareListCog;\n }\n}\n\n/**\n * Spright square list cog icon for work order items\n */\nexport class IconWorkItemSquareListCog extends IconSvg {\n public constructor() {\n super(squareListCog16X16);\n }\n}\n\nconst sprightIconWorkItemSquareListCog = IconWorkItemSquareListCog.compose({\n baseName: 'icon-work-item-square-list-cog',\n template,\n styles\n});\n\nDesignSystem.getOrCreate()\n .withPrefix('spright')\n .register(sprightIconWorkItemSquareListCog());\n\nexport const iconWorkItemSquareListCogTag = 'spright-icon-work-item-square-list-cog';\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const styles: import("@ni/fast-element").ElementStyles;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { css } from '@ni/fast-element';
|
|
2
|
+
import { calendarEventBorderWorkOrderColor } from '@ni/nimble-components/dist/esm/theme-provider/design-tokens';
|
|
3
|
+
import { styles as iconSvgStyles } from '@ni/nimble-components/dist/esm/icon-svg/styles';
|
|
4
|
+
export const styles = css `
|
|
5
|
+
${iconSvgStyles}
|
|
6
|
+
|
|
7
|
+
.icon svg {
|
|
8
|
+
fill: ${calendarEventBorderWorkOrderColor};
|
|
9
|
+
}
|
|
10
|
+
`;
|
|
11
|
+
//# sourceMappingURL=styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../src/icons/work-item-square-list-cog/styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAC;AACvC,OAAO,EAAE,iCAAiC,EAAE,MAAM,6DAA6D,CAAC;AAChH,OAAO,EAAE,MAAM,IAAI,aAAa,EAAE,MAAM,gDAAgD,CAAC;AAEzF,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;MACnB,aAAa;;;gBAGH,iCAAiC;;CAEhD,CAAC","sourcesContent":["import { css } from '@ni/fast-element';\nimport { calendarEventBorderWorkOrderColor } from '@ni/nimble-components/dist/esm/theme-provider/design-tokens';\nimport { styles as iconSvgStyles } from '@ni/nimble-components/dist/esm/icon-svg/styles';\n\nexport const styles = css`\n ${iconSvgStyles}\n\n .icon svg {\n fill: ${calendarEventBorderWorkOrderColor};\n }\n`;\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ni/spright-components",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.20.1",
|
|
4
4
|
"description": "NI Spright Components",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "npm run build:components && npm run build:cem",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"@rollup/plugin-replace": "^6.0.0",
|
|
58
58
|
"@rollup/plugin-terser": "^1.0.0",
|
|
59
59
|
"@types/jasmine": "^5.1.4",
|
|
60
|
-
"concurrently": "^
|
|
60
|
+
"concurrently": "^10.0.0",
|
|
61
61
|
"jasmine-core": "^5.1.2",
|
|
62
62
|
"karma": "^6.3.0",
|
|
63
63
|
"karma-chrome-launcher": "^3.1.0",
|