@nysds/components 1.10.0 → 1.10.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.
@@ -14,6 +14,7 @@ export declare class NysCheckbox extends LitElement {
14
14
  errorMessage: string;
15
15
  groupExist: boolean;
16
16
  tile: boolean;
17
+ invert: boolean;
17
18
  private static readonly VALID_SIZES;
18
19
  private _size;
19
20
  get size(): (typeof NysCheckbox.VALID_SIZES)[number];
@@ -10,6 +10,7 @@ export declare class NysCheckboxgroup extends LitElement {
10
10
  description: string;
11
11
  tile: boolean;
12
12
  _tooltip: string;
13
+ invert: boolean;
13
14
  form: string | null;
14
15
  private _slottedDescriptionText;
15
16
  private static readonly VALID_SIZES;
@@ -31,6 +32,7 @@ export declare class NysCheckboxgroup extends LitElement {
31
32
  private _manageRequire;
32
33
  private _updateCheckboxSize;
33
34
  private _updateCheckboxTile;
35
+ private _updateCheckboxInvert;
34
36
  private _updateCheckboxShowError;
35
37
  private _updateCheckboxForm;
36
38
  private _getSlotDescriptionForAria;
@@ -16,6 +16,7 @@ export declare class NysFileinput extends LitElement {
16
16
  errorMessage: string;
17
17
  dropzone: boolean;
18
18
  width: "lg" | "full";
19
+ invert: boolean;
19
20
  static styles: import("lit").CSSResult;
20
21
  private _selectedFiles;
21
22
  private _dragActive;
@@ -4,7 +4,7 @@ export declare class NysLabel extends LitElement {
4
4
  label: string;
5
5
  description: string;
6
6
  flag: string;
7
- tooltipInverted: boolean;
7
+ invert: boolean;
8
8
  get tooltip(): string;
9
9
  set tooltip(value: string);
10
10
  private _tooltip;
@@ -9,6 +9,7 @@ export declare class NysRadiobutton extends LitElement {
9
9
  id: string;
10
10
  name: string;
11
11
  value: string;
12
+ invert: boolean;
12
13
  form: string | null;
13
14
  private static readonly VALID_SIZES;
14
15
  private _size;
@@ -10,6 +10,7 @@ export declare class NysRadiogroup extends LitElement {
10
10
  description: string;
11
11
  tile: boolean;
12
12
  _tooltip: string;
13
+ invert: boolean;
13
14
  form: string | null;
14
15
  private selectedValue;
15
16
  private _slottedDescriptionText;
@@ -41,6 +42,7 @@ export declare class NysRadiogroup extends LitElement {
41
42
  private _initializeChildAttributes;
42
43
  private _updateRadioButtonsSize;
43
44
  private _updateRadioButtonsTile;
45
+ private _updateRadioButtonsInvert;
44
46
  private _updateRadioButtonsShowError;
45
47
  private _updateRadioButtonsForm;
46
48
  private _getSlotDescriptionForAria;
@@ -10,6 +10,7 @@ export declare class NysSelect extends LitElement {
10
10
  optional: boolean;
11
11
  _tooltip: string;
12
12
  form: string | null;
13
+ invert: boolean;
13
14
  showError: boolean;
14
15
  errorMessage: string;
15
16
  private static readonly VALID_WIDTHS;
@@ -11,6 +11,7 @@ export declare class NysTextarea extends LitElement {
11
11
  required: boolean;
12
12
  optional: boolean;
13
13
  _tooltip: string;
14
+ invert: boolean;
14
15
  form: string | null;
15
16
  maxlength: null;
16
17
  private static readonly VALID_WIDTHS;
@@ -23,6 +23,7 @@ export declare class NysTextinput extends LitElement {
23
23
  step: number | null;
24
24
  min: number | null;
25
25
  max: number | null;
26
+ invert: boolean;
26
27
  showError: boolean;
27
28
  errorMessage: string;
28
29
  private showPassword;
@@ -10,6 +10,7 @@ export declare class NysToggle extends LitElement {
10
10
  checked: boolean;
11
11
  disabled: boolean;
12
12
  noIcon: boolean;
13
+ invert: boolean;
13
14
  private static readonly VALID_SIZES;
14
15
  private _size;
15
16
  get size(): (typeof NysToggle.VALID_SIZES)[number];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nysds/components",
3
- "version": "1.10.0",
3
+ "version": "1.10.1",
4
4
  "description": "New York State's design system and code component library.",
5
5
  "type": "module",
6
6
  "workspaces": [
@@ -8,7 +8,7 @@
8
8
  ],
9
9
  "files": [
10
10
  "dist/",
11
- "!dist/nys-stepper/"
11
+ "!nys-stepper/"
12
12
  ],
13
13
  "main": "dist/nysds.js",
14
14
  "module": "dist/nysds.es.js",
@@ -31,8 +31,8 @@
31
31
  "lint": "eslint src/ packages/**/*.{ts,js}",
32
32
  "lint:fix": "eslint src/ packages/**/*.{ts,js} --fix",
33
33
  "lit-analyze": "lit-analyzer 'packages/**/*.ts'",
34
- "release:dry-run": "NODE_ENV=production npm run build:all && NODE_ENV=production npm run test && node src/scripts/publish-dry-run.js",
35
34
  "release": "NODE_ENV=production npm run build:all && npm run test && npm publish --workspaces --access public && npm publish --access public",
35
+ "release:dry-run": "NODE_ENV=production npm run build:all && NODE_ENV=production npm run test && node src/scripts/publish-dry-run.js",
36
36
  "release:alpha": "npm run build && npm run build:umd && npm publish --tag next",
37
37
  "test": "wtr --node-resolve",
38
38
  "test:build": "npm run build:all && wtr --node-resolve",
@@ -61,12 +61,12 @@
61
61
  "lit-analyzer": "^2.0.3"
62
62
  },
63
63
  "devDependencies": {
64
- "@chromatic-com/storybook": "^4.1.0",
64
+ "@chromatic-com/storybook": "^4.1.1",
65
65
  "@open-wc/testing": "^3.2.2",
66
- "@storybook/addon-a11y": "9.1.1",
67
- "@storybook/addon-docs": "9.1.1",
68
- "@storybook/addon-links": "9.1.1",
69
- "@storybook/web-components-vite": "9.1.1",
66
+ "@storybook/addon-a11y": "9.1.10",
67
+ "@storybook/addon-docs": "9.1.10",
68
+ "@storybook/addon-links": "9.1.10",
69
+ "@storybook/web-components-vite": "9.1.10",
70
70
  "@types/mocha": "^10.0.9",
71
71
  "@typescript-eslint/eslint-plugin": "^8.5.0",
72
72
  "@typescript-eslint/parser": "^8.5.0",
@@ -78,14 +78,14 @@
78
78
  "eslint": "^9.10.0",
79
79
  "eslint-plugin-lit": "^1.15.0",
80
80
  "eslint-plugin-prettier": "^5.2.1",
81
- "eslint-plugin-storybook": "9.1.1",
81
+ "eslint-plugin-storybook": "9.1.10",
82
82
  "i": "^0.3.7",
83
83
  "lit": "^3.2.1",
84
84
  "npm": "^10.9.0",
85
85
  "plop": "^4.0.2",
86
86
  "rollup-plugin-visualizer": "^5.14.0",
87
87
  "sinon": "^19.0.2",
88
- "storybook": "9.1.1",
88
+ "storybook": "9.1.10",
89
89
  "tslib": "^2.7.0",
90
90
  "typescript": "^5.7.2",
91
91
  "vite": "^6.3.6"
@@ -1,2 +0,0 @@
1
- export * from "./nys-stepper";
2
- export * from "./nys-step";
@@ -1,14 +0,0 @@
1
- import { LitElement } from "lit";
2
- export declare class NysStep extends LitElement {
3
- selected: boolean;
4
- current: boolean;
5
- label: string;
6
- href: string;
7
- isCompactExpanded: boolean;
8
- onClick?: (e: Event) => void;
9
- stepNumber: number;
10
- static styles: import("lit").CSSResult;
11
- private _handleActivate;
12
- private _handleKeydown;
13
- render(): import("lit-html").TemplateResult<1>;
14
- }
@@ -1,22 +0,0 @@
1
- import { LitElement } from "lit";
2
- import "./nys-step";
3
- export declare class NysStepper extends LitElement {
4
- id: string;
5
- name: string;
6
- label: string;
7
- counterText: string;
8
- isCompactExpanded: boolean;
9
- static styles: import("lit").CSSResult;
10
- private _stepsNumbered;
11
- constructor();
12
- connectedCallback(): void;
13
- disconnectedCallback(): void;
14
- private _validateSteps;
15
- private _validateButtonSlot;
16
- private _onStepClick;
17
- private _updateCounter;
18
- updated(): void;
19
- private _toggleCompact;
20
- private _handleCounterKeydown;
21
- render(): import("lit-html").TemplateResult<1>;
22
- }
@@ -1,2 +0,0 @@
1
- declare const _default: import("lit").CSSResult;
2
- export default _default;